diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-11-11 12:08:28 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-11-11 12:08:28 +0000 |
commit | ec0aba1ee133f250448ab48d1c57c401c4daf867 (patch) | |
tree | caf1a74fb78bbc34dfc593920af14601566e1403 /pkgs/development/libraries/gstreamer | |
parent | add91332e8e9a1a2fe828bacfc60f4eae010bc06 (diff) |
Add `gst-ffmpeg'.
svn path=/nixpkgs/trunk/; revision=13244
Diffstat (limited to 'pkgs/development/libraries/gstreamer')
-rw-r--r-- | pkgs/development/libraries/gstreamer/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/gstreamer/gst-ffmpeg/default.nix | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/default.nix index 678fbdb137a00..1a9bed08f28da 100644 --- a/pkgs/development/libraries/gstreamer/default.nix +++ b/pkgs/development/libraries/gstreamer/default.nix @@ -10,4 +10,8 @@ rec { gstPluginsGoodFun = lib.sumArgs (selectVersion ./gst-plugins-good "0.10.6") args { inherit gstPluginsBase; }; gstPluginsGood = gstPluginsGoodFun null; + + gstFfmpeg = import ./gst-ffmpeg { + inherit fetchurl stdenv pkgconfig gstPluginsBase bzip2; + }; } diff --git a/pkgs/development/libraries/gstreamer/gst-ffmpeg/default.nix b/pkgs/development/libraries/gstreamer/gst-ffmpeg/default.nix new file mode 100644 index 0000000000000..6ec9acf0e9bca --- /dev/null +++ b/pkgs/development/libraries/gstreamer/gst-ffmpeg/default.nix @@ -0,0 +1,24 @@ +{ fetchurl, stdenv, pkgconfig, gstPluginsBase, bzip2 }: + +let version = "0.10.5"; in + stdenv.mkDerivation rec { + name = "gst-ffmpeg-${version}"; + + src = fetchurl { + url = "http://gstreamer.freedesktop.org/src/gst-ffmpeg/${name}.tar.bz2"; + sha256 = "12y240jp2lda57frz7pj96izqxcns0k31cc5rp4kdfwwfdsvy5ik"; + }; + + propagatedBuildInputs = [ gstPluginsBase ]; + buildInputs = [ pkgconfig bzip2 ]; + + configureFlags = "--enable-shared --disable-static --enable-ladspa"; + + meta = { + homepage = "http://gstreamer.freedesktop.org/releases/gst-ffmpeg/${version}.html"; + + description = "GStreamer's plug-in using FFmpeg"; + + license = "GPLv2+"; + }; + } |