parent
f925480215
commit
6c5d860c8b
@ -13,13 +13,7 @@
|
||||
assert faacSupport -> faac != null;
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional optionalString;
|
||||
|
||||
# OpenJPEG version is hardcoded in package source
|
||||
openJpegVersion = with stdenv;
|
||||
lib.concatStringsSep "." (lib.lists.take 2
|
||||
(lib.splitString "." (lib.getVersion openjpeg)));
|
||||
|
||||
inherit (stdenv.lib) optional;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-bad-1.14.0";
|
||||
@ -76,6 +70,4 @@ stdenv.mkDerivation rec {
|
||||
++ optional (!stdenv.isDarwin) wildmidi
|
||||
# TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
|
||||
++ optional (!stdenv.isDarwin) mjpegtools;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
assert gtkSupport -> gtk3 != null;
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optionals optionalString;
|
||||
inherit (stdenv.lib) optional optionals optionalString;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-good-1.14.0";
|
||||
@ -50,6 +50,7 @@ stdenv.mkDerivation rec {
|
||||
libsoup libshout lame mpg123 twolame libintl
|
||||
ncurses
|
||||
]
|
||||
++ optional gtkSupport gtk3 # for gtksink
|
||||
++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
|
||||
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user