2012-03-14 19:35:35 +00:00
|
|
|
|
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst_plugins_base
|
2015-12-15 02:12:52 +00:00
|
|
|
|
, libmad, libdvdread, libmpeg2, libcdio, a52dec, x264, orc, lame, libintlOrEmpty }:
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 14:55:18 +00:00
|
|
|
|
name = "gst-plugins-ugly-0.10.19";
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
urls = [
|
|
|
|
|
"${meta.homepage}/src/gst-plugins-ugly/${name}.tar.bz2"
|
|
|
|
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
|
|
|
|
];
|
2013-12-18 14:55:18 +00:00
|
|
|
|
sha256 = "1w4d5iz9ffvh43l261zdp997i6s2iwd61lflf755s3sw4xch1a8w";
|
2011-07-25 21:10:45 +01:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
buildInputs =
|
2015-12-15 02:12:52 +00:00
|
|
|
|
[ pkgconfig glib gstreamer gst_plugins_base libmad libdvdread a52dec x264 orc lame ] ++ libintlOrEmpty;
|
2015-04-09 04:12:30 +01:00
|
|
|
|
|
|
|
|
|
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = http://gstreamer.freedesktop.org;
|
|
|
|
|
|
|
|
|
|
description = "‘Ugly’ (potentially patent-encumbered) plug-ins for GStreamer";
|
|
|
|
|
|
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
2015-04-09 04:12:30 +01:00
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2011-07-25 21:10:45 +01:00
|
|
|
|
};
|
|
|
|
|
}
|