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
Tristan Cavelier
slapos
Commits
9cb9587b
Commit
9cb9587b
authored
Feb 17, 2017
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xxx component/qt: 5.8.0 -> 5.6.2 + prefix + sections
parent
f1a7b801
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
22 deletions
+14
-22
component/qt/buildout.cfg
component/qt/buildout.cfg
+14
-22
No files found.
component/qt/buildout.cfg
View file @
9cb9587b
...
@@ -4,15 +4,16 @@ extends =
...
@@ -4,15 +4,16 @@ extends =
../mesa/buildout.cfg
../mesa/buildout.cfg
parts =
parts =
qmake
q
t5-q
make
[qmake]
[q
t5-q
make]
# building [qmake] will download the full qt source anyway ~200MB
# building [qmake] will download the full qt source anyway ~200MB
# qmake binary can be reached directly from ${qt:location}/bin/qmake if [qt] is fully built
# qmake binary can be reached directly from ${qt:location}/bin/qmake if [qt] is fully built
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
version = 5.8.0
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = http://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz
version = 5.6.2
md5sum = a9f2494f75f966e2f22358ec367d8f41
url = http://download.qt.io/official_releases/qt/5.6/5.6.2/single/qt-everywhere-opensource-src-5.6.2.tar.gz
md5sum = 1b1b1f929d0cd83680354a0c83d8e945
# see https://github.com/NixOS/nixpkgs/blob/3e387c3e005c87566b5403d24c86f71f4945a79b/pkgs/development/libraries/qt-4.x/4.8/default.nix#L101
# see https://github.com/NixOS/nixpkgs/blob/3e387c3e005c87566b5403d24c86f71f4945a79b/pkgs/development/libraries/qt-4.x/4.8/default.nix#L101
environment =
environment =
CFLAGS=-I${mesa:location}/include
CFLAGS=-I${mesa:location}/include
...
@@ -24,28 +25,22 @@ configure-command =
...
@@ -24,28 +25,22 @@ configure-command =
sed 's,/usr/X11R6/lib,${libX11:location}/lib ${xproto:location}/lib ${libXext:location}/lib,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/lib,${libX11:location}/lib ${xproto:location}/lib ${libXext:location}/lib,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
# it helped me : http://stackoverflow.com/questions/24264940/compile-qt5-without-gui-support-on-linux-arm
# it helped me : http://stackoverflow.com/questions/24264940/compile-qt5-without-gui-support-on-linux-arm
./configure -v -no-separate-debug-info -release -confirm-license -opensource -no-opengl -nomake examples
./configure --prefix=${:location} -v -no-separate-debug-info -release -confirm-license -opensource -no-opengl -nomake examples
make-targets =
make-targets = qmake
qmake
prefix = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/qt${:version}-qmake
post-install =
post-install =
cp -rt ${:location} *
cp -rt ${:location} *
[qt-qmake]
[qt5.6-qmake]
<= qmake
[qt5-qmake]
<= qt-qmake
[qt5.8-qmake]
<= qt5-qmake
<= qt5-qmake
[qt5.
8.0
-qmake]
[qt5.
6.2
-qmake]
<= qt5.
8
-qmake
<= qt5.
6
-qmake
[qt4-qmake]
[qt4-qmake]
# building [qmake] will download the full qt source anyway ~200MB
# building [qmake] will download the full qt source anyway ~200MB
# qmake binary can be reached directly from ${qt:location}/bin/qmake if [qt] is fully built
# qmake binary can be reached directly from ${qt:location}/bin/qmake if [qt] is fully built
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
location = ${buildout:parts-directory}/${:_buildout_section_name_}
version = 4.8.7
version = 4.8.7
url = http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
url = http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
md5sum = d990ee66bf7ab0c785589776f35ba6ad
md5sum = d990ee66bf7ab0c785589776f35ba6ad
...
@@ -54,11 +49,8 @@ configure-command =
...
@@ -54,11 +49,8 @@ configure-command =
sed 's,/usr/X11R6/lib64,${libX11:location}/lib64 ${xproto:location}/lib64 ${libXext:location}/lib64,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/lib64,${libX11:location}/lib64 ${xproto:location}/lib64 ${libXext:location}/lib64,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/lib,${libX11:location}/lib ${xproto:location}/lib ${libXext:location}/lib,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/lib,${libX11:location}/lib ${xproto:location}/lib ${libXext:location}/lib,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
./configure -v -no-separate-debug-info -release -no-fast -confirm-license -opensource
./configure --prefix=${:location} -v -no-separate-debug-info -release -no-fast -confirm-license -opensource
make-targets =
make-targets = qmake
qmake
prefix = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/qt${:version}-qmake
post-install =
post-install =
cp -rt ${:location} *
cp -rt ${:location} *
...
...
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