diff options
author | Zaheer Abbas Merali <zaheerm@gentoo.org> | 2005-04-25 16:40:34 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerm@gentoo.org> | 2005-04-25 16:40:34 +0000 |
commit | af9186074393be2fc6e81fbc68a2ab41a9be4f62 (patch) | |
tree | 72557a72ff3d3d3272063388b241c174ea82262a /media-plugins/gst-plugins-pitfdll | |
parent | cleaning (diff) | |
download | gentoo-2-af9186074393be2fc6e81fbc68a2ab41a9be4f62.tar.gz gentoo-2-af9186074393be2fc6e81fbc68a2ab41a9be4f62.tar.bz2 gentoo-2-af9186074393be2fc6e81fbc68a2ab41a9be4f62.zip |
New package thanks to Ed Catmur for the ebuild - fixes bug #90082
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-plugins/gst-plugins-pitfdll')
6 files changed, 110 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..355d711a30f2 --- /dev/null +++ b/media-plugins/gst-plugins-pitfdll/Manifest @@ -0,0 +1,3 @@ +MD5 0bd4a714314d445f10ced9a7c353659c gst-plugins-pitfdll-0.8.1.ebuild 1042 +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> |