84bc6d64ba
(And while at it, gst-vaapi 0.6.0 -> 0.6.1.) * gst-editing-services grew additional build time dependencies, flex and perl. * gst-libav switched from libav to ffmpeg as "libav" provider, see http://gstreamer.freedesktop.org/releases/1.6/. Without using ffmpeg, one may hit issues such as this (which I initially did): (gst-plugin-scanner:19751): GStreamer-WARNING **: Failed to load plugin '/nix/store/0wgpq2yx9wrkp2mh4rn1c7zbiq2bqa2l-gst-libav-1.6.1/lib/gstreamer-1.0/libgstlibav.so': /nix/store/0wgpq2yx9wrkp2mh4rn1c7zbiq2bqa2l-gst-libav-1.6.1/lib/gstreamer-1.0/libgstlibav.so: undefined symbol: av_frame_get_sample_rate
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, python
|
|
, gst-plugins-base, orc
|
|
, a52dec, libcdio, libdvdread
|
|
, lame, libmad, libmpeg2, x264, libintlOrEmpty
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gst-plugins-ugly-1.6.1";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Gstreamer Ugly Plugins";
|
|
homepage = "http://gstreamer.freedesktop.org";
|
|
longDescription = ''
|
|
a set of plug-ins that have good quality and correct functionality,
|
|
but distributing them might pose problems. The license on either
|
|
the plug-ins or the supporting libraries might not be how we'd
|
|
like. The code might be widely known to present patent problems.
|
|
'';
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ iyzsong ];
|
|
};
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/src/gst-plugins-ugly/${name}.tar.xz";
|
|
sha256 = "0mvasl1pwq70w2kmrkcrg77kggl5q7jqybi7fkvy3vr28c7gkhqc";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
|
|
|
buildInputs = [
|
|
gst-plugins-base orc
|
|
a52dec libcdio libdvdread
|
|
lame libmad libmpeg2 x264
|
|
] ++ libintlOrEmpty;
|
|
|
|
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
|
}
|