mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
libextractor: make gtk support work again
It wanted gtk3. It does not understand gstreamer 0.10, though.
This commit is contained in:
parent
078ddf4746
commit
2e8cab953a
@ -1,9 +1,9 @@
|
||||
{ fetchurl, stdenv, libtool, gettext, zlib, bzip2, flac, libvorbis
|
||||
, exiv2, libgsf, rpm, pkgconfig
|
||||
, gtkSupport ? true, glib ? null, gtk ? null
|
||||
, gtkSupport ? true, glib ? null, gtk3 ? null
|
||||
, videoSupport ? true, ffmpeg ? null, libmpeg2 ? null}:
|
||||
|
||||
assert gtkSupport -> glib != null && gtk != null;
|
||||
assert gtkSupport -> glib != null && gtk3 != null;
|
||||
assert videoSupport -> ffmpeg != null && libmpeg2 != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
[ libtool gettext zlib bzip2 flac libvorbis exiv2
|
||||
libgsf rpm
|
||||
pkgconfig
|
||||
] ++ stdenv.lib.optionals gtkSupport [ glib gtk ]
|
||||
] ++ stdenv.lib.optionals gtkSupport [ glib gtk3 ]
|
||||
++ stdenv.lib.optionals videoSupport [ ffmpeg libmpeg2 ];
|
||||
|
||||
configureFlags = "--disable-ltdl-install "
|
||||
|
Loading…
Reference in New Issue
Block a user