3
0
Fork 0
forked from mirrors/nixpkgs

kde-gtk-config-*: fix with multiple outputs

This commit is contained in:
Vladimír Čunát 2015-10-04 14:54:57 +02:00
parent 551cce01ff
commit a0581b1e74
3 changed files with 6 additions and 6 deletions

View file

@ -182,9 +182,9 @@ let
lib.concatStringsSep " " [
"-I${cairo}/include/cairo"
"-I${gtk2}/include/gtk-2.0"
"-I${gtk2}/lib/gtk-2.0/include"
"-I${gtk2.out}/lib/gtk-2.0/include"
"-I${glib}/include/glib-2.0"
"-I${glib}/lib/glib-2.0/include"
"-I${glib.out}/lib/glib-2.0/include"
"-I${pango}/include/pango-1.0"
];
};

View file

@ -20,7 +20,7 @@ plasmaPackage {
kio knewstuff
];
cmakeFlags = [
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include"
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2}/lib/gtk-2.0/include"
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
];
}

View file

@ -22,8 +22,8 @@ stdenv.mkDerivation {
];
cmakeFlags = ''
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2}/lib/gtk-2.0/include
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
-DGTK2_INCLUDE_DIRS=${gtk2}/include/gtk-2.0
-DKDE4_LIBEXEC_INSTALL_DIR=lib/kde4/libexec
'';