summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2002-11-01 23:51:07 +0000
committerMarinus Schraal <foser@gentoo.org>2002-11-01 23:51:07 +0000
commit3ed7ed83f260cdef48b054897fececdba81afdc6 (patch)
tree1ba3c17e700155b127ab6fba12d97bd256ce8a16 /media-libs
parentAdded fix for f-prot.sh. See bug #7326 (diff)
downloadhistorical-3ed7ed83f260cdef48b054897fececdba81afdc6.tar.gz
historical-3ed7ed83f260cdef48b054897fececdba81afdc6.tar.bz2
historical-3ed7ed83f260cdef48b054897fececdba81afdc6.zip
New version
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gst-plugins/ChangeLog5
-rw-r--r--media-libs/gst-plugins/files/digest-gst-plugins-0.4.21
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.4.2.ebuild117
-rw-r--r--media-libs/gstreamer/ChangeLog7
-rw-r--r--media-libs/gstreamer/files/digest-gstreamer-0.4.21
-rw-r--r--media-libs/gstreamer/gstreamer-0.4.2.ebuild64
6 files changed, 194 insertions, 1 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog
index 7f3c1e83a604..4eea3e130e32 100644
--- a/media-libs/gst-plugins/ChangeLog
+++ b/media-libs/gst-plugins/ChangeLog
@@ -1,5 +1,10 @@
# ChangeLog for media-libs/gstreamer-plugins
+*gst-plugins-0.4.2 (02 Nov 2002)
+
+ 02 Nov 2002; foser <foser@gentoo.org> gst-plugins-0.4.2.ebuild :
+ New minor version
+
*gst-plugins-0.4.1-r1 (17 Oct 2002)
17 Oct 2002; foser <foser@gentoo.org> gst-plugins-0.4.1-r1.ebuild :
diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.4.2 b/media-libs/gst-plugins/files/digest-gst-plugins-0.4.2
new file mode 100644
index 000000000000..d31363476a96
--- /dev/null
+++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.4.2
@@ -0,0 +1 @@
+MD5 f2d499cf117408b5a4adc7a0d71eb095 gst-plugins-0.4.2.tar.gz 1937052
diff --git a/media-libs/gst-plugins/gst-plugins-0.4.2.ebuild b/media-libs/gst-plugins/gst-plugins-0.4.2.ebuild
new file mode 100644
index 000000000000..2a7b9cabeb7d
--- /dev/null
+++ b/media-libs/gst-plugins/gst-plugins-0.4.2.ebuild
@@ -0,0 +1,117 @@
+# 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.2.ebuild,v 1.1 2002/11/01 23:51:07 foser Exp $
+
+inherit libtool gnome2 flag-o-matic
+
+IUSE="encode quicktime mpeg oggvorbis jpeg esd gnome mikmod avi sdl png alsa arts dvd aalib"
+S=${WORKDIR}/${P}
+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"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~sparc ~sparc64"
+
+# 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.2
+ >=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.2.1 )
+ oggvorbis? ( media-libs/libvorbis
+ media-libs/libogg )
+ 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 )
+ 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
+ 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"
+
+ # not testing for much here, since if its in USE we want it, but its autodetected by configure
+
+ econf ${myconf} \
+ || 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 () {
+ gnome2_gconf_install
+ gst-register
+}
diff --git a/media-libs/gstreamer/ChangeLog b/media-libs/gstreamer/ChangeLog
index 2d9c9c2b3abe..9396e42fa2cb 100644
--- a/media-libs/gstreamer/ChangeLog
+++ b/media-libs/gstreamer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/gstreamer
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.8 2002/10/18 00:06:52 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.9 2002/11/01 23:51:07 foser Exp $
+
+*gstreamer-0.4.2 (02 Nov 2002)
+
+ 02 Nov 2002; foser <foser@gentoo.org> gstreamer-0.4.2.ebuild :
+ New minor version
*gstreamer-0.4.1-r2 (17 Oct 2002)
diff --git a/media-libs/gstreamer/files/digest-gstreamer-0.4.2 b/media-libs/gstreamer/files/digest-gstreamer-0.4.2
new file mode 100644
index 000000000000..df174844da32
--- /dev/null
+++ b/media-libs/gstreamer/files/digest-gstreamer-0.4.2
@@ -0,0 +1 @@
+MD5 c9e4eed8bac71f52044e2b28356c81ef gstreamer-0.4.2.tar.bz2 1003933
diff --git a/media-libs/gstreamer/gstreamer-0.4.2.ebuild b/media-libs/gstreamer/gstreamer-0.4.2.ebuild
new file mode 100644
index 000000000000..d363ae7396d0
--- /dev/null
+++ b/media-libs/gstreamer/gstreamer-0.4.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.4.2.ebuild,v 1.1 2002/11/01 23:51:07 foser Exp $
+
+inherit flag-o-matic
+
+IUSE="doc"
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="Streaming media framework"
+SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.bz2"
+HOMEPAGE="http://gstreamer.sourceforge.net"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+DEPEND=">=dev-libs/glib-2.0.4
+ >=dev-libs/libxml2-2.4
+ >=dev-libs/popt-1.5
+ doc? ( >=dev-util/gtk-doc-0.9
+ media-gfx/transfig
+ dev-libs/libxslt
+ app-text/xmltex
+ app-text/xpdf
+ app-text/ghostscript )
+ x86? ( >=dev-lang/nasm-0.90 )
+ >=sys-libs/zlib-1.1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # patch for problems compiling when specifying USE="doc"
+ patch -p1 < ${FILESDIR}/xsl.diff || die "patch failed"
+}
+
+src_compile() {
+ strip-flags
+ replace-flags "-O3" "-O2"
+
+ local myconf
+ use doc \
+ && myconf="${myconf} --enable-docs-build" \
+ || myconf="${myconf} --disable-docs-build"
+
+ econf \
+ --with-configdir=/etc/gstreamer \
+ --disable-tests --disable-examples \
+ ${myconf} || die "./configure failed"
+
+ emake || die "compile failed"
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS ChangeLog COPYING* DEVEL NEWS \
+ README RELEASE REQUIREMENTS TODO
+}
+
+pkg_postinst () {
+ gst-register
+}