summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-02-24 14:37:02 +0000
committerMarinus Schraal <foser@gentoo.org>2003-02-24 14:37:02 +0000
commita2507c51607962b42a404f8c4fc482fb6e974479 (patch)
treedbbfae4b217a93740a0cc10cbf14038027947dd9 /media-libs/gst-plugins
parentsmall dep fix too (diff)
downloadhistorical-a2507c51607962b42a404f8c4fc482fb6e974479.tar.gz
historical-a2507c51607962b42a404f8c4fc482fb6e974479.tar.bz2
historical-a2507c51607962b42a404f8c4fc482fb6e974479.zip
cleanup revision
Diffstat (limited to 'media-libs/gst-plugins')
-rw-r--r--media-libs/gst-plugins/ChangeLog8
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r31
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.6.0-r3.ebuild166
3 files changed, 174 insertions, 1 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog
index e1a6afbe2bd7..50791312927c 100644
--- a/media-libs/gst-plugins/ChangeLog
+++ b/media-libs/gst-plugins/ChangeLog
@@ -1,7 +1,13 @@
# 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.26 2003/02/19 20:16:46 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.27 2003/02/24 14:37:02 foser Exp $
+
+*gst-plugins-0.6.0-r3 (24 Feb 2003)
+
+ 24 Feb 2003; foser <foser@gentoo.org> gst-plugins-0.6.0-r3.ebuild :
+ Cleaned up, removed some deps to get a more reasonable deplist
+ This will remove (minor) functionality
*gst-plugins-0.6.0-r2 (18 Feb 2003)
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r3 b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r3
new file mode 100644
index 000000000000..8195a933e515
--- /dev/null
+++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.0-r3
@@ -0,0 +1 @@
+MD5 6548e5cde239dff066f1eb5b9f62fec5 gst-plugins-0.6.0.tar.bz2 1876447
diff --git a/media-libs/gst-plugins/gst-plugins-0.6.0-r3.ebuild b/media-libs/gst-plugins/gst-plugins-0.6.0-r3.ebuild
new file mode 100644
index 000000000000..e63ed81f6a72
--- /dev/null
+++ b/media-libs/gst-plugins/gst-plugins-0.6.0-r3.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2003 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.6.0-r3.ebuild,v 1.1 2003/02/24 14:37:02 foser 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]}
+
+IUSE="encode quicktime mpeg jpeg esd gnome mikmod sdl png alsa arts dvd aalib oggvorbis mmx"
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Additional plugins for gstreamer - streaming media framework"
+HOMEPAGE="http://gstreamer.sourceforge.net"
+
+SLOT=${PV_MAJ_MIN}
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+# 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}
+
+ # 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
+
+ # 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 --enable-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}
+}