summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-07-08 06:49:07 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-07-08 06:49:07 +0000
commitf8e8e373f826615064f866760c64c71912cc3f56 (patch)
tree2598288d024f35e1442bc7c3703776276d003ff1 /media-libs
parentAdded LICENSE tag (diff)
downloadgentoo-2-f8e8e373f826615064f866760c64c71912cc3f56.tar.gz
gentoo-2-f8e8e373f826615064f866760c64c71912cc3f56.tar.bz2
gentoo-2-f8e8e373f826615064f866760c64c71912cc3f56.zip
new 0.4.0 with major dep changes, tweaks and some patching for gcc 3.1 use
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gst-plugins/ChangeLog8
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.4.01
-rw-r--r--media-libs/gst-plugins/files/gst-plugins-0.4.0-configure.patch20
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.4.0.ebuild91
4 files changed, 120 insertions, 0 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog
index d2a6cd78e302..08d3e2649586 100644
--- a/media-libs/gst-plugins/ChangeLog
+++ b/media-libs/gst-plugins/ChangeLog
@@ -1,5 +1,13 @@
# ChangeLog for media-libs/gstreamer-plugins
+*gst-plugins-0.4.0 (08 Jul 2002)
+ 08 Jul 2002; Spider <spider@gentoo.org> gst-plugins-0.4.0.ebuild :
+ now works with avifile and dv
+ added a pile of dependencies both USE and non-USE
+ created a patch to work around gcc 3.1 breakage with vorbis dvdnav and aalib (/usr/include bug)
+ working around schema installation properly
+
+
* gst-plugins-0.3.4 (03 Jul 2002)
03 Jul 2002; phoen][x <phoenix@gentoo.org> gst-plugins-0.3.4.ebuild :
added --disable-dv and --disable-avifile (Bug 4400)
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.4.0 b/media-libs/gst-plugins/files/digest-gst-plugins-0.4.0
new file mode 100644
index 000000000000..b56f93454e1f
--- /dev/null
+++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.4.0
@@ -0,0 +1 @@
+MD5 067fa772accc1f89e42ea96534e87eda gst-plugins-0.4.0.tar.gz 1675976
diff --git a/media-libs/gst-plugins/files/gst-plugins-0.4.0-configure.patch b/media-libs/gst-plugins/files/gst-plugins-0.4.0-configure.patch
new file mode 100644
index 000000000000..97eddbb8f66a
--- /dev/null
+++ b/media-libs/gst-plugins/files/gst-plugins-0.4.0-configure.patch
@@ -0,0 +1,20 @@
+--- configure.orig Mon Jul 8 07:28:37 2002
++++ configure Mon Jul 8 07:32:39 2002
+@@ -12022,7 +12022,7 @@
+ if test "$AALIB_CONFIG" = "no" ; then
+ no_aalib=yes
+ else
+- AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
++ AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags|sed s:-I/usr/include::`
+ AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
+
+ aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
+@@ -14099,7 +14099,7 @@
+ HAVE_DVDNAV=no
+ else
+ DVDNAV_LIBS=`dvdnav-config --libs `
+- DVDNAV_CFLAGS=`dvdnav-config --cflags `
++ DVDNAV_CFLAGS=`dvdnav-config --cflags |sed s:-I/usr/include::`
+ HAVE_DVDNAV=yes
+ fi
+
diff --git a/media-libs/gst-plugins/gst-plugins-0.4.0.ebuild b/media-libs/gst-plugins/gst-plugins-0.4.0.ebuild
new file mode 100644
index 000000000000..349fd791d525
--- /dev/null
+++ b/media-libs/gst-plugins/gst-plugins-0.4.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2002 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.4.0.ebuild,v 1.1 2002/07/08 06:49:07 spider Exp $
+
+inherit libtool
+#-Maintainer: Artem Baguinski <artm@v2.nl>
+# heavy modification by Spider <spider@gentoo.org>
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Additional plugins for gstreamer - streaming media framework"
+SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.gz"
+HOMEPAGE="http://gstreamer.sourceforge.net"
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="x86"
+
+
+# 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-0.4.0
+ >=gnome-base/gconf-1.2.0
+ media-sound/mad
+ dvd? ( >=media-libs/libdv-0.9.5 )
+ oggvorbis? ( media-libs/libvorbis
+ media-libs/libogg )
+ media-sound/lame
+ media-sound/cdparanoia
+ media-libs/flac
+ media-sound/jack-audio-connection-kit
+ media-libs/hermes
+ media-libs/openquicktime
+ jpeg? ( media-video/mjpegtools
+ >=media-libs/jpeg-mmx-1.1.2-r1 )
+ esd? ( media-sound/esound )
+ gnome? ( >=gnome-base/gnome-vfs-2.0.1 )
+ mikmod? ( media-libs/libmikmod )
+ avi? ( media-video/avifile )
+ sdl? ( media-libs/libsdl )
+ png? ( >=media-libs/libpng-1.2.3 )
+ alsa? ( >=media-libs/alsa-lib-0.9.0_rc2 )
+ arts? ( >=kde-base/arts-1.0.2 )
+ aalib? ( media-libs/aalib )
+ dvd? ( media-libs/libdvdnav )
+ media-libs/ladspa-sdk "
+# xmms is off-per-default
+# media-sound/xmms
+
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ elibtoolize
+ # this is an ugly patch to remove -I/usr/include from some CFLAGS
+ patch -p0 <${FILESDIR}/${P}-configure.patch
+ local myconf
+ # aalib broken, dv on to test
+ # dvdnav is broken
+ myconf="--enable-dv"
+ use avi \
+ && myconf="${myconf} --enable-avifile" \
+ || myconf="${myconf} --disable-avifile"
+ # not testing for much here, since if its in USE we want it, but its autodetected by configure
+
+ ./configure \
+ ${myconf} \
+ --without-vorbis-includes \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --oldincludedir=/usr/include \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man || die "./configure failed"
+ emake || 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 () {
+ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+ export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
+ cat ${WORKDIR}/../build-info/CONTENTS | grep "obj /etc/gconf/schemas" | sed 's:obj \([^ ]*\) .*:\1:' |while read F; do
+ /usr/bin/gconftool-2 --makefile-install-rule ${F}
+ done
+ gst-register
+}