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

Start Qt5 ProviewR build

parent 03e8a6f7
...@@ -4,7 +4,7 @@ extends = ...@@ -4,7 +4,7 @@ extends =
../../component/flex/buildout.cfg ../../component/flex/buildout.cfg
../../component/bison/buildout.cfg ../../component/bison/buildout.cfg
../../component/qt/buildout.cfg ../../component/qt/buildout.cfg
../../component/gtk-2/buildout.cfg # ../../component/gtk-2/buildout.cfg
../../component/alsa/buildout.cfg ../../component/alsa/buildout.cfg
../../component/java/buildout.cfg ../../component/java/buildout.cfg
../../component/java-jdk/buildout.cfg ../../component/java-jdk/buildout.cfg
...@@ -73,53 +73,53 @@ make-binary = cd build && make ...@@ -73,53 +73,53 @@ make-binary = cd build && make
environment = environment =
PATH=${qt5-qmake:location}/bin:${qt5-tools:location}/bin:%(PATH)s PATH=${qt5-qmake:location}/bin:${qt5-tools:location}/bin:%(PATH)s
[phonon] #[phonon]
recipe = slapos.recipe.cmmi #recipe = slapos.recipe.cmmi
url = http://download.kde.org/stable/phonon/4.11.1/phonon-4.11.1.tar.xz #url = http://download.kde.org/stable/phonon/4.11.1/phonon-4.11.1.tar.xz
md5sum = d3df5ba646e4b3f11623d998caa40e74 #md5sum = d3df5ba646e4b3f11623d998caa40e74
location = ${buildout:parts-directory}/${:_buildout_section_name_} #location = ${buildout:parts-directory}/${:_buildout_section_name_}
configure-command = #configure-command =
mkdir build && cd build && \ # mkdir build && cd build && \
${cmake:location}/bin/cmake \ # ${cmake:location}/bin/cmake \
-DCMAKE_INSTALL_PREFIX=${:location} \ # -DCMAKE_INSTALL_PREFIX=${:location} \
-DCMAKE_BUILD_TYPE=Release \ # -DCMAKE_BUILD_TYPE=Release \
-DECM_DIR=${extra-cmake-modules:location}/share/ECM/cmake \ # -DECM_DIR=${extra-cmake-modules:location}/share/ECM/cmake \
-DQt5LinguistTools_DIR=${qt5-qmake:location}/lib/cmake/Qt5LinguistTools \ # -DQt5LinguistTools_DIR=${qt5-qmake:location}/lib/cmake/Qt5LinguistTools \
-DQt5Core_DIR=${qt5-qmake:location}/lib/cmake/Qt5Core \ # -DQt5Core_DIR=${qt5-qmake:location}/lib/cmake/Qt5Core \
-DQt5Gui_DIR=${qt5-qmake:location}/lib/cmake/Qt5Gui \ # -DQt5Gui_DIR=${qt5-qmake:location}/lib/cmake/Qt5Gui \
-DQt5Widgets_DIR=${qt5-qmake:location}/lib/cmake/Qt5Widgets \ # -DQt5Widgets_DIR=${qt5-qmake:location}/lib/cmake/Qt5Widgets \
-DQt5Designer_DIR=${qt5-qmake:location}/lib/cmake/Qt5Designer \ # -DQt5Designer_DIR=${qt5-qmake:location}/lib/cmake/Qt5Designer \
-DGLIB2_LIBRARIES=${glib:location}/lib \ # -DGLIB2_LIBRARIES=${glib:location}/lib \
-DGLIB2_MAIN_INCLUDE_DIR=${glib:location}/lib/glib-2.0/include \ # -DGLIB2_MAIN_INCLUDE_DIR=${glib:location}/lib/glib-2.0/include \
.. # ..
make-binary = cd build && make #make-binary = cd build && make
environment = #environment =
PATH=${pkgconfig:location}/bin:%(PATH)s # PATH=${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${qt5-qmake:location}/lib/pkgconfig # PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${qt5-qmake:location}/lib/pkgconfig
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include # CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include
LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib # LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib
[phonon-qt4] #[phonon-qt5]
<= phonon #<= phonon
url = https://github.com/KDE/phonon/archive/4.10.tar.gz #url = https://github.com/KDE/phonon/archive/4.10.tar.gz
md5sum = 1c6f5ad1ec3b2943011364acac8e1847 #md5sum = 1c6f5ad1ec3b2943011364acac8e1847
configure-command = #configure-command =
mkdir build && cd build && \ # mkdir build && cd build && \
${cmake:location}/bin/cmake \ # ${cmake:location}/bin/cmake \
-DCMAKE_INSTALL_PREFIX=${:location} \ # -DCMAKE_INSTALL_PREFIX=${:location} \
-DCMAKE_BUILD_TYPE=Release \ # -DCMAKE_BUILD_TYPE=Release \
-DPHONON_BUILD_PHONON4QT5=FALSE \ # -DPHONON_BUILD_PHONON4QT5=FALSE \
-DGLIB2_LIBRARIES=${glib:location}/lib \ # -DGLIB2_LIBRARIES=${glib:location}/lib \
-DGLIB2_MAIN_INCLUDE_DIR=${glib:location}/lib/glib-2.0/include \ # -DGLIB2_MAIN_INCLUDE_DIR=${glib:location}/lib/glib-2.0/include \
-DCMAKE_INCLUDE_PATH=-I${qt4-qmake:location}/include \ # -DCMAKE_INCLUDE_PATH=-I${qt5-qmake:location}/include \
-DCMAKE_CXX_FLAGS=-I${qt4-qmake:location}/include \ # -DCMAKE_CXX_FLAGS=-I${qt5-qmake:location}/include \
.. # ..
make-binary = cd build && make #make-binary = cd build && make
environment = #environment =
PATH=${qt4-qmake:location}/bin:${pkgconfig:location}/bin:%(PATH)s # PATH=${qt5-qmake:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${qt4-qmake:location}/lib/pkgconfig # PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${qt5-qmake:location}/lib/pkgconfig
CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include -I${qt4-qmake:location}/include # CPPFLAGS=-I${glib:location}/include/glib-2.0 -I${glib:location}/lib/glib-2.0/include -I${qt5-qmake:location}/include
LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${qt4-qmake:location}/lib # LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${qt5-qmake:location}/lib
[get-pip] [get-pip]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
...@@ -283,16 +283,20 @@ environment = ...@@ -283,16 +283,20 @@ environment =
[pwr] [pwr]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
url = https://lab.nexedi.com/esteban.blanc/proview/-/archive/slapos-adapt/proview-slapos-adapt.tar.gz #url = https://lab.nexedi.com/esteban.blanc/proview/-/archive/9781958a8387bbd3f22cfd5a499759fa0af26d72/proview-9781958a8387bbd3f22cfd5a499759fa0af26d72.tar.gz
md5sum = 6e082d01914880605eb30da61d8a0831 #md5sum = bec4f4be74c0c914b19c597aafb94fb1
version = 6e082d01914880605eb30da61d8a0831 #url = https://lab.nexedi.com/esteban.blanc/proview/-/archive/e326b090705897b54ef38bf3a095a62618fda59f/proview-e326b090705897b54ef38bf3a095a62618fda59f.tar.gz
#md5sum = 440875b9a0b7ef90de480645c3c30a75
url = https://lab.nexedi.com/esteban.blanc/proview/-/archive/167e3ce3e1970d16782b7ad389e15bc5acb1f7ec/proview-167e3ce3e1970d16782b7ad389e15bc5acb1f7ec.tar.gz
md5sum = 132f5a26fa02e991341c05aeb867b49d
version = bec4f4be74c0c914b19c597aafb94fb1
location = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_}
aroot=${:location}/local/adm aroot=${:location}/local/adm
keep-compile-dir = true keep-compile-dir = true
strip-top-level-dir = true strip-top-level-dir = true
make-binary = bash -c 'export XORG_LOCK_DIR=`cat ./xorg-dirname` && ${:compile-dir}/build.sh' make-binary = bash -c 'export XORG_LOCK_DIR=`cat ./xorg-dirname` && stdbuf -o L ${:compile-dir}/build.sh'
incdir = -I${libdb:location}/include -I${qt4-qmake:location}/include -I${qt4-qmake:location}/include/QtGui -I${qt4-qmake:location}/include/Qt -I${alsa:location}/include -I${phonon-qt4:location}/include -I${fontconfig:location}/include incdir = -I${libdb:location}/include -I${qt5-qmake:location}/include -I${qt5-qmake:location}/include/QtGui -I${qt5-qmake:location}/include/QtWidgets -I${qt5-qmake:location}/include/Qt -I${qt5-qmake:location}/include/QtCore -I${qt5-qmake:location}/include/QtPrintSupport -I${qt5-qmake:location}/include/QtMultimedia -I${qt5-qmake:location}/include/QtMultimediaWidgets -I${qt5-qmake:location}/include/QtNetwork -I${alsa:location}/include -I${fontconfig:location}/include
libs = -L${libdb:location}/lib -ldb_cxx-5 -L${gettext:location}/lib -L${alsa:location}/lib -L${zlib:location}/lib -L ${qt4-qmake:location}/lib -L${phonon-qt4:location}/lib -L${fontconfig:location}/lib libs = -L${libdb:location}/lib -ldb_cxx-5 -L${gettext:location}/lib -L${alsa:location}/lib -L${zlib:location}/lib -L ${qt5-qmake:location}/lib -L${fontconfig:location}/lib
compile-dir = ${:location}__compile__ compile-dir = ${:location}__compile__
#compile-dir = ${:location}__compile__/pwr #compile-dir = ${:location}__compile__/pwr
#sanitizer-flags = -fsanitize=address #sanitizer-flags = -fsanitize=address
...@@ -310,8 +314,8 @@ configure-command = ...@@ -310,8 +314,8 @@ configure-command =
sed -i "s#gui=\"gtk\"#gui=\"qt\"#" ${:compile-dir}/build.sh sed -i "s#gui=\"gtk\"#gui=\"qt\"#" ${:compile-dir}/build.sh
# sed -i 's#Compiling $<"#Compiling $< XXX=$(cxxflags)"#g' ${:compile-dir}/src/tools/bld/src/variables.mk # sed -i 's#Compiling $<"#Compiling $< XXX=$(cxxflags)"#g' ${:compile-dir}/src/tools/bld/src/variables.mk
sed -i "s#(lib_dir)#(lib_dir) ${:libs}#" ${:compile-dir}/src/tools/bld/src/variables.mk sed -i "s#(lib_dir)#(lib_dir) ${:libs}#" ${:compile-dir}/src/tools/bld/src/variables.mk
sed -i "s#/usr/include/qt4#${qt4-qmake:location}/include#" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh sed -i "s#/usr/include/qt5#${qt5-qmake:location}/include#" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh
sed -i "s#/usr/lib/libQtGui.so#${qt4-qmake:location}/lib/libQtGui.so#" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh sed -i "s#/usr/lib/libQtGui.so#${qt5-qmake:location}/lib/libQtGui.so#" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh
sed -i "s#/usr/local/include/gtk-2.0#${gtk-2:location}/include/gtk-2.0#g" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh sed -i "s#/usr/local/include/gtk-2.0#${gtk-2:location}/include/gtk-2.0#g" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh
sed -i "s#/usr/lib/libgtk-x11-2.0.so#${gtk-2:location}/lib/libgtk-x11-2.0.so#g" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh sed -i "s#/usr/lib/libgtk-x11-2.0.so#${gtk-2:location}/lib/libgtk-x11-2.0.so#g" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh
sed -i "s#/usr/lib/libfl#${flex:location}/lib/libfl#" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh sed -i "s#/usr/lib/libfl#${flex:location}/lib/libfl#" ${:compile-dir}/src/tools/pwre/src/pwre_configure.sh
...@@ -373,21 +377,21 @@ make-targets = ...@@ -373,21 +377,21 @@ make-targets =
make-options = make-options =
-j1 -j1
environment = environment =
PATH=${qt4-qmake:location}/bin:${make-4:location}/bin:${doxygen:location}/bin:${pkgconfig:location}/bin:${java-jdk:location}/bin:${gtk-2:location}/bin:${bison:location}/bin:%(PATH)s PATH=${qt5-qmake:location}/bin:${make-4:location}/bin:${doxygen:location}/bin:${pkgconfig:location}/bin:${java-jdk:location}/bin:${gtk-2:location}/bin:${bison:location}/bin:%(PATH)s
SHELL=/bin/bash SHELL=/bin/bash
PKG_CONFIG_PATH=${qt4-qmake:location}/lib/pkgconfig:${gtk-2:location}/lib/pkgconfig:${pango:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${cairo:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${fontconfig:pkg_config_depends}:${libXext:location}/lib/pkgconfig:${libXext:pkg_config_depends}:${fribidi:location}/lib/pkgconfig:${harfbuzz:location}/lib/pkgconfig:${harfbuzz:pkg_config_depends}:${atk:location}/lib/pkgconfig:${gdk-pixbuf:location}/lib/pkgconfig:${phonon-qt4:location}/lib/pkgconfig:${alsa:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig PKG_CONFIG_PATH=${qt5-qmake:location}/lib/pkgconfig:${gtk-2:location}/lib/pkgconfig:${pango:location}/lib/pkgconfig:${glib:location}/lib/pkgconfig:${cairo:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig:${pixman:location}/lib/pkgconfig:${fontconfig:location}/lib/pkgconfig:${fontconfig:pkg_config_depends}:${libXext:location}/lib/pkgconfig:${libXext:pkg_config_depends}:${fribidi:location}/lib/pkgconfig:${harfbuzz:location}/lib/pkgconfig:${harfbuzz:pkg_config_depends}:${atk:location}/lib/pkgconfig:${gdk-pixbuf:location}/lib/pkgconfig:${alsa:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig:${libpng:location}/lib/pkgconfig
LD_LIBRARY_PATH=${:ld-library-path} LD_LIBRARY_PATH=${:ld-library-path}
CXXFLAGS= -std=c++11 -I${alsa:location}/include -I${fontconfig:location}/include -I${libdb:location}/include -I${qt4-qmake:location}/include -I${qt4-qmake:location}/include/QtGui CXXFLAGS= -std=c++11 -I${alsa:location}/include -I${fontconfig:location}/include -I${libdb:location}/include -I${qt5-qmake:location}/include -I${qt5-qmake:location}/include/QtGui -I${qt5-qmake:location}/include/QtWidgets -I${qt5-qmake:location}/include/QtCore -I${qt5-qmake:location}/include/QtPrintSupport -I${qt5-qmake:location}/include/QtNetwork -I${qt5-qmake:location}/include/QtMultimedia -I${qt5-qmake:location}/include/QtMultimediaWidgets
CFLAGS=-I${qt4-qmake:location}/include -I${qt4-qmake:location}/include/QtGui -I${libdb:location}/include CFLAGS=-I${qt5-qmake:location}/include -I${qt5-qmake:location}/include/QtGui -I${qt5-qmake:location}/include/QtWidgets -I${qt5-qmake:location}/include/QtCore -I${qt5-qmake:location}/include/QtPrintSupport -I${qt5-qmake:location}/include/QtNetwork -I${qt5-qmake:location}/include/QtMultimedia -I${qt5-qmake:location}/include/QtMultimediaWidgets -I${libdb:location}/include
LDFLAGS=-L${gettext:location}/lib -L${fontconfig:location}/lib -Wl,-rpath=${fontconfig:location}/lib -L${bison:location}/lib -L${libdb:location}/lib -L${gtk-2:location}/lib -L${zlib:location}/lib -Wl,-v LDFLAGS=-L${gettext:location}/lib -L${fontconfig:location}/lib -Wl,-rpath=${fontconfig:location}/lib -L${bison:location}/lib -L${libdb:location}/lib -L${gtk-2:location}/lib -L${zlib:location}/lib -L${qt5-qmake:location}/lib -Wl,-v
DISPLAY=:99 DISPLAY=:99
MAKEFLAGS=-j1 MAKEFLAGS=-j1
ASAN_OPTIONS=detect_leaks=0 ASAN_OPTIONS=detect_leaks=0
ld-library-path = ${alsa:location}/lib:${qt4-qmake:location}/lib:${libdb:location}/lib:${openssl:location}/lib:${gtk-2:location}/lib:${pango:location}/lib:${cairo:location}/lib:${atk:location}/lib:${harfbuzz:location}/lib:${libXext:location}/lib:${gdk-pixbuf:location}/lib:${gettext:location}/lib:${phonon-qt4:location}/lib:${pixman:location}/lib:${zlib:location}/lib:${libpng:location}/lib:${fontconfig:location}/lib:${libX11:location}/lib:${freetype:location}/lib ld-library-path = ${alsa:location}/lib:${qt5-qmake:location}/lib:${libdb:location}/lib:${openssl:location}/lib:${gtk-2:location}/lib:${pango:location}/lib:${cairo:location}/lib:${atk:location}/lib:${harfbuzz:location}/lib:${libXext:location}/lib:${gdk-pixbuf:location}/lib:${gettext:location}/lib:${pixman:location}/lib:${zlib:location}/lib:${libpng:location}/lib:${fontconfig:location}/lib:${libX11:location}/lib:${freetype:location}/lib
rpaths = -Wl,-rpath=${alsa:location}/lib -Wl,-rpath=${qt4-qmake:location}/lib -Wl,-rpath=${libdb:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${gtk-2:location}/lib -Wl,-rpath=${pango:location}/lib -Wl,-rpath=${cairo:location}/lib -Wl,-rpath=${atk:location}/lib -Wl,-rpath=${harfbuzz:location}/lib -Wl,-rpath=${libXext:location}/lib -Wl,-rpath=${gdk-pixbuf:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${phonon-qt4:location}/lib -Wl,-rpath=${pixman:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${libpng:location}/lib -Wl,-rpath=${glib:location}/lib -Wl,-rpath=${fontconfig:location}/lib -Wl,-rpath=${libX11:location}/lib -Wl,-rpath=${freetype:location}/lib rpaths = -Wl,-rpath=${alsa:location}/lib -Wl,-rpath=${qt5-qmake:location}/lib -Wl,-rpath=${libdb:location}/lib -Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${gtk-2:location}/lib -Wl,-rpath=${pango:location}/lib -Wl,-rpath=${cairo:location}/lib -Wl,-rpath=${atk:location}/lib -Wl,-rpath=${harfbuzz:location}/lib -Wl,-rpath=${libXext:location}/lib -Wl,-rpath=${gdk-pixbuf:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${pixman:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${libpng:location}/lib -Wl,-rpath=${glib:location}/lib -Wl,-rpath=${fontconfig:location}/lib -Wl,-rpath=${libX11:location}/lib -Wl,-rpath=${freetype:location}/lib
......
...@@ -9,16 +9,31 @@ extends = ...@@ -9,16 +9,31 @@ extends =
parts = parts =
qt4-qmake 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] [qt5-qmake]
# XXX work on all systems needs check # XXX work on all systems needs check
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true shared = true
path = ${qt5-qmake-source:location}
location = @@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 #url = http://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtbase-everywhere-src-5.15.2.tar.xz
md5sum = 0a1761145531b74fff5b4d9a80c7b1c2 #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 #url = http://download.qt.io/official_releases/qt/5.6/5.6.2/submodules/qtbase-opensource-src-5.6.2.tar.gz
#md5sum = 7aa5841b50c411e23e31e8a6cc1c6981 #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-command = ./configure
configure-options = configure-options =
--prefix=${:location} --prefix=${:location}
...@@ -32,21 +47,26 @@ configure-options = ...@@ -32,21 +47,26 @@ configure-options =
-no-opengl -no-opengl
-nomake examples -nomake examples
-no-dbus -no-dbus
-nomake tests
# -qt-xkbcommon-x11 # -qt-xkbcommon-x11
# -qt-xcb # -qt-xcb
# -no-pulseaudio # -no-pulseaudio
# -no-gtkstyle # -no-gtkstyle
-no-pch -no-pch
-skip wayland
environment = environment =
PATH=${pkgconfig:location}/bin:%(PATH)s PATH=${pkgconfig:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${libxml2:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig 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 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 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 = true
make-binary= make -j4 make-binary= make -j8
#make-targets = install #make-targets = install
# module-qttools # module-qttools
post-install = 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/ # cd ${:location}/lib/pkgconfig/
# ln -s ./Qt5Core.pc ./QtCore.pc # ln -s ./Qt5Core.pc ./QtCore.pc
# ln -s ./Qt5GUI.pc ./QtGUI.pc # ln -s ./Qt5GUI.pc ./QtGUI.pc
...@@ -57,9 +77,10 @@ post-install = ...@@ -57,9 +77,10 @@ post-install =
[qt5-tools] [qt5-tools]
recipe = slapos.recipe.cmmi 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/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 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 #md5sum = c877fc8f47089d0e5f859090a623774d
configure-command = configure-command =
${qt5-qmake:location}/bin/qmake ${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