Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
63f355e8
Commit
63f355e8
authored
Jan 26, 2018
by
Boris Kocherov
Committed by
Romain Courteaud
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/qt: [qt5-qmake] simplify, speedup
parent
f4ab5f38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
28 deletions
+19
-28
component/qt/buildout.cfg
component/qt/buildout.cfg
+19
-28
No files found.
component/qt/buildout.cfg
View file @
63f355e8
[buildout]
[buildout]
extends =
extends =
../xorg/buildout.cfg
../xorg/buildout.cfg
../mesa/buildout.cfg
parts =
parts =
qt4-qmake
qt4-qmake
[qt5-qmake]
[qt5-qmake]
# XXX does not work on all systems
# XXX work on all systems needs check
# building [qmake] will download the full qt source anyway ~200MB
# qmake binary can be reached directly from ${qt:location}/qtbase/bin/qmake if [qt] is fully built
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = http://download.qt.io/official_releases/qt/5.6/5.6.2/single/qt-everywhere-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 = 1b1b1f929d0cd83680354a0c83d8e945
md5sum = 7aa5841b50c411e23e31e8a6cc1c6981
configure-command = ./configure
configure-options =
--prefix=${:location}
-v
-no-separate-debug-info
-release
-confirm-license
-opensource
-no-opengl
-nomake examples
environment =
environment =
CFLAGS=-I${mesa:location}/include
CPPFLAGS=-I${libX11:location}/include -I${xproto:location}/include -I${libXext:location}/include
CPPFLAGS=-I${mesa: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
CXXFLAGS=-I${mesa:location}/include
make-binary = true
LD_LIBRARY_PATH=${mesa:location}/lib
pre-configure-QMAKE_INCDIR_X11 =
${libX11:location}/include
${xproto:location}/include
${libXext:location}/include
pre-configure-QMAKE_LIBDIR_X11 =
${libX11:location}/lib64 ${libX11:location}/lib
${xproto:location}/lib64 ${xproto:location}/lib
${libXext:location}/lib64 ${libXext:location}/lib
pre-configure =
set -e -x
qmake_incdir_x11=$(echo " ${:pre-configure-QMAKE_INCDIR_X11}" | sed ':a;N;$!ba;s/\n/ /g')
qmake_libdir_x11=$(echo " ${:pre-configure-QMAKE_LIBDIR_X11}" | sed ':a;N;$!ba;s/\n/ /g')
sed 's:QMAKE_INCDIR_X11\s*=:QMAKE_INCDIR_X11 ='"$qmake_incdir_x11:g" -i qtbase/mkspecs/*/*.conf
sed 's:QMAKE_LIBDIR_X11\s*=:QMAKE_LIBDIR_X11 ='"$qmake_libdir_x11:g" -i qtbase/mkspecs/*/*.conf
# it helped me : http://stackoverflow.com/questions/24264940/compile-qt5-without-gui-support-on-linux-arm
configure-command = ./configure --prefix=${:location} -v -no-separate-debug-info -release -confirm-license -opensource -no-opengl -nomake examples
make-targets = qmake
post-install =
post-install =
cp -rt ${:location} *
mkdir -p ${:location}/bin
mv -t ${:location}/bin bin/qmake
mv -t ${:location} mkspecs
[qt5.6-qmake]
[qt5.6-qmake]
<= qt5-qmake
<= qt5-qmake
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment