2013-12-23 16:36:37 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python, gst-plugins-base, orc
|
2014-04-07 15:37:02 +02:00
|
|
|
, faacSupport ? false, faac ? null
|
|
|
|
, faad2, libass, libkate, libmms
|
2013-12-23 16:36:37 +01:00
|
|
|
, libmodplug, mpeg2dec, mpg123
|
|
|
|
, openjpeg, libopus, librsvg
|
2014-04-29 11:15:10 +02:00
|
|
|
, wildmidi, fluidsynth, libvdpau, wayland
|
2014-01-10 13:56:18 +01:00
|
|
|
, libwebp, xvidcore, gnutls
|
2013-12-23 16:36:37 +01:00
|
|
|
}:
|
|
|
|
|
2014-04-07 15:37:02 +02:00
|
|
|
assert faacSupport -> faac != null;
|
|
|
|
|
2013-12-23 16:36:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-07-22 12:16:41 +02:00
|
|
|
name = "gst-plugins-bad-1.4.0";
|
2013-12-23 16:36:37 +01:00
|
|
|
|
2014-03-17 14:31:45 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Gstreamer Bad Plugins";
|
|
|
|
homepage = "http://gstreamer.freedesktop.org";
|
|
|
|
longDescription = ''
|
|
|
|
a set of plug-ins that aren't up to par compared to the
|
|
|
|
rest. They might be close to being good quality, but they're missing
|
|
|
|
something - be it a good code review, some documentation, a set of tests,
|
|
|
|
a real live maintainer, or some actual wide use.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ iyzsong ];
|
2013-12-23 16:36:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz";
|
2014-07-22 12:16:41 +02:00
|
|
|
sha256 = "1y821785rvr6s79cmdll66hg6h740qa2n036xid20nvjyxabfb7z";
|
2013-12-23 16:36:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gst-plugins-base orc
|
2014-04-07 15:37:02 +02:00
|
|
|
faad2 libass libkate libmms
|
2013-12-23 16:36:37 +01:00
|
|
|
libmodplug mpeg2dec mpg123
|
|
|
|
openjpeg libopus librsvg
|
2014-04-29 11:15:10 +02:00
|
|
|
wildmidi fluidsynth libvdpau wayland
|
2014-01-10 13:56:18 +01:00
|
|
|
libwebp xvidcore gnutls
|
2014-04-07 15:37:02 +02:00
|
|
|
] ++ stdenv.lib.optional faacSupport faac;
|
2013-12-23 16:36:37 +01:00
|
|
|
}
|