diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-06-10 15:14:11 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-06-10 15:14:11 +0000 |
commit | cb09310b9ddec7e9b46ac94213172171f237f6d5 (patch) | |
tree | 8e78af8a68c45b5a8194d8958154610c780ae727 /media-libs | |
parent | new version (diff) | |
download | historical-cb09310b9ddec7e9b46ac94213172171f237f6d5.tar.gz historical-cb09310b9ddec7e9b46ac94213172171f237f6d5.tar.bz2 historical-cb09310b9ddec7e9b46ac94213172171f237f6d5.zip |
new version
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/gst-plugins/Manifest | 4 | ||||
-rw-r--r-- | media-libs/gst-plugins/files/digest-gst-plugins-0.6.2 | 1 | ||||
-rw-r--r-- | media-libs/gst-plugins/gst-plugins-0.6.2.ebuild | 161 |
3 files changed, 164 insertions, 2 deletions
diff --git a/media-libs/gst-plugins/Manifest b/media-libs/gst-plugins/Manifest index 829e65e8e30d..a447f0d8899c 100644 --- a/media-libs/gst-plugins/Manifest +++ b/media-libs/gst-plugins/Manifest @@ -1,8 +1,8 @@ MD5 c1d9aa15052706cd153ef3606c6c5d4a gst-plugins-0.6.1.ebuild 4886 MD5 ed1098fc6fc652058313737e83c2cd78 gst-plugins-0.6.0-r4.ebuild 5285 MD5 a3837d854666660a6a48a2fd6bb16912 gst-plugins-0.5.2.ebuild 3615 -MD5 01a6642005c14b3b91433b78db1eb23c gst-plugins-0.6.2.ebuild 4844 -MD5 bab0d2da403b7b26192ce25ee5ac7c2a ChangeLog 5825 +MD5 4ef34bcfd778c23ef289ccf7220403f8 gst-plugins-0.6.2.ebuild 4818 +MD5 de6d771096e49a9866778863128ad0c0 ChangeLog 6000 MD5 2af3f44c3431626eea2cb8fd2f87fe90 files/digest-gst-plugins-0.6.0-r4 71 MD5 39565eecc2e30c6d1ea9878a944d67b6 files/gst-plugins-0.6-ogg_detection_fix.patch 1242 MD5 19d8eb05023c45d2a1b2e7af6bb44d96 files/digest-gst-plugins-0.5.2 71 diff --git a/media-libs/gst-plugins/files/digest-gst-plugins-0.6.2 b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.2 new file mode 100644 index 000000000000..d3c9de65af1e --- /dev/null +++ b/media-libs/gst-plugins/files/digest-gst-plugins-0.6.2 @@ -0,0 +1 @@ +MD5 421447896753ebecaeba9d4bf60d3776 gst-plugins-0.6.2.tar.bz2 1894462 diff --git a/media-libs/gst-plugins/gst-plugins-0.6.2.ebuild b/media-libs/gst-plugins/gst-plugins-0.6.2.ebuild new file mode 100644 index 000000000000..1c55ba69bfbd --- /dev/null +++ b/media-libs/gst-plugins/gst-plugins-0.6.2.ebuild @@ -0,0 +1,161 @@ +# 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.2.ebuild,v 1.1 2003/06/10 15:14:03 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" +#SRC_URI="mirror://sourceforge/gstreamer/${P}.tar.bz2" + +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}* + >=gnome-base/gconf-1.2 + + media-sound/mad + media-libs/hermes + media-sound/cdparanoia + + 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? ( 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 + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9" + +src_unpack() { + unpack ${A} + cd ${S} + # ppc asm included in the resample plugin seems to be broken, + # using a slower but working version for now + epatch ${FILESDIR}/noppcasm.patch + + # ffmpeg libs fix + use oggvorbis && epatch ${FILESDIR}/${PN}-${PV_MAJ_MIN}-ffmpeg_ldflags.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="" + + # 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 --disable-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 +} + +pkg_postinst () { + gnome2_gconf_install + gst-register-${PV_MAJ_MIN} +} + +USE_DESTDIR="1" + +DOCS="AUTHORS COPYING INSTALL README RELEASE TODO" + |