diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-08-15 21:50:16 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-08-15 21:50:16 +0000 |
commit | eca022c5bb81265d079d8343b95255e7dca7c322 (patch) | |
tree | 827ff287046c7c8e6209c681aa2de9772fdb11f0 | |
parent | and gst-plugins fix (diff) | |
download | gentoo-2-eca022c5bb81265d079d8343b95255e7dca7c322.tar.gz gentoo-2-eca022c5bb81265d079d8343b95255e7dca7c322.tar.bz2 gentoo-2-eca022c5bb81265d079d8343b95255e7dca7c322.zip |
a new revision that gets schemas right
-rw-r--r-- | media-libs/gst-plugins/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/gst-plugins/files/digest-gst-plugins-0.4.0-r1 | 1 | ||||
-rw-r--r-- | media-libs/gst-plugins/gst-plugins-0.4.0-r1.ebuild | 87 |
3 files changed, 93 insertions, 0 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog index 08d3e2649586..6a1f4fef8a05 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.0-r1 (15 Aug 2002) + 15 Aug 2002 ;Spider <spider@gentoo.org> gst-plugins-0.4.0-r1.ebuild : + now changed to use gnome2.eclass for schema installs + + *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 diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.4.0-r1 b/media-libs/gst-plugins/files/digest-gst-plugins-0.4.0-r1 new file mode 100644 index 000000000000..b56f93454e1f --- /dev/null +++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.4.0-r1 @@ -0,0 +1 @@ +MD5 067fa772accc1f89e42ea96534e87eda gst-plugins-0.4.0.tar.gz 1675976 diff --git a/media-libs/gst-plugins/gst-plugins-0.4.0-r1.ebuild b/media-libs/gst-plugins/gst-plugins-0.4.0-r1.ebuild new file mode 100644 index 000000000000..2abc632e0151 --- /dev/null +++ b/media-libs/gst-plugins/gst-plugins-0.4.0-r1.ebuild @@ -0,0 +1,87 @@ +# 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-r1.ebuild,v 1.1 2002/08/15 21:50:16 spider Exp $ + +inherit libtool +inherit gnome2 + +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 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.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 () { + gnome2_gconf_install + gst-register +} |