diff --git a/pkgs/development/libraries/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/default.nix index 32fbec844ced..0394bb5fadb4 100644 --- a/pkgs/development/libraries/gstreamer/default.nix +++ b/pkgs/development/libraries/gstreamer/default.nix @@ -7,6 +7,10 @@ rec { gstPluginsGood = callPackage ./gst-plugins-good { }; + gstPluginsUgly = callPackage ./gst-plugins-ugly { }; + + gstPluginsBad = callPackage ./gst-plugins-bad { }; + gstFfmpeg = callPackage ./gst-ffmpeg { }; gnonlin = callPackage ./gnonlin { }; diff --git a/pkgs/development/libraries/gstreamer/gst-plugins-bad/default.nix b/pkgs/development/libraries/gstreamer/gst-plugins-bad/default.nix new file mode 100644 index 000000000000..4dec1a86ebf4 --- /dev/null +++ b/pkgs/development/libraries/gstreamer/gst-plugins-bad/default.nix @@ -0,0 +1,30 @@ +{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gstPluginsBase +, libdvdnav, libdvdread }: + +stdenv.mkDerivation rec { + name = "gst-plugins-bad-0.10.22"; + + src = fetchurl { + urls = [ + "${meta.homepage}/src/gst-plugins-bad/${name}.tar.bz2" + "mirror://gentoo/distfiles/${name}.tar.bz2" + ]; + sha256 = "030728gf0zjg62yng4qy9yapaffbvkziawa28rk0gspz8cpi1xyq"; + }; + + buildInputs = + [ pkgconfig glib gstreamer gstPluginsBase libdvdnav libdvdread ]; + + enableParallelBuilding = true; + + meta = { + homepage = http://gstreamer.freedesktop.org; + + description = "‘Bad’ (potentially low quality) plug-ins for GStreamer"; + + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + + license = "LGPLv2+"; + }; +} diff --git a/pkgs/development/libraries/gstreamer/gst-plugins-ugly/default.nix b/pkgs/development/libraries/gstreamer/gst-plugins-ugly/default.nix new file mode 100644 index 000000000000..153ab47fb929 --- /dev/null +++ b/pkgs/development/libraries/gstreamer/gst-plugins-ugly/default.nix @@ -0,0 +1,30 @@ +{ fetchurl, stdenv, pkgconfig, glib, gstreamer, gstPluginsBase +, libmad, libdvdread, libmpeg2, libcdio, a52dec }: + +stdenv.mkDerivation rec { + name = "gst-plugins-ugly-0.10.18"; + + src = fetchurl { + urls = [ + "${meta.homepage}/src/gst-plugins-ugly/${name}.tar.bz2" + "mirror://gentoo/distfiles/${name}.tar.bz2" + ]; + sha256 = "054fdkb2riy5knda39cp6w3xp9lzax52bn12cklglscjrm46ghgr"; + }; + + buildInputs = + [ pkgconfig glib gstreamer gstPluginsBase libmad libdvdread a52dec ]; + + enableParallelBuilding = true; + + meta = { + homepage = http://gstreamer.freedesktop.org; + + description = "‘Ugly’ (potentially patent-encumbered) plug-ins for GStreamer"; + + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + + license = "LGPLv2+"; + }; +}