summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2004-03-21 23:58:15 +0000
committerMarinus Schraal <foser@gentoo.org>2004-03-21 23:58:15 +0000
commit83cff105550b88638f32a24ed17dd2ad7b5240b1 (patch)
tree5914ce98236f8605161dd222d4294dbd2a9503b5 /eclass
parentPull old version. (Manifest recommit) (diff)
downloadgentoo-2-83cff105550b88638f32a24ed17dd2ad7b5240b1.tar.gz
gentoo-2-83cff105550b88638f32a24ed17dd2ad7b5240b1.tar.bz2
gentoo-2-83cff105550b88638f32a24ed17dd2ad7b5240b1.zip
update eclass for gst 0.8
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gst-plugins.eclass25
1 files changed, 23 insertions, 2 deletions
diff --git a/eclass/gst-plugins.eclass b/eclass/gst-plugins.eclass
index be020c4b89d6..0a0ef686ef0b 100644
--- a/eclass/gst-plugins.eclass
+++ b/eclass/gst-plugins.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins.eclass,v 1.6 2004/03/19 13:19:09 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins.eclass,v 1.7 2004/03/21 23:58:15 foser Exp $
# Author : foser <foser@gentoo.org>
@@ -32,8 +32,11 @@ PV_MAJ_MIN=${PVP[0]}.${PVP[1]}
MY_P=gst-plugins-${PV}
# All relevant configure options for gst-plugins
-
+# need a better way to extract these
+# gstreamer 0.6
my_gst_plugins="dxr3 oss qcam v4l v4l2 vcd vga cdrom xvideo a52dec aalib aalibtest alsa arts artstest artsc audiofile avifile cdparanoia dvdread dvdnav esd esdtest flac ffmpeg gnome_vfs gsm hermes http jack jpeg ladspa lame lcs libdv libfame libfametest libpng mad mikmod libmikmodtest mjpegtools mpeg2dec openquicktime raw1394 rtp sdl sdltest shout shout2 shout2test sidplay smoothwave snapshot swfdec tarkin vorbis vorbistest xmms libmmx atomic tests examples"
+# gstreamer 0.8
+my_gst_plugins="${my_gst_plugins} divx faad gdk_pixbuf ogg sndfile x pango speex xvid mpeg2enc mplex musicbrainz nas librfb libcaca ivorbis faac"
# Extract the plugin to build from the ebuild name
# May be set by an ebuild and contain more than one indentifier, seperated by a space
@@ -112,6 +115,24 @@ gst-plugins_update_registry() {
}
+gst-plugins_remove_unversioned_binaries() {
+
+ #
+ # remove the unversioned binaries gstreamer provide
+ # this is to prevent these binaries to be owned by several SLOTs
+ #
+ # note : this is still a point of dispute
+ #
+
+ cd ${D}/usr/bin
+ for gst_bins in `ls *-${PV_MAJ_MIN}`
+ do
+ rm ${gst_bins/-${PV_MAJ_MIN}/}
+ einfo "Removed ${gst_bins/-${PV_MAJ_MIN}/}"
+ done
+
+}
+
#
# public inheritable functions
#