2017-02-26 20:25:29 +00:00
|
|
|
|
{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gst-plugins-base
|
2013-12-14 08:16:17 +00:00
|
|
|
|
, libdvdnav, libdvdread, orc }:
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 14:54:12 +00:00
|
|
|
|
name = "gst-plugins-bad-0.10.23";
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
urls = [
|
|
|
|
|
"${meta.homepage}/src/gst-plugins-bad/${name}.tar.bz2"
|
|
|
|
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
|
|
|
|
];
|
2013-12-18 14:54:12 +00:00
|
|
|
|
sha256 = "148lw51dm6pgw8vc6v0fpvm7p233wr11nspdzmvq7bjp2cd7vbhf";
|
2011-07-25 21:10:45 +01:00
|
|
|
|
};
|
|
|
|
|
|
2018-01-13 18:07:08 +00:00
|
|
|
|
postInstall = ''
|
|
|
|
|
# Fixes CVE-2016-9447
|
|
|
|
|
# Does not actually impact NSF playback
|
|
|
|
|
rm -v $out/lib/gstreamer-0.10/libgstnsf.so
|
|
|
|
|
'';
|
|
|
|
|
|
2011-07-25 21:10:45 +01:00
|
|
|
|
buildInputs =
|
2017-02-26 20:25:29 +00:00
|
|
|
|
[ pkgconfig glib gstreamer gst-plugins-base libdvdnav libdvdread orc ];
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
|
|
meta = {
|
2017-09-16 20:28:31 +01:00
|
|
|
|
homepage = https://gstreamer.freedesktop.org;
|
2011-07-25 21:10:45 +01:00
|
|
|
|
|
|
|
|
|
description = "‘Bad’ (potentially low quality) plug-ins for GStreamer";
|
|
|
|
|
|
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2011-07-25 21:10:45 +01:00
|
|
|
|
};
|
|
|
|
|
}
|