spice-gtk: clean up
This commit is contained in:
parent
319495164c
commit
80ce338940
@ -19,23 +19,18 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
spice-protocol celt_0_5_1 openssl libpulseaudio pixman gobjectIntrospection
|
spice-protocol celt_0_5_1 openssl libpulseaudio pixman
|
||||||
libjpeg_turbo zlib cyrus_sasl python pygtk usbredir gtk3 epoxy
|
libjpeg_turbo zlib cyrus_sasl python pygtk usbredir gtk3 epoxy
|
||||||
polkit acl usbutils
|
polkit acl usbutils
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala ];
|
nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala gobjectIntrospection ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
|
PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions";
|
||||||
|
|
||||||
# put polkit action in the $out/share/polkit-1/actions
|
|
||||||
preAutoreconf = ''
|
|
||||||
substituteInPlace configure.ac \
|
|
||||||
--replace 'POLICYDIR=`''${PKG_CONFIG} polkit-gobject-1 --variable=policydir`' "POLICYDIR=$out/share/polkit-1/actions"
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-gtk3"
|
"--with-gtk3"
|
||||||
|
"--enable-introspection"
|
||||||
"--enable-vala"
|
"--enable-vala"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user