Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

AppImage: add frei0r build

parent 76cdf08d
ExternalProject_Add(
ext_frei0r
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
GIT_REPOSITORY https://github.com/dyne/frei0r.git
CMAKE_ARGS ${CMAKE_GLOBAL_PROFILE} -DWITHOUT_OPENCV:BOOL=ON
DEPENDS ext_ffmpeg
)
# qtquickcontrols and qtwebchannel are required by qtwebengine
# "WebRTC" is required by "Pepper Plugins" is required by "Printing and PDF"
# don't use -I and -L switches as they will cause explicit link to
# OpenSSL instead of BoringSSL in QWebEngine
# For some reason, with our configuration, building Qt fails with a missing libqtharfbuzz error
# So we compile a first pass without qtimageformats and qtgraphicaleffects, then a second pass
# with all our modules. This is highly inefficient but no time to debug the Qt issue...
ExternalProject_Add(
ext_qt
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
......@@ -14,10 +13,20 @@ ExternalProject_Add(
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ext_xslt ext_mysql ext_sqlite ext_postgresql ext_pcre2
)
ExternalProject_Add(
ext_qt2
DOWNLOAD_DIR ${EXT_DOWNLOAD_DIR}
URL https://download.qt.io/official_releases/qt/5.11/5.11.2/single/qt-everywhere-src-5.11.2.tar.xz
URL_MD5 152a8ade9c11fe33ff5bc95310a1bb64
PATCH_COMMAND ${PATCH_COMMAND} -p1 -i ${CMAKE_CURRENT_SOURCE_DIR}/qsql_mysql.diff
CONFIGURE_COMMAND <SOURCE_DIR>/configure -prefix ${EXT_INSTALL_DIR} -opensource -confirm-license -verbose -nomake examples -nomake tests -nomake tools ICU_LIBDIR="${EXT_INSTALL_DIR}/lib" ICU_INCDIR="${EXT_INSTALL_DIR}/include" OPENSSL_LIBDIR="${EXT_INSTALL_DIR}/openssl/lib" OPENSSL_INCDIR="${EXT_INSTALL_DIR}/openssl/include" -openssl-linked -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtenginio -skip qtlocation -skip qtwayland -skip qtandroidextras -skip qtserialport -skip qtdatavis3d -skip qtvirtualkeyboard -skip qtspeech -skip qtsensors -skip qtgamepad -skip qtscxml -skip qtremoteobjects -skip qtxmlpatterns -skip qtcharts -skip qtdatavis3d -skip qtgamepad -skip qtpurchasing -skip qtscxml -skip qtserialbus -skip qtspeech -skip qtvirtualkeyboard -skip qtdoc -skip qtmacextras -skip qtwinextras -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtmultimedia -skip qtnetworkauth -system-webengine-icu
BUILD_COMMAND $(MAKE)
INSTALL_COMMAND $(MAKE) install
DEPENDS ext_xslt ext_mysql ext_sqlite ext_postgresql ext_pcre2
DEPENDS ext_qt
)
......@@ -83,7 +83,7 @@ cmake --build . --target ext_png
# cmake --build . --target ext_jpeg #this causes build failures in Qt 5.10
cmake --build . --target ext_qt
cmake --build . --target ext_qt2
cmake --build . --target ext_boost
cmake --build . --target ext_gpgme
cmake --build . --target ext_frameworks
......@@ -119,6 +119,7 @@ cmake --build . --target ext_harfbuzz
cmake --build . --target ext_pango
cmake --build . --target ext_gdkpixbuf
cmake --build . --target ext_gtk+
cmake --build . --target ext_frei0r
cmake --build . --target ext_mlt
cmake --build . --target ext_kbookmarks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment