summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-26 12:48:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-26 12:48:38 +0000
commit37cb8df25fa316777c7b569036a98d86af29c659 (patch)
tree26b99dc38f26673e63ab54127d2087963afb7cd5 /media-libs/gst-plugins-bad
parentSnapshot with precompiled elisp files. (diff)
downloadgentoo-2-37cb8df25fa316777c7b569036a98d86af29c659.tar.gz
gentoo-2-37cb8df25fa316777c7b569036a98d86af29c659.tar.bz2
gentoo-2-37cb8df25fa316777c7b569036a98d86af29c659.zip
Stop using separate plugins, drop .la files, disable static libs to speed up. New plugins bz2, sdl, dts, gsm, jack, musicbrainz, sndfile, twolame and vcd.
(Portage version: 2.1.6.2/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'media-libs/gst-plugins-bad')
-rw-r--r--media-libs/gst-plugins-bad/ChangeLog10
-rw-r--r--media-libs/gst-plugins-bad/gst-plugins-bad-0.10.9-r1.ebuild133
-rw-r--r--media-libs/gst-plugins-bad/metadata.xml15
3 files changed, 150 insertions, 8 deletions
diff --git a/media-libs/gst-plugins-bad/ChangeLog b/media-libs/gst-plugins-bad/ChangeLog
index dbcad55ea4f5..1722870f12ea 100644
--- a/media-libs/gst-plugins-bad/ChangeLog
+++ b/media-libs/gst-plugins-bad/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/gst-plugins-bad
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-bad/ChangeLog,v 1.23 2008/12/05 22:35:23 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-bad/ChangeLog,v 1.24 2008/12/26 12:48:38 ssuominen Exp $
+
+*gst-plugins-bad-0.10.9-r1 (26 Dec 2008)
+
+ 26 Dec 2008; <ssuominen@gentoo.org> metadata.xml,
+ +gst-plugins-bad-0.10.9-r1.ebuild:
+ Stop using separate plugins, drop .la files, disable static libs to speed
+ up. New plugins bz2, sdl, dts, gsm, jack, musicbrainz, sndfile, twolame
+ and vcd.
*gst-plugins-bad-0.10.9 (05 Dec 2008)
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-0.10.9-r1.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-0.10.9-r1.ebuild
new file mode 100644
index 000000000000..5ee109960448
--- /dev/null
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-0.10.9-r1.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-bad/gst-plugins-bad-0.10.9-r1.ebuild,v 1.1 2008/12/26 12:48:38 ssuominen Exp $
+
+EAPI=2
+
+inherit flag-o-matic
+
+DESCRIPTION="Basepack of plugins for gstreamer"
+HOMEPAGE="http://gstreamer.sourceforge.net"
+SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="aac amrwb encode bzip2 gsm debug dts dvb jack ladspa libmms musepack
+musicbrainz mythtv neon nls sdl sndfile twolame vcd"
+
+RDEPEND=">=dev-libs/glib-2.12:2
+ >=media-libs/gstreamer-0.10.21-r2
+ >=media-libs/gst-plugins-base-0.10.21-r1
+ >=dev-libs/liboil-0.3.14
+ jack? ( media-sound/jack-audio-connection-kit )
+ amrwb? ( media-libs/amrwb )
+ bzip2? ( app-arch/bzip2 )
+ dts? ( media-libs/libdca )
+ gsm? ( =media-sound/gsm-1.0.12-r1 )
+ ladspa? ( >=media-libs/ladspa-sdk-1.12-r2 )
+ libmms? ( media-libs/libmms )
+ musepack? ( >=media-libs/libmpcdec-1.2 )
+ twolame? ( media-sound/twolame )
+ neon? ( >=net-misc/neon-0.26 )
+ mythtv? ( media-libs/gmyth )
+ aac? ( >=media-libs/faad2-2.6.1 )
+ encode? ( aac? ( media-libs/faac ) )
+ sndfile? ( media-libs/libsndfile )
+ sdl? ( media-libs/libsdl )
+ musicbrainz? ( =media-libs/musicbrainz-2* )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ dev-util/pkgconfig
+ vcd? ( virtual/os-headers )
+ dvb? ( virtual/os-headers )
+ !media-plugins/gst-plugins-amrwb
+ !media-plugins/gst-plugins-dvb
+ !media-plugins/gst-plugins-faac
+ !media-plugins/gst-plugins-faad
+ !media-plugins/gst-plugins-ladspa
+ !media-plugins/gst-plugins-libmms
+ !media-plugins/gst-plugins-musepack
+ !media-plugins/gst-plugins-mythtv
+ !media-plugins/gst-plugins-neon"
+
+src_configure() {
+ local encode="--disable-faac"
+
+ if use encode; then
+ use aac && encode="--enable-faac"
+ fi
+
+ econf \
+ --disable-static \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ $(use_enable debug) \
+ --disable-valgrind \
+ --disable-examples \
+ --disable-quicktime \
+ $(use_enable vcd) \
+ --disable-alsa \
+ $(use_enable amrwb) \
+ --disable-apexsink \
+ $(use_enable bzip2 bz2) \
+ --disable-cdaudio \
+ --disable-celt \
+ --disable-dc1394 \
+ --disable-directfb \
+ --disable-dirac \
+ $(use_enable dts) \
+ --disable-divx \
+ --disable-dvdnav \
+ $(use_enable gsm) \
+ --disable-metadata \
+ $(use_enable aac faad) \
+ --disable-fbdev \
+ $(use_enable jack) \
+ $(use_enable ladspa) \
+ --disable-jp2k \
+ $(use_enable libmms) \
+ --disable-mplex \
+ --disable-mpeg2enc \
+ $(use_enable musepack) \
+ $(use_enable musicbrainz) \
+ $(use_enable mythtv) \
+ --disable-nas \
+ $(use_enable neon) \
+ --disable-ofa \
+ --disable-timidity \
+ --disable-wildmidi \
+ $(use_enable twolame) \
+ $(use_enable sdl) \
+ $(use_enable sndfile) \
+ --disable-soundtouch \
+ --disable-spc \
+ --disable-swfdec \
+ --disable-theoradec \
+ --disable-x264 \
+ --disable-xvid \
+ $(use_enable dvb) \
+ --disable-oss4 \
+ --disable-wininet \
+ --disable-acm \
+ --with-package-name="GStreamer ebuild for Gentoo" \
+ --with-package-origin="http://packages.gentoo.org/package/media-libs/${PN}" \
+ ${encode}
+}
+
+src_compile() {
+ # GStreamer doesn't handle optimization so well
+ strip-flags
+ replace-flags -O3 -O2
+ filter-flags -fprefetch-loop-arrays
+
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README RELEASE
+
+ # Drop unnecessary libtool files
+ find "${D}"/usr -name '*.la' -delete
+}
diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml
index 162a9876821f..37379a9720af 100644
--- a/media-libs/gst-plugins-bad/metadata.xml
+++ b/media-libs/gst-plugins-bad/metadata.xml
@@ -2,11 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gstreamer</herd>
- <maintainer>
- <email>compnerd@gentoo.org</email>
- <name>Saleem Abdulrasool</name>
- </maintainer>
- <longdescription lang="en">
- </longdescription>
+ <use>
+ <flag name="amrwb">Enables support for Adaptive Multi-Rate Audio support (Wide Band) via amrwb</flag>
+ <flag name="gsm">Enables support for the gsm lossy speech compression codec via libgsm</flag>
+ <flag name="libmms">Enables support for accessing Microsoft Media Server (MMS) media streaming protocol via libmms</flag>
+ <flag name="mythtv">Enables support for retrieval from media-tv/mythtv backend via gmyth</flag>
+ <flag name="neon">Enables support for HTTP and WebDAV client library via neon</flag>
+ <flag name="twolame">Enables support for MPEG Audio Layer 2 encoder via twolame</flag>
+ </use>
</pkgmetadata>
-