summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-09-07 19:33:11 +0000
committerMarinus Schraal <foser@gentoo.org>2003-09-07 19:33:11 +0000
commit7391ffa697cfed4b3be5ae2e86681e2f31b8bcdc (patch)
treed169f3e15d57ae11f35ec9e72986da3f7766a282 /media-libs/gst-plugins
parentAdded fix for bug #15314. (diff)
downloadgentoo-2-7391ffa697cfed4b3be5ae2e86681e2f31b8bcdc.tar.gz
gentoo-2-7391ffa697cfed4b3be5ae2e86681e2f31b8bcdc.tar.bz2
gentoo-2-7391ffa697cfed4b3be5ae2e86681e2f31b8bcdc.zip
new version 'n cleanup
Diffstat (limited to 'media-libs/gst-plugins')
-rw-r--r--media-libs/gst-plugins/ChangeLog7
-rw-r--r--media-libs/gst-plugins/Manifest23
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.5.21
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r41
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.6.31
-rw-r--r--media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch39
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.5.2.ebuild115
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.6.0-r4.ebuild169
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.6.3.ebuild96
9 files changed, 113 insertions, 339 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog
index 336e6649dcfc..cc9ca4f4ddfc 100644
--- a/media-libs/gst-plugins/ChangeLog
+++ b/media-libs/gst-plugins/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for media-libs/gst-plugins
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.38 2003/08/24 16:04:20 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.39 2003/09/07 19:33:01 foser Exp $
+
+*gst-plugins-0.6.3 (07 Sep 2003)
+
+ 07 Sep 2003; foser <foser@gentoo.org> gst-plugins-0.6.3.ebuild :
+ New ebuild, uses the new eclass structure
*gst-plugins-0.5.2-r1 (24 Aug 2003)
diff --git a/media-libs/gst-plugins/Manifest b/media-libs/gst-plugins/Manifest
index 44e6929fe045..4fdb4d259df3 100644
--- a/media-libs/gst-plugins/Manifest
+++ b/media-libs/gst-plugins/Manifest
@@ -1,20 +1,17 @@
-MD5 2e3bb4376ce13e9bd3bfb7603477a1fd ChangeLog 6798
-MD5 5fa6fa2eefe27759e4a267185a25cf43 gst-plugins-0.5.2.ebuild 3573
-MD5 74615bee4a8fd7b4290c6e21a463df86 gst-plugins-0.6.0-r4.ebuild 5243
+MD5 47c275ef9e5c4a526a7bbc1b4ed655a5 gst-plugins-0.6.2-r1.ebuild 5045
MD5 d01bbe3b5200a4fbf2adc395ff27b6ce gst-plugins-0.6.1.ebuild 4861
-MD5 aea651e1d0a0ca36c450011e800cb576 gst-plugins-0.6.2.ebuild 4972
+MD5 5505ac471771582f9346595040779d2f gst-plugins-0.6.3.ebuild 2288
MD5 86f702f9cb66610bbd1a29d81321fddb gst-plugins-0.6.2-r5.ebuild 2283
+MD5 aea651e1d0a0ca36c450011e800cb576 gst-plugins-0.6.2.ebuild 4972
+MD5 9b1b32467f2b148dadb24faa67b30ba8 ChangeLog 6944
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 47c275ef9e5c4a526a7bbc1b4ed655a5 gst-plugins-0.6.2-r1.ebuild 5045
-MD5 19d8eb05023c45d2a1b2e7af6bb44d96 files/digest-gst-plugins-0.5.2 71
-MD5 2af3f44c3431626eea2cb8fd2f87fe90 files/digest-gst-plugins-0.6.0-r4 71
+MD5 c416f328737707f685267ea1dcf14272 files/digest-gst-plugins-0.6.2-r1 71
+MD5 c416f328737707f685267ea1dcf14272 files/digest-gst-plugins-0.6.2-r5 71
+MD5 1934516009a2cf836520961cd1fd0085 files/gst-plugins-0.6.2-rm_cflags.patch 2542
MD5 497c4febffa64787dea6e4771fb6b72b files/digest-gst-plugins-0.6.1 71
+MD5 c416f328737707f685267ea1dcf14272 files/digest-gst-plugins-0.6.2 71
+MD5 ad7d13e5c42638d153311159e0c64028 files/digest-gst-plugins-0.6.3 71
+MD5 f7aac3ba492d4e54ae14ebeabc3299d4 files/libmpeg2.patch 878
MD5 f4d299412b70de18060a4226c6fa981f files/gst-plugins-0.6-disable_ffmpeg_mpeg_typefind.patch 923
MD5 548125c96ab562221dc0509e485d0f5a files/gst-plugins-0.6-ffmpeg_ldflags.patch 1858
-MD5 39565eecc2e30c6d1ea9878a944d67b6 files/gst-plugins-0.6-ogg_detection_fix.patch 1242
MD5 04bb0cdc1431b53db92b658a3c9fa6dd files/noppcasm.patch 1431
-MD5 c416f328737707f685267ea1dcf14272 files/digest-gst-plugins-0.6.2 71
-MD5 c416f328737707f685267ea1dcf14272 files/digest-gst-plugins-0.6.2-r5 71
-MD5 f7aac3ba492d4e54ae14ebeabc3299d4 files/libmpeg2.patch 878
-MD5 c416f328737707f685267ea1dcf14272 files/digest-gst-plugins-0.6.2-r1 71
-MD5 1934516009a2cf836520961cd1fd0085 files/gst-plugins-0.6.2-rm_cflags.patch 2542
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.5.2 b/media-libs/gst-plugins/files/digest-gst-plugins-0.5.2
deleted file mode 100644
index d765ce3a8a7c..000000000000
--- a/media-libs/gst-plugins/files/digest-gst-plugins-0.5.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b0983ad64705b38b02a0c266a94bb4d5 gst-plugins-0.5.2.tar.bz2 1859340
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r4 b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r4
deleted file mode 100644
index 8195a933e515..000000000000
--- a/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6548e5cde239dff066f1eb5b9f62fec5 gst-plugins-0.6.0.tar.bz2 1876447
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.6.3 b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.3
new file mode 100644
index 000000000000..486547c0c691
--- /dev/null
+++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.3
@@ -0,0 +1 @@
+MD5 3cc128c526e1537267df74fd201b7376 gst-plugins-0.6.3.tar.bz2 1960994
diff --git a/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch b/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch
deleted file mode 100644
index b21f6faff4aa..000000000000
--- a/media-libs/gst-plugins/files/gst-plugins-0.6-ogg_detection_fix.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -ur gst-plugins-0.6.0/ext/vorbis/vorbis.c gst-plugins-0.6.0.oggpatch/ext/vorbis/vorbis.c
---- gst-plugins-0.6.0/ext/vorbis/vorbis.c 2002-10-30 21:30:58.000000000 +0100
-+++ gst-plugins-0.6.0.oggpatch/ext/vorbis/vorbis.c 2003-02-18 17:52:43.000000000 +0100
-@@ -85,11 +85,31 @@
- vorbis_type_find (GstBuffer *buf, gpointer private)
- {
- gulong head = GULONG_FROM_BE (*((gulong *)GST_BUFFER_DATA (buf)));
-+ gint offset;
-+ guint8 *data;
-+ gint size;
-+
-+ data = GST_BUFFER_DATA (buf);
-+ size = GST_BUFFER_SIZE (buf);
-+
-+ if (head == 0x4F676753) {
-+ return gst_caps_new ("vorbis_type_find", "application/x-ogg", NULL);
-+ } else {
-+ /* checks for existance of vorbis identification header in case there's an ID3 tag */
-+ for (offset = 0; offset < size-7; offset++) {
-+ if ( data[offset] == 0x01 &&
-+ data[offset+1] == 'v' &&
-+ data[offset+2] == 'o' &&
-+ data[offset+3] == 'r' &&
-+ data[offset+4] == 'b' &&
-+ data[offset+5] == 'i' &&
-+ data[offset+6] == 's' ) {
-+ return gst_caps_new ("vorbis_type_find", "application/x-ogg", NULL);
-+ }
-+ }
-+ }
-
-- if (head != 0x4F676753)
-- return NULL;
--
-- return gst_caps_new ("vorbis_type_find", "application/x-ogg", NULL);
-+ return NULL;
- }
-
-
diff --git a/media-libs/gst-plugins/gst-plugins-0.5.2.ebuild b/media-libs/gst-plugins/gst-plugins-0.5.2.ebuild
deleted file mode 100644
index 263344681689..000000000000
--- a/media-libs/gst-plugins/gst-plugins-0.5.2.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.5.2.ebuild,v 1.5 2003/09/06 23:59:48 msterret Exp $
-
-inherit eutils libtool gnome2 flag-o-matic
-
-
-DESCRIPTION="Additional plugins for gstreamer - streaming media framework"
-# bz2 gives 404 right now
-#SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.bz2"
-#SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.gz"
-HOMEPAGE="http://gstreamer.sourceforge.net"
-
-LICENSE="LGPL-2.1"
-SLOT="0.5"
-KEYWORDS="~x86 ~sparc ~ppc"
-IUSE="encode quicktime mpeg oggvorbis jpeg esd gnome mikmod avi sdl png alsa arts dvd aalib"
-
-# required packages
-# there are many many optional libraries. features are compiled if the libraries
-# are present. most optional libraries are from gnome.
-DEPEND="=media-libs/gstreamer-${PV}*
- >=gnome-base/gconf-1.2.0
- media-sound/mad
- media-libs/flac
- media-sound/cdparanoia
- media-libs/hermes
- >=media-libs/libdv-0.9.5
- encode? ( media-sound/lame )
- quicktime? ( media-libs/openquicktime )
- mpeg? ( =media-libs/libmpeg2-0.3.1* )
- oggvorbis? ( media-libs/libvorbis
- media-libs/libogg )
- jpeg? ( media-video/mjpegtools
- mmx? ( >=media-libs/jpeg-mmx-1.1.2-r1 ) )
- esd? ( media-sound/esound )
- gnome? ( >=gnome-base/gnome-vfs-2.0.1 )
- mikmod? ( media-libs/libmikmod )
- sdl? ( media-libs/libsdl )
- png? ( >=media-libs/libpng-1.2.3 )
- alsa? ( >=media-libs/alsa-lib-0.9.0_rc2
- media-sound/jack-audio-connection-kit )
- arts? ( >=kde-base/arts-1.0.2 )
- dvd? ( media-libs/libdvdnav )
- aalib? ( media-libs/aalib )
- media-libs/ladspa-sdk"
-
-# disable avi for now, it doesnt work
-# avi? ( media-video/avifile )
-
-src_compile() {
- elibtoolize
-
- # gst doesnt handle optimisations well
- strip-flags
- replace-flags "-O3" "-O2"
-
- # this is an ugly patch to remove -I/usr/include from some CFLAGS
- # patch -p0 < ${FILESDIR}/${P}-configure.patch
-
- local myconf=""
-
- # FIXME : do this for _all_ IUSE flags
- use avi \
- && myconf="${myconf} --enable-avifile" \
- || myconf="${myconf} --disable-avifile"
- use aalib \
- && myconf="${myconf} --enable-aalib" \
- || myconf="${myconf} --disable-aalib"
- use dvd \
- && myconf="${myconf} --enable-dvdread --enable-dvdnav \
- --enable-libdv" \
- || myconf="${myconf} --disable-dvdread --disable-dvdnav \
- --disable-libdv"
- use esd \
- && myconf="${myconf} --enable-esd --enable-esdtest" \
- || myconf="${myconf} --disable-esd --disable-esdtest"
- use gnome \
- && myconf="${myconf} --enable-gnome_vfs" \
- || myconf="${myconf} --disable-gnome_vfs"
- use encode \
- && myconf="${myconf} --enable-lame" \
- || myconf="${myconf} --disable-lame"
- use quicktime \
- && myconf="${myconf} --enable-openquicktime" \
- || myconf="${myconf} --disable-openquicktime"
- use mpeg \
- && myconf="${myconf} --enable-mpeg2dec" \
- || myconf="${myconf} --disable-mpeg2dec"
- use oggvorbis \
- && myconf="${myconf} --enable-vorbis --enable-vorbistest" \
- || myconf="${myconf} --disable-vorbis --disable-vorbistest"
-
- # qcam doesn't work on PPC
- use ppc && myconf="${myconf} --disable-qcam"
- # not testing for much here, since if its in USE we want it, but its autodetected by configure
-
- econf ${myconf} \
- || die "./configure failed"
-
- emake || make || die
-}
-
-src_install () {
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
- make DESTDIR=${D} install || die
- unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
-
- dodoc AUTHORS COPYING INSTALL README RELEASE TODO
-}
-
-pkg_postinst () {
- gnome2_gconf_install
- gst-register
-}
diff --git a/media-libs/gst-plugins/gst-plugins-0.6.0-r4.ebuild b/media-libs/gst-plugins/gst-plugins-0.6.0-r4.ebuild
deleted file mode 100644
index d99a6a2ec33a..000000000000
--- a/media-libs/gst-plugins/gst-plugins-0.6.0-r4.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.6.0-r4.ebuild,v 1.8 2003/09/06 23:59:48 msterret Exp $
-
-inherit eutils libtool gnome2 flag-o-matic
-
-# Create a major/minor combo for our SLOT and executables suffix
-PVP=($(echo " $PV " | sed 's:[-\._]: :g'))
-PV_MAJ_MIN=${PVP[0]}.${PVP[1]}
-
-DESCRIPTION="Additional plugins for gstreamer - streaming media framework"
-HOMEPAGE="http://gstreamer.sourceforge.net"
-
-LICENSE="LGPL-2.1"
-SLOT=${PV_MAJ_MIN}
-KEYWORDS="x86 ~sparc ppc"
-IUSE="encode quicktime mpeg jpeg esd gnome mikmod sdl png alsa arts dvd aalib oggvorbis mmx"
-
-# required packages
-# there are many many optional libraries. features are compiled if the libraries
-# are present. most optional libraries are from gnome.
-
-# TODO: I think we should split up these plugins in seperate ebuilds
-
-RDEPEND="=media-libs/gstreamer-${PV}*
-
- media-sound/mad
- media-libs/hermes
-
- oggvorbis? ( media-libs/libvorbis
- media-libs/libogg )
- encode? ( media-sound/lame )
- quicktime? ( media-libs/openquicktime )
- mpeg? ( =media-libs/libmpeg2-0.3.1* )
- esd? ( media-sound/esound )
- gnome? ( >=gnome-base/gnome-vfs-2.0.1 )
- mikmod? ( media-libs/libmikmod )
- sdl? ( media-libs/libsdl )
- jpeg? ( mmx? ( media-video/mjpegtools ) )
- jpeg? ( media-libs/jpeg )
- png? ( >=media-libs/libpng-1.2.3 )
- alsa? ( >=media-libs/alsa-lib-0.9.0_rc2 )
- arts? ( >=kde-base/arts-1.0.2 )
- dvd? ( media-libs/libdvdnav
- media-libs/libdvdread )
- aalib? ( media-libs/aalib )"
-
-# Some ditched minor plugins to bring number of deps down
-# >=media-libs/flac-1.0.3
-# virtual/jack
-# media-libs/ladspa-sdk"
-# >=media-libs/libdv-0.9.5
-# media-sound/cdparanoia
-
-DEPEND="${RDEPEND}
- >=gnome-base/gconf-1.2.0
- >=dev-util/pkgconfig-0.9"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # ppc asm included in the resample plugin seems to be broken,
- # using a slower but working version for now
- epatch ${FILESDIR}/noppcasm.patch
-
- # ffmpeg libs fix
- use oggvorbis && epatch ${FILESDIR}/${PN}-${PV_MAJ_MIN}-ffmpeg_ldflags.patch
- # ogg with id3 tag detection fix by <foser@gentoo.org>
- epatch ${FILESDIR}/${PN}-${PV_MAJ_MIN}-ogg_detection_fix.patch
- # disable ffmpeg mpeg typefind, to fix mp3 misdetection by <foser@gentoo.org>
- epatch ${FILESDIR}/${PN}-${PV_MAJ_MIN}-disable_ffmpeg_mpeg_typefind.patch
-
- # fix the scripts
- cd ${S}/tools
- mv gst-launch-ext gst-launch-ext.old
- sed -e "s:gst-launch :gst-launch-${PV_MAJ_MIN} :" \
- -e "s:gst-launch-ext:gst-launch-ext-${PV_MAJ_MIN}:" gst-launch-ext.old > gst-launch-ext
- chmod +x gst-launch-ext
-
- mv gst-visualise gst-visualise.old
- sed -e "s:gst-launch :gst-launch-${PV_MAJ_MIN} :" \
- -e "s:gst-visualise:gst-visualise-${PV_MAJ_MIN}:" gst-visualise.old > gst-visualise
- chmod +x gst-visualise
-}
-
-src_compile() {
- elibtoolize
-
- # gst doesnt handle optimisations well
- strip-flags
- replace-flags "-O3" "-O2"
-
- local myconf=""
-
- # temp disable (#15989)
- myconf="--disable-v4l --disable-v4l2"
-
- # FIXME : do this for _all_ IUSE flags
- use aalib \
- && myconf="${myconf} --enable-aalib" \
- || myconf="${myconf} --disable-aalib"
- use dvd \
- && myconf="${myconf} --enable-dvdread --enable-dvdnav" \
- || myconf="${myconf} --disable-dvdread --disable-dvdnav"
- use esd \
- && myconf="${myconf} --enable-esd" \
- || myconf="${myconf} --disable-esd"
- use alsa \
- && myconf="${myconf} --enable-alsa" \
- || myconf="${myconf} --disable-alsa"
- use arts \
- && myconf="${myconf} --enable-arts --enable-artsc" \
- || myconf="${myconf} --disable-arts --disable-artsc"
- use encode \
- && myconf="${myconf} --enable-lame" \
- || myconf="${myconf} --disable-lame"
- use jpeg \
- && myconf="${myconf} --enable-jpeg" \
- || myconf="${myconf} --disable-jpeg"
- use jpeg && use mmx \
- && myconf="${myconf} --enable-mjpegtools" \
- || myconf="${myconf} --disable-mjpegtools"
- use png \
- && myconf="${myconf} --enable-png" \
- || myconf="${myconf} --disable-png"
- use gnome \
- && myconf="${myconf} --enable-gnome_vfs" \
- || myconf="${myconf} --disable-gnome_vfs"
- use encode \
- && myconf="${myconf} --enable-lame" \
- || myconf="${myconf} --disable-lame"
- use quicktime \
- && myconf="${myconf} --enable-openquicktime" \
- || myconf="${myconf} --disable-openquicktime"
- use mpeg \
- && myconf="${myconf} --enable-mpeg2dec" \
- || myconf="${myconf} --disable-mpeg2dec"
- use sdl \
- && myconf="${myconf} --enable-sdl --enable-sdltest" \
- || myconf="${myconf} --disable-sdl --disable-sdltest"
- use oggvorbis \
- && myconf="${myconf} --enable-vorbis --enable-vorbistest" \
- || myconf="${myconf} --disable-vorbis --disable-vorbistest"
- use mikmod \
- && myconf="${myconf} --enable-mikmod --enable-libmikmodtest" \
- || myconf="${myconf} --disable-mikmod --disable-libmikmodtest"
-
- # qcam doesn't work on PPC
- use ppc && myconf="${myconf} --disable-qcam"
-
- econf ${myconf} \
- --program-suffix=-${PV_MAJ_MIN} \
- || die "./configure failed"
-
- emake || make || die
-}
-
-src_install () {
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
- make DESTDIR=${D} install || die
- unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
-
- dodoc AUTHORS COPYING INSTALL README RELEASE TODO
-}
-
-pkg_postinst () {
- gnome2_gconf_install
- gst-register-${PV_MAJ_MIN}
-}
diff --git a/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild b/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild
new file mode 100644
index 000000000000..6b8dbc6037ba
--- /dev/null
+++ b/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild,v 1.1 2003/09/07 19:33:01 foser Exp $
+
+# IMPORTANT
+#
+# Since gst-plugins uses a local copy of ffmpeg we consider this a non-external plugin
+# In essence this means gst-plugins without any external plugins already provides a
+# wide range of audio/video codecs
+#
+# This may change in the future, but for now 3rd-party apps do probably not need to depend
+# on mpeg/avi plugins etcetera unless they are directly referenced
+
+inherit gnome2 gst-plugins eutils flag-o-matic
+
+DESCRIPTION="Base pack of plugins for gstreamer"
+HOMEPAGE="http://gstreamer.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+
+# TODO : gconf support is also optional
+
+RDEPEND="=media-libs/gstreamer-${PV}*
+ >=gnome-base/gconf-1.2"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9"
+
+BUILD_GST_PLUGINS="ffmpeg"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+ # ppc asm included in the resample plugin seems to be broken,
+ # using a slower but working version for now
+ epatch ${FILESDIR}/noppcasm.patch
+
+ # patch for changing types in >libmpeg-0.3.1
+ if grep -q mpeg2_picture ${ROOT}/usr/include/mpeg2dec/mpeg2.h; then
+ epatch ${FILESDIR}/libmpeg2.patch
+ fi
+
+ # fix the scripts
+ cd ${S}/tools
+ mv gst-launch-ext gst-launch-ext.old
+ sed -e "s:gst-launch :gst-launch-${PV_MAJ_MIN} :" \
+ -e "s:gst-launch-ext:gst-launch-ext-${PV_MAJ_MIN}:" gst-launch-ext.old > gst-launch-ext
+ chmod +x gst-launch-ext
+
+ mv gst-visualise gst-visualise.old
+ sed -e "s:gst-launch :gst-launch-${PV_MAJ_MIN} :" \
+ -e "s:gst-visualise:gst-visualise-${PV_MAJ_MIN}:" gst-visualise.old > gst-visualise
+ chmod +x gst-visualise
+}
+
+src_compile() {
+
+ elibtoolize
+
+ # gst doesnt handle optimisations well
+ strip-flags
+ replace-flags "-O3" "-O2"
+ filter-flags "-fprefetch-loop-arrays" # see bug 22249
+
+ gst-plugins_src_configure --program-suffix=-${PV_MAJ_MIN}
+
+ emake || die
+
+}
+
+src_install() {
+
+ einstall || die
+
+ dodoc AUTHORS COPYING INSTALL README RELEASE TODO
+
+}
+
+pkg_postinst () {
+
+ gnome2_pkg_postinst
+ gst-plugins_pkg_postinst
+
+}
+
+pkg_postrm() {
+
+ gnome2_pkg_postrm
+ gst-plugins_pkg_postrm
+
+}