gst-plugins: fix on Darwin

This commit is contained in:
Matthew Bauer
2018-04-24 18:35:54 -05:00
parent 00bf115047
commit 734b13a817
3 changed files with 12 additions and 3 deletions
@@ -1,13 +1,14 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, python
, gst-plugins-base, orc, gettext
, a52dec, libcdio, libdvdread
, libmad, libmpeg2, x264, libintl
, libmad, libmpeg2, x264, libintl, lib
, darwin
}:
stdenv.mkDerivation rec {
name = "gst-plugins-ugly-1.14.0";
meta = with stdenv.lib; {
meta = with lib; {
description = "Gstreamer Ugly Plugins";
homepage = "https://gstreamer.freedesktop.org";
longDescription = ''
@@ -18,6 +19,7 @@ stdenv.mkDerivation rec {
'';
license = licenses.lgpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ matthewbauer ];
};
src = fetchurl {
@@ -34,5 +36,6 @@ stdenv.mkDerivation rec {
a52dec libcdio libdvdread
libmad libmpeg2 x264
libintl
];
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks;
[ IOKit CoreFoundation DiskArbitration ]);
}