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