summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/gstreamer
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2008-02-06 19:00:04 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2008-02-06 19:00:04 +0000
commit2d2aef01a5ecdda0356a398c5bf5f31c96916183 (patch)
treec3546922b2444855eebc54339890666e16922f34 /pkgs/development/libraries/gstreamer
parenta18e6606c8fbb5648b07841e6f15b1c9ded2f67c (diff)
gstreamer moved to development/libraries/gstreamer, base and good plugins added.
svn path=/nixpkgs/branches/stdenv-updates/; revision=10515
Diffstat (limited to 'pkgs/development/libraries/gstreamer')
-rw-r--r--pkgs/development/libraries/gstreamer/default.nix13
-rw-r--r--pkgs/development/libraries/gstreamer/gst-plugins-base/0.10.17.nix24
-rw-r--r--pkgs/development/libraries/gstreamer/gst-plugins-good/0.10.6.nix23
-rw-r--r--pkgs/development/libraries/gstreamer/gst-plugins-good/tag_defines.patch22
-rw-r--r--pkgs/development/libraries/gstreamer/gstreamer/0.10.17.nix20
5 files changed, 102 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/default.nix
new file mode 100644
index 000000000000..678fbdb137a0
--- /dev/null
+++ b/pkgs/development/libraries/gstreamer/default.nix
@@ -0,0 +1,13 @@
+args: with args;
+rec {
+ gstreamerFun = lib.sumArgs (selectVersion ./gstreamer "0.10.17") args;
+ gstreamer = gstreamerFun null;
+
+ gstPluginsBaseFun = lib.sumArgs (selectVersion ./gst-plugins-base "0.10.17")
+ args { inherit gstreamer; };
+ gstPluginsBase = gstPluginsBaseFun null;
+
+ gstPluginsGoodFun = lib.sumArgs (selectVersion ./gst-plugins-good "0.10.6")
+ args { inherit gstPluginsBase; };
+ gstPluginsGood = gstPluginsGoodFun null;
+}
diff --git a/pkgs/development/libraries/gstreamer/gst-plugins-base/0.10.17.nix b/pkgs/development/libraries/gstreamer/gst-plugins-base/0.10.17.nix
new file mode 100644
index 000000000000..036134c82c14
--- /dev/null
+++ b/pkgs/development/libraries/gstreamer/gst-plugins-base/0.10.17.nix
@@ -0,0 +1,24 @@
+args: with args;
+
+stdenv.mkDerivation rec {
+ name = "gst-plugins-base-" + version;
+
+ src = fetchurl {
+ url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.bz2";
+ sha256 = "03gpfhdaw7yz83y0wpq966b9dqpvw8v5kpixa1pp4mn7d5bgsb7q";
+ };
+
+ patchPhase = "sed -i 's@/bin/echo@echo@g' configure";
+
+ configureFlags = "--enable-shared --disable-static";
+
+# TODO : v4l, libvisual
+ propagatedBuildInputs = [gstreamer libX11 libXv libXext alsaLib cdparanoia
+ gnomevfs libogg libtheora libvorbis freetype pango liboil gtk];
+
+ buildInputs = [pkgconfig python];
+
+ meta = {
+ homepage = http://gstreamer.freedesktop.org;
+ };
+}
diff --git a/pkgs/development/libraries/gstreamer/gst-plugins-good/0.10.6.nix b/pkgs/development/libraries/gstreamer/gst-plugins-good/0.10.6.nix
new file mode 100644
index 000000000000..104853307725
--- /dev/null
+++ b/pkgs/development/libraries/gstreamer/gst-plugins-good/0.10.6.nix
@@ -0,0 +1,23 @@
+args: with args;
+
+stdenv.mkDerivation rec {
+ name = "gst-plugins-good-" + version;
+
+ src = fetchurl {
+ url = "${meta.homepage}/src/gst-plugins-good/${name}.tar.bz2";
+ sha256 = "0rid0gjj8nsk0r5yn4bz1xfsbp446r92wc6wp4099hilw6jxd74y";
+ };
+
+ propagatedBuildInputs = [gstPluginsBase aalib cairo flac hal libjpeg
+ zlib speex libpng libdv libcaca dbus.libs libiec61883 libavc1394 ladspaH
+ taglib ];
+ buildInputs = [pkgconfig];
+
+ configureFlags = "--enable-shared --disable-static --enable-ladspa";
+
+ patches = [ ./tag_defines.patch ];
+
+ meta = {
+ homepage = http://gstreamer.freedesktop.org;
+ };
+}
diff --git a/pkgs/development/libraries/gstreamer/gst-plugins-good/tag_defines.patch b/pkgs/development/libraries/gstreamer/gst-plugins-good/tag_defines.patch
new file mode 100644
index 000000000000..0ece094229b9
--- /dev/null
+++ b/pkgs/development/libraries/gstreamer/gst-plugins-good/tag_defines.patch
@@ -0,0 +1,22 @@
+diff -Nur gst-plugins-good0.10-0.10.6/ext/taglib/gstid3v2mux.cc gst-plugins-good0.10-0.10.6.new/ext/taglib/gstid3v2mux.cc
+--- gst-plugins-good0.10-0.10.6/ext/taglib/gstid3v2mux.cc 2007-06-13 11:21:10.000000000 +0200
++++ gst-plugins-good0.10-0.10.6.new/ext/taglib/gstid3v2mux.cc 2007-11-24 21:56:04.000000000 +0100
+@@ -532,6 +532,7 @@
+ GST_TAG_TITLE, add_text_tag, "TIT2"}, {
+ GST_TAG_ALBUM, add_text_tag, "TALB"}, {
+ GST_TAG_COPYRIGHT, add_text_tag, "TCOP"}, {
++ GST_TAG_COMPOSER, add_text_tag, "TCOM"}, {
+ GST_TAG_GENRE, add_text_tag, "TCON"}, {
+ GST_TAG_COMMENT, add_comment_tag, ""}, {
+ GST_TAG_EXTENDED_COMMENT, add_comment_tag, ""}, {
+@@ -544,7 +545,9 @@
+ GST_TAG_MUSICBRAINZ_ALBUMARTISTID, add_musicbrainz_tag, "\002"}, {
+ GST_TAG_MUSICBRAINZ_TRMID, add_musicbrainz_tag, "\003"}, {
+ GST_TAG_MUSICBRAINZ_TRACKID, add_unique_file_id_tag, ""}, {
+- GST_TAG_MUSICBRAINZ_SORTNAME, add_text_tag, "TSOP"}, {
++ GST_TAG_ARTIST_SORTNAME, add_text_tag, "TSOP"}, {
++ GST_TAG_ALBUM_SORTNAME, add_text_tag, "TSOA"}, {
++ GST_TAG_TITLE_SORTNAME, add_text_tag, "TSOT"}, {
+ GST_TAG_TRACK_NUMBER, add_count_or_num_tag, "TRCK"}, {
+ GST_TAG_TRACK_COUNT, add_count_or_num_tag, "TRCK"}, {
+ GST_TAG_ALBUM_VOLUME_NUMBER, add_count_or_num_tag, "TPOS"}, {
diff --git a/pkgs/development/libraries/gstreamer/gstreamer/0.10.17.nix b/pkgs/development/libraries/gstreamer/gstreamer/0.10.17.nix
new file mode 100644
index 000000000000..3508145c22c8
--- /dev/null
+++ b/pkgs/development/libraries/gstreamer/gstreamer/0.10.17.nix
@@ -0,0 +1,20 @@
+args: with args;
+
+stdenv.mkDerivation rec {
+ name = "gstreamer-" + version;
+
+ src = fetchurl {
+ url = "${meta.homepage}/src/gstreamer/${name}.tar.bz2";
+ sha256 = "172nqf6l6mq4r1923bph53xd6h3svha3kkrvy5cald77jgf64a24";
+ };
+
+ buildInputs = [perl bison flex pkgconfig python];
+ propagatedBuildInputs = [glib libxml2];
+
+ configureFlags = "--enable-shared --disable-static --enable-failing-tests
+ --localstatedir=/var";
+
+ meta = {
+ homepage = http://gstreamer.freedesktop.org;
+ };
+}