Commit 427bb912 authored by Tristan Cavelier's avatar Tristan Cavelier

xxx component/qt: use qt4 by default + use pre-configure + fix section [qt-qmake] issue

parent 267c1347
...@@ -4,7 +4,7 @@ extends = ...@@ -4,7 +4,7 @@ extends =
../mesa/buildout.cfg ../mesa/buildout.cfg
parts = parts =
qt5-qmake qt4-qmake
[qt5-qmake] [qt5-qmake]
# building [qmake] will download the full qt source anyway ~200MB # building [qmake] will download the full qt source anyway ~200MB
...@@ -43,17 +43,16 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_} ...@@ -43,17 +43,16 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
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
# 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
configure-command = pre-configure =
set -e -x
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 --prefix=${:location} -v -no-separate-debug-info -release -no-fast -confirm-license -opensource configure-command = ./configure --prefix=${:location} -v -no-separate-debug-info -release -no-fast -confirm-license -opensource
make-targets = qmake make-targets = qmake
post-install = post-install =
cp -rt ${:location} * cp -rt ${:location} *
[qt4-qmake]
<= qt-qmake
[qt4.8-qmake] [qt4.8-qmake]
<= qt4-qmake <= qt4-qmake
[qt4.8.7-qmake] [qt4.8.7-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