summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix')
-rw-r--r--pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix b/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix
new file mode 100644
index 000000000000..4c09b46ccd34
--- /dev/null
+++ b/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix
@@ -0,0 +1,31 @@
+{ fetchurl, stdenv, pkgconfig, python, gstreamer
+, libX11, libXv, libXext, alsaLib, cdparanoia , libogg
+, libtheora, libvorbis, freetype, pango
+, liboil, gtk, which, gtkdoc }:
+
+stdenv.mkDerivation rec {
+  name = "gst-plugins-base-0.10.22";
+
+  src = fetchurl {
+    url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.bz2";
+    sha256 = "1yfmkji12gn8cl2nmgs8bbdadnc5hrywn0zwfsi3izpb0gnmlk0q";
+  };
+
+  patchPhase = "sed -i 's@/bin/echo@echo@g' configure";
+
+  configureFlags = "--enable-shared --disable-static";
+
+# TODO : v4l, libvisual
+  propagatedBuildInputs = [gstreamer libX11 libXv libXext alsaLib cdparanoia
+    libogg libtheora libvorbis freetype pango liboil gtk which gtkdoc];
+
+  buildInputs = [pkgconfig python];
+
+  meta = {
+    homepage = http://gstreamer.freedesktop.org;
+
+    description = "Base plug-ins for GStreamer";
+
+    license = "LGPLv2+";
+  };
+}