summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerm@gentoo.org>2005-04-25 16:40:34 +0000
committerZaheer Abbas Merali <zaheerm@gentoo.org>2005-04-25 16:40:34 +0000
commit038281721438b784b08353d91e06517711cda311 (patch)
tree0865a7715378d9d81626c5f31089e27cb6a523bb /media-plugins/gst-plugins-pitfdll
parentfinished cleanup and don't provide virtual/mta anymore (it is done in mailer.... (diff)
downloadhistorical-038281721438b784b08353d91e06517711cda311.tar.gz
historical-038281721438b784b08353d91e06517711cda311.tar.bz2
historical-038281721438b784b08353d91e06517711cda311.zip
New package thanks to Ed Catmur for the ebuild - fixes bug #90082
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-plugins/gst-plugins-pitfdll')
-rw-r--r--media-plugins/gst-plugins-pitfdll/ChangeLog7
-rw-r--r--media-plugins/gst-plugins-pitfdll/Manifest5
-rw-r--r--media-plugins/gst-plugins-pitfdll/files/digest-gst-plugins-pitfdll-0.8.11
-rw-r--r--media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll.0.8.1-mutex.patch43
-rw-r--r--media-plugins/gst-plugins-pitfdll/gst-plugins-pitfdll-0.8.1.ebuild51
-rw-r--r--media-plugins/gst-plugins-pitfdll/metadata.xml5
6 files changed, 112 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-pitfdll/ChangeLog b/media-plugins/gst-plugins-pitfdll/ChangeLog
new file mode 100644
index 000000000000..fa97776b3ed8
--- /dev/null
+++ b/media-plugins/gst-plugins-pitfdll/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for media-plugins/gst-plugins-pitfdll
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-pitfdll/ChangeLog,v 1.1 2005/04/25 16:40:34 zaheerm Exp $
+
+ 25 Apr 2005; Zaheer Abbas Merali <zaheerm@gentoo.org> :
+ New package thanks to Ed Catmur for the ebuild - fixes bug #90082
+
diff --git a/media-plugins/gst-plugins-pitfdll/Manifest b/media-plugins/gst-plugins-pitfdll/Manifest
new file mode 100644
index 000000000000..6c31960fdf03
--- /dev/null
+++ b/media-plugins/gst-plugins-pitfdll/Manifest
@@ -0,0 +1,5 @@
+MD5 b93bd69152cdfaabbcba37b9a08adc98 ChangeLog 367
+MD5 d2161d34f83b2c99b393a4cfb9684f2b gst-plugins-pitfdll-0.8.1.ebuild 1173
+MD5 6050196ef420c3e4025029ebee5a813f metadata.xml 162
+MD5 3b8072e2fbbb243bd725b463bf15b558 files/gst-plugins-pitfdll.0.8.1-mutex.patch 1230
+MD5 496cd856ca2d5ecbcffef0e5853816fa files/digest-gst-plugins-pitfdll-0.8.1 66
diff --git a/media-plugins/gst-plugins-pitfdll/files/digest-gst-plugins-pitfdll-0.8.1 b/media-plugins/gst-plugins-pitfdll/files/digest-gst-plugins-pitfdll-0.8.1
new file mode 100644
index 000000000000..bb5ed150ca3d
--- /dev/null
+++ b/media-plugins/gst-plugins-pitfdll/files/digest-gst-plugins-pitfdll-0.8.1
@@ -0,0 +1 @@
+MD5 77604fa624fc550ae7661ebf2b2949fa pitfdll-0.8.1.tar.bz2 427624
diff --git a/media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll.0.8.1-mutex.patch b/media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll.0.8.1-mutex.patch
new file mode 100644
index 000000000000..19cf6854574c
--- /dev/null
+++ b/media-plugins/gst-plugins-pitfdll/files/gst-plugins-pitfdll.0.8.1-mutex.patch
@@ -0,0 +1,43 @@
+Index: qt_adec.c
+===================================================================
+RCS file: /cvsroot/pitfdll/pitfdll/ext/pitfdll/qt_adec.c,v
+retrieving revision 1.1.1.1
+diff -u -r1.1.1.1 qt_adec.c
+--- qt_adec.c 23 Apr 2005 14:43:51 -0000 1.1.1.1
++++ qt_adec.c 25 Apr 2005 15:20:20 -0000
+@@ -97,7 +97,7 @@
+ GstElementClass parent;
+ } QtAudioDecClass;
+
+-static void qt_audiodec_dispose (GObject * obj);
++static void qt_audiodec_finalize (GObject * obj);
+ static GstPadLinkReturn qt_audiodec_link (GstPad * pad, const GstCaps * caps);
+ static void qt_audiodec_chain (GstPad * pad, GstData * data);
+ static GstElementStateReturn qt_audiodec_change_state (GstElement * element);
+@@ -148,7 +148,7 @@
+ parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+
+ eklass->change_state = qt_audiodec_change_state;
+- oklass->dispose = qt_audiodec_dispose;
++ oklass->finalize = qt_audiodec_finalize;
+ }
+
+ static void
+@@ -175,7 +175,7 @@
+ }
+
+ static void
+-qt_audiodec_dispose (GObject * obj)
++qt_audiodec_finalize (GObject * obj)
+ {
+ QtAudioDec *dec = (QtAudioDec *) obj;
+
+@@ -184,7 +184,7 @@
+ dec->lock = NULL;
+ }
+
+- G_OBJECT_CLASS (parent_class)->dispose (obj);
++ G_OBJECT_CLASS (parent_class)->finalize (obj);
+ }
+
+ /*
diff --git a/media-plugins/gst-plugins-pitfdll/gst-plugins-pitfdll-0.8.1.ebuild b/media-plugins/gst-plugins-pitfdll/gst-plugins-pitfdll-0.8.1.ebuild
new file mode 100644
index 000000000000..055130fbde32
--- /dev/null
+++ b/media-plugins/gst-plugins-pitfdll/gst-plugins-pitfdll-0.8.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-pitfdll/gst-plugins-pitfdll-0.8.1.ebuild,v 1.1 2005/04/25 16:40:34 zaheerm Exp $
+
+DESCRIPTION="GStreamer plugin for Win32 DLL loading"
+HOMEPAGE="http://ronald.bitfreak.net/pitfdll.php"
+
+MY_PN=${PN/gst-plugins-/}
+MY_P=${MY_PN}-${PV}
+
+SRC_URI="mirror://sourceforge/$MY_PN/$MY_P.tar.bz2"
+
+# Create a major/minor combo for SLOT - stolen from gst-plugins-ffmpeg
+PVP=(${PV//[-\._]/ })
+SLOT=${PVP[0]}.${PVP[1]}
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND=">=media-libs/gstreamer-0.8.9
+ >=media-libs/gst-plugins-0.8.8-r1"
+RDEPEND="$DEPEND
+ media-libs/win32codecs"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/ext/pitfdll
+ epatch ${FILESDIR}/${MY_P}-mutex.patch
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}
+
+# ripped from gst-plugins.eclass
+update_registry() {
+ einfo "Updating gstreamer plugins registry for gstreamer ${SLOT}..."
+ gst-register-${SLOT}
+}
+
+pkg_postinst() {
+ update_registry
+}
+
+pkg_postrm() {
+ update_registry
+}
diff --git a/media-plugins/gst-plugins-pitfdll/metadata.xml b/media-plugins/gst-plugins-pitfdll/metadata.xml
new file mode 100644
index 000000000000..9e260ceca3e3
--- /dev/null
+++ b/media-plugins/gst-plugins-pitfdll/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gstreamer</herd>
+</pkgmetadata>