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
|
{ fetchurl, stdenv, libtool, gettext, zlib, bzip2, flac, libvorbis
|
||||||
, exiv2, libgsf, rpm, pkgconfig
|
, exiv2, libgsf, rpm, pkgconfig
|
||||||
, gtkSupport ? true, glib ? null, gtk ? null
|
, gtkSupport ? true, glib ? null, gtk3 ? null
|
||||||
, videoSupport ? true, ffmpeg ? null, libmpeg2 ? 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;
|
assert videoSupport -> ffmpeg != null && libmpeg2 != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||||
[ libtool gettext zlib bzip2 flac libvorbis exiv2
|
[ libtool gettext zlib bzip2 flac libvorbis exiv2
|
||||||
libgsf rpm
|
libgsf rpm
|
||||||
pkgconfig
|
pkgconfig
|
||||||
] ++ stdenv.lib.optionals gtkSupport [ glib gtk ]
|
] ++ stdenv.lib.optionals gtkSupport [ glib gtk3 ]
|
||||||
++ stdenv.lib.optionals videoSupport [ ffmpeg libmpeg2 ];
|
++ stdenv.lib.optionals videoSupport [ ffmpeg libmpeg2 ];
|
||||||
|
|
||||||
configureFlags = "--disable-ltdl-install "
|
configureFlags = "--disable-ltdl-install "
|
||||||
|
|
Loading…
Reference in New Issue