Commit 9fed6f4d authored by Esteban Blanc's avatar Esteban Blanc

Start Qt5 ProviewR build

parent 03e8a6f7
This diff is collapsed.
......@@ -9,16 +9,31 @@ extends =
parts =
qt4-qmake
[qt5-qmake-source]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
repository = https://github.com/qt/qt5.git
#revision = aebccd288510a85a2de6c12cbc5e5d9980f3df75
ignore-cloning-submodules = true
[qt5-qmake]
# XXX work on all systems needs check
recipe = slapos.recipe.cmmi
shared = true
path = ${qt5-qmake-source:location}
location = @@LOCATION@@
url = http://download.qt.io/official_releases/qt/5.13/5.13.1/submodules/qtbase-everywhere-src-5.13.1.tar.xz
md5sum = 0a1761145531b74fff5b4d9a80c7b1c2
#url = http://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtbase-everywhere-src-5.15.2.tar.xz
#md5sum = 0eb522ff6c2194f9690cbdcd5b33e803
#url = http://download.qt.io/official_releases/qt/5.13/5.13.1/submodules/qtbase-everywhere-src-5.13.1.tar.xz
#md5sum = 0a1761145531b74fff5b4d9a80c7b1c2
#url = http://download.qt.io/official_releases/qt/5.6/5.6.2/submodules/qtbase-opensource-src-5.6.2.tar.gz
#md5sum = 7aa5841b50c411e23e31e8a6cc1c6981
pre-configure =
${git:location}/bin/git checkout 5.15.1
${git:location}/bin/git submodule update --init
sed 's,QT_SKIP_MODULES =,QT_SKIP_MODULES = qtactiveqt qtdeclarative qtlocation qtpurchasing qtscxml qttools qtandroidextras qtdoc qtlottie qtqa qtsensors qttranslations qtwebview qtdocgallery qtmacextras qtquickcontrols qtserialbus qtvirtualkeyboard qtwinextras qtcanvas3d qtfeedback qtquickcontrols2 qtserialport qtwayland qtx11extras qtcharts qtgamepad qtnetworkauth qtremoteobjects qtspeech qtwebchannel qtxmlpatterns qtconnectivity qtgraphicaleffects qtpim qtrepotools qtsvg qtwebengine qt3d qtdatavis3d qtimageformats qtscript qtsystems qtwebglplugin,g' -i qt.pro
configure-command = ./configure
configure-options =
--prefix=${:location}
......@@ -32,21 +47,26 @@ configure-options =
-no-opengl
-nomake examples
-no-dbus
-nomake tests
# -qt-xkbcommon-x11
# -qt-xcb
# -no-pulseaudio
# -no-gtkstyle
-no-pch
-skip wayland
environment =
PATH=${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig
CPPFLAGS=-I${libX11:location}/include -I${xproto:location}/include -I${libXext:location}/include -I${zlib:location}/include -I${pcre:location}/include -I${openssl:location}/include
LDFLAGS=-L${libX11:location}/lib -Wl,-rpath=${libX11:location}/lib -L${xproto:location}/lib -Wl,-rpath=${xproto:location}/lib -L${libXext:location}/lib -Wl,-rpath=${libXext:location}/lib -L${libxcb:location}/lib -Wl,-rpath=${libxcb:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath=${pcre:location}/lib -L${openssl:location}/lib
#make-binary = true
make-binary= make -j4
make-binary= make -j8
#make-targets = install
# module-qttools
post-install =
# mkdir ${:location}/include/all_in_one
# find ${:location}/include -name "*.h" > includes.txt
# cat includes.txt | xargs cp -n -t ${:location}/include/all_in_one
# cd ${:location}/lib/pkgconfig/
# ln -s ./Qt5Core.pc ./QtCore.pc
# ln -s ./Qt5GUI.pc ./QtGUI.pc
......@@ -57,9 +77,10 @@ post-install =
[qt5-tools]
recipe = slapos.recipe.cmmi
#url = http://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qttools-everywhere-src-5.15.2.tar.xz
url = http://download.qt.io/official_releases/qt/5.13/5.13.1/submodules/qttools-everywhere-src-5.13.1.tar.xz
#url = http://download.qt.io/archive/qt/5.6/5.6.2/submodules/qttools-opensource-src-5.6.2.tar.xz
md5sum = c57db5b2c95aa0ccf5637d9807a2f914
#url = http://download.qt.io/archive/qt/5.6/5.6.2/submodules/qttools-opensource-src-5.6.2.tar.xz
#md5sum = c877fc8f47089d0e5f859090a623774d
configure-command =
${qt5-qmake:location}/bin/qmake
......
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