Added a patch
authorMarinus Schraal <foser@gentoo.org>
Sat, 2 Nov 2002 14:54:33 +0000 (14:54 +0000)
committerMarinus Schraal <foser@gentoo.org>
Sat, 2 Nov 2002 14:54:33 +0000 (14:54 +0000)
media-libs/gst-plugins/ChangeLog
media-libs/gst-plugins/files/gentoo-gst-0.4.2-launch.patch [new file with mode: 0644]
media-libs/gst-plugins/gst-plugins-0.4.2.ebuild

index 4eea3e130e32eb2f01927b9402f689fdb45e0c26..c59a4037e8be235289a89feefad814f70432a924 100644 (file)
@@ -4,6 +4,7 @@
 
   02 Nov 2002; foser <foser@gentoo.org> gst-plugins-0.4.2.ebuild :
   New minor version
+  Added patch for gst-launch-ext
 
 *gst-plugins-0.4.1-r1 (17 Oct 2002)
 
diff --git a/media-libs/gst-plugins/files/gentoo-gst-0.4.2-launch.patch b/media-libs/gst-plugins/files/gentoo-gst-0.4.2-launch.patch
new file mode 100644 (file)
index 0000000..c457972
--- /dev/null
@@ -0,0 +1,11 @@
+--- gst-plugins-0.4.2/tools/gst-launch-ext-old 2002-11-01 23:45:45.000000000 -0800
++++ gst-plugins-0.4.2/tools/gst-launch-ext     2002-11-01 23:45:55.000000000 -0800
+@@ -15,7 +15,7 @@ sub extension
+   # .tar.gz extensions do we ?
+   if ($path =~ /\./)
+   {
+-    my $ext = $path;
++    $ext = $path;
+     $ext =~ s/^.*\.//;
+   }
+   else { $ext = ""; }
index 2a7b9cabeb7dfe91f11946bb16f0d5f1e8b990f1..98611520ba37b91d8b1d8da47fbc8f784c51db2d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.4.2.ebuild,v 1.1 2002/11/01 23:51:07 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.4.2.ebuild,v 1.2 2002/11/02 14:54:33 foser Exp $
 
 inherit libtool gnome2 flag-o-matic
 
@@ -50,6 +50,12 @@ DEPEND=">=media-libs/gstreamer-0.4.2
 # disable avi for now, it doesnt work
 #      avi? ( media-video/avifile )
 
+src_unpack() {
+       unpack ${A}
+
+       # fix for gst-launch-ext
+       patch -d ${S} -p1 < ${FILESDIR}/gentoo-gst-0.4.2-launch.patch
+}
 
 src_compile() {
        elibtoolize