kde: add glib include paths to NIX_CFLAGS_COMPILE
(cherry picked from commit 350ffdcc8434f668f49e06eaf4d5cd685d42965d) Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
f7bfb4b466
commit
7477a7cdda
@ -281,7 +281,7 @@ let
|
||||
buildInputs = [ scope.canberra ];
|
||||
nativeBuildInputs = [ scope.pkgconfig ];
|
||||
# cmake does not detect path to `ilmbase`
|
||||
NIX_CFLAGS_COMPILE = "-I${scope.ilmbase}/include/OpenEXR";
|
||||
NIX_CFLAGS_COMPILE = "-I${scope.ilmbase}/include/OpenEXR -I${pkgs.glib}/include/glib-2.0 -I${pkgs.glib}/lib/glib-2.0/include";
|
||||
# some components of this package have been replaced in other packages
|
||||
meta = { priority = 10; };
|
||||
};
|
||||
|
@ -8,7 +8,7 @@ kde {
|
||||
|
||||
buildInputs = [
|
||||
kdelibs attica xz bzip2 libssh libjpeg exiv2 ntrack
|
||||
qca2 samba libcanberra libpulseaudio gpgme glib
|
||||
qca2 samba libcanberra libpulseaudio gpgme
|
||||
networkmanager kactivities kdepimlibs openexr
|
||||
#todo: add openslp
|
||||
#todo: gpgme can't be found because cmake module is provided by kdepimlibs which are found too late
|
||||
@ -16,7 +16,7 @@ kde {
|
||||
|
||||
nativeBuildInputs = [ shared_mime_info ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
||||
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR -I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include";
|
||||
|
||||
passthru.propagatedUserEnvPackages = [ virtuoso ];
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
||||
, kdelibs, networkmanager, libnm-qt }:
|
||||
, kdelibs, networkmanager, libnm-qt, glib }:
|
||||
|
||||
let
|
||||
pname = "plasma-nm";
|
||||
@ -14,6 +14,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "0xj14isvjq8ll70b6q66n8adm8ff4j9ng195ndk2gmavjf6bb751";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include";
|
||||
|
||||
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
||||
|
||||
buildInputs = [ kdelibs networkmanager libnm-qt ];
|
||||
|
Loading…
Reference in New Issue
Block a user