2012-03-14 12:35:35 -07:00
|
|
|
{ fetchurl, stdenv, pkgconfig, gst_plugins_base, aalib, cairo
|
2013-12-14 00:15:54 -08:00
|
|
|
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca, libvpx
|
|
|
|
, libiec61883, libavc1394, taglib, pulseaudio, gdk_pixbuf, orc
|
2015-01-13 13:55:23 -08:00
|
|
|
, glib, gstreamer, bzip2, libsoup
|
2014-10-22 16:10:17 -07:00
|
|
|
, # Whether to build no plugins that have external dependencies
|
|
|
|
# (except the PulseAudio plugin).
|
|
|
|
minimalDeps ? false
|
2009-08-02 21:55:30 -07:00
|
|
|
}:
|
2008-02-21 19:06:12 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-28 08:43:05 -08:00
|
|
|
name = "gst-plugins-good-0.10.31";
|
2008-02-21 19:06:12 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-09-30 05:45:15 -07:00
|
|
|
urls = [
|
|
|
|
"${meta.homepage}/src/gst-plugins-good/${name}.tar.bz2"
|
|
|
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
|
|
|
];
|
2013-01-28 08:43:05 -08:00
|
|
|
sha256 = "1ijswgcrdp243mfsyza31fpzq6plz40p4b83vkr2x4x7807889vy";
|
2008-02-21 19:06:12 -08:00
|
|
|
};
|
|
|
|
|
2014-10-09 03:25:27 -07:00
|
|
|
patches = [ ./v4l.patch ./linux-headers-3.9.patch ];
|
2013-01-28 08:43:05 -08:00
|
|
|
|
2015-01-18 21:46:24 -08:00
|
|
|
configureFlags = "--enable-experimental --disable-oss";
|
2008-02-21 19:06:12 -08:00
|
|
|
|
2011-07-25 13:10:13 -07:00
|
|
|
buildInputs =
|
2014-10-22 16:10:17 -07:00
|
|
|
[ pkgconfig glib gstreamer gst_plugins_base pulseaudio ]
|
|
|
|
++ stdenv.lib.optionals (!minimalDeps)
|
|
|
|
[ aalib libcaca cairo libdv flac libjpeg libpng speex
|
2015-01-13 13:55:23 -08:00
|
|
|
taglib bzip2 libvpx gdk_pixbuf orc libsoup ];
|
2011-07-25 13:10:13 -07:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2008-02-21 19:06:12 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://gstreamer.freedesktop.org;
|
2009-04-09 07:55:13 -07:00
|
|
|
|
|
|
|
description = "`Good' plug-ins for GStreamer";
|
|
|
|
|
2009-12-15 01:37:42 -08:00
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2008-02-21 19:06:12 -08:00
|
|
|
};
|
|
|
|
}
|