Commit 41836e25 authored by Alain Takoudjou's avatar Alain Takoudjou

proview-r: add more dependencies for compilation

parent 9709d75a
This diff is collapsed.
......@@ -3,6 +3,7 @@ extends =
../xorg/buildout.cfg
../gcc/buildout.cfg
../openssl/buildout.cfg
../dbus/buildout.cfg
parts =
qt4-qmake
......@@ -78,6 +79,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = http://qt.mirrors.tds.net/qt/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
md5sum = d990ee66bf7ab0c785589776f35ba6ad
# see https://github.com/NixOS/nixpkgs/blob/3e387c3e005c87566b5403d24c86f71f4945a79b/pkgs/development/libraries/qt-4.x/4.8/default.nix#L101
version = 4.8.7
pre-configure =
set -e -x
sed 's,/usr/X11R6/lib64,${libX11:location}/lib64 ${xproto:location}/lib64 ${libXext:location}/lib64,g' -i mkspecs/*/*.conf
......@@ -85,17 +87,17 @@ pre-configure =
sed 's,/usr/X11R6/include,${libX11:location}/include ${xproto:location}/include ${libXext:location}/include,g' -i mkspecs/*/*.conf
# sed 's,/usr/local/include,${openssl-1.0:location}/include,g' -i mkspecs/*/*.conf
# sed 's,/usr/local/lib,${openssl-1.0:location}/lib,g' -i mkspecs/*/*.conf
configure-command = ./configure --prefix=${:location} -v -no-separate-debug-info -release -no-fast -confirm-license -opensource -no-pch
configure-command = ./configure --prefix=${:location} -v -no-separate-debug-info -release -no-fast -confirm-license -opensource -dbus -gtkstyle -no-pch -no-rpath
#make-targets = qmake
#post-install =
# cp -rt ${:location}
environment =
PATH=${pkgconfig:location}/bin:${gcc:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${openssl-1.0:location}/lib/pkgconfig
PKG_CONFIG_PATH=${openssl-1.0:location}/lib/pkgconfig:${dbus:location}/lib/pkgconfig
CPPFLAGS=-I${openssl-1.0:location}/include
LDFLAGS=-L${gcc:location}/lib -Wl,-rpath=${gcc:location}/lib -L${gcc:location}/lib64 -Wl,-rpath=${gcc:location}/lib64 -L${openssl-1.0:location}/lib -Wl,-rpath=${openssl-1.0:location}/lib
# CFLAGS=-std=c++0x
LD_LIBRARY_PATH=${:location}__compile__/qt-everywhere-opensource-src-${:version}/lib
[qt4.8-qmake]
<= qt4-qmake
......
......@@ -8,7 +8,11 @@ extends =
parts +=
slapos-cookbook
open62541
proviewR
pwr
x11vnc
xorg-font-adobe-75dpi
xorg-font-adobe-100dpi
xorg-font-type1
#[java-jdk]
#recipe = hexagonit.recipe.download
......
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