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