Merge pull request #206454 from SuperSandro2000/libextractor
This commit is contained in:
commit
ace7950a79
2 changed files with 5 additions and 7 deletions
|
@ -35,6 +35,7 @@ with lib;
|
|||
gobject-introspection = super.gobject-introspection.override { x11Support = false; };
|
||||
imagemagick = super.imagemagick.override { libX11Support = false; libXtSupport = false; };
|
||||
imagemagickBig = super.imagemagickBig.override { libX11Support = false; libXtSupport = false; };
|
||||
libextractor = super.libextractor.override { gstreamerSupport = false; gtkSupport = false; };
|
||||
libva = super.libva-minimal;
|
||||
networkmanager-fortisslvpn = super.networkmanager-fortisslvpn.override { withGnome = false; };
|
||||
networkmanager-iodine = super.networkmanager-iodine.override { withGnome = false; };
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ fetchurl, lib, stdenv, substituteAll
|
||||
, libtool, gettext, zlib, bzip2, flac, libvorbis
|
||||
, exiv2, libgsf, rpm, pkg-config
|
||||
, gstreamerSupport ? true, gst_all_1 ? null
|
||||
, gstreamerSupport ? true, gst_all_1
|
||||
# ^ Needed e.g. for proper id3 and FLAC support.
|
||||
# Set to `false` to decrease package closure size by about 87 MB (53%).
|
||||
, gstPlugins ? (gst: [ gst.gst-plugins-base gst.gst-plugins-good ])
|
||||
|
@ -12,12 +12,9 @@
|
|||
# wrapProgram $out/bin/extract --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||
# '';
|
||||
# See also <https://nixos.org/nixpkgs/manual/#sec-language-gnome>.
|
||||
, gtkSupport ? true, glib ? null, gtk3 ? null
|
||||
, videoSupport ? true, ffmpeg ? null, libmpeg2 ? null}:
|
||||
|
||||
assert gstreamerSupport -> gst_all_1 != null && builtins.isList (gstPlugins gst_all_1);
|
||||
assert gtkSupport -> glib != null && gtk3 != null;
|
||||
assert videoSupport -> ffmpeg != null && libmpeg2 != null;
|
||||
, gtkSupport ? true, glib, gtk3
|
||||
, videoSupport ? true, ffmpeg, libmpeg2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libextractor";
|
||||
|
|
Loading…
Reference in a new issue