diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2008-07-30 15:39:06 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2008-07-30 15:39:06 +0000 |
commit | 2631561adf5ea46f3298bd0f52b80e66c836bc33 (patch) | |
tree | d8d580fe2cc7530779af282eb2800228a68118ba /media-libs/swfdec | |
parent | Fix split Qt dependencies (bug #222703). (diff) | |
download | gentoo-2-2631561adf5ea46f3298bd0f52b80e66c836bc33.tar.gz gentoo-2-2631561adf5ea46f3298bd0f52b80e66c836bc33.tar.bz2 gentoo-2-2631561adf5ea46f3298bd0f52b80e66c836bc33.zip |
version bump and add GLEP 56 USE flag descriptions
(Portage version: 2.2_rc5/cvs/Linux 2.6.25-gentoo-r5 x86_64)
Diffstat (limited to 'media-libs/swfdec')
-rw-r--r-- | media-libs/swfdec/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/swfdec/metadata.xml | 15 | ||||
-rw-r--r-- | media-libs/swfdec/swfdec-0.6.8.ebuild | 92 |
3 files changed, 114 insertions, 1 deletions
diff --git a/media-libs/swfdec/ChangeLog b/media-libs/swfdec/ChangeLog index 2fe9c3423e9f..bf833239a6d9 100644 --- a/media-libs/swfdec/ChangeLog +++ b/media-libs/swfdec/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/swfdec # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v 1.41 2008/07/27 18:41:23 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v 1.42 2008/07/30 15:39:06 cardoe Exp $ + +*swfdec-0.6.8 (30 Jul 2008) + + 30 Jul 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml, + +swfdec-0.6.8.ebuild: + version bump & add GLEP 56 USE flag descriptions 26 Jul 2008; Olivier Crête <tester@gentoo.org> swfdec-0.6.6-r1.ebuild: Stable on amd64, bug #229709 diff --git a/media-libs/swfdec/metadata.xml b/media-libs/swfdec/metadata.xml index 250d23204808..08a4e5664af1 100644 --- a/media-libs/swfdec/metadata.xml +++ b/media-libs/swfdec/metadata.xml @@ -8,4 +8,19 @@ plugins for GStreamer, but it is a fully standalone library which only use the libart library for drawing. </longdescription> +<use> + <flag name='alsa'>Use ALSA for audio output</flag> + <flag name='doc'>Build documentation</flag> + <flag name='ffmpeg'>Use <pkg>media-plugins/gst-plugins-ffmpeg</pkg> to + enable Flash video support. Necessary if you want to use sites like + youtube</flag> + <flag name='gstreamer'>Enable <pkg>media-libs/gstreamer</pkg> to support + various media input formats. i.e. audio (mp3) and video (flv)</flag> + <flag name='gtk'>Enable GTK+ convenience library while is necessary for all + GTK+ apps using swfdec (<pkg>gnome-extra/swfdec-gnome</pkg> and + <pkg>net-www/swfdec-mozilla</pkg>)</flag> + <flag name='oss'>Use Open Sound System for audio output</flag> + <flag name='pulseaudio'>Use <pkg>media-sound/pulseaudio</pkg> for audio + output</flag> +</use> </pkgmetadata> diff --git a/media-libs/swfdec/swfdec-0.6.8.ebuild b/media-libs/swfdec/swfdec-0.6.8.ebuild new file mode 100644 index 000000000000..f23d21ba8bdc --- /dev/null +++ b/media-libs/swfdec/swfdec-0.6.8.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/swfdec-0.6.8.ebuild,v 1.1 2008/07/30 15:39:06 cardoe Exp $ + +EAPI=1 + +inherit eutils versionator confutils + +MY_PV=$(get_version_component_range 1-2) +DESCRIPTION="Macromedia Flash decoding library" +HOMEPAGE="http://swfdec.freedesktop.org" +SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${MY_PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +IUSE="alsa doc ffmpeg gstreamer gtk oss pulseaudio" + +RDEPEND=">=dev-libs/glib-2.12 + >=dev-libs/liboil-0.3.1 + >=x11-libs/pango-1.16.4 + gtk? ( + >=x11-libs/gtk+-2.8.0 + net-libs/libsoup:2.4 + ) + >=x11-libs/cairo-1.2 + gstreamer? ( + >=media-libs/gstreamer-0.10.11 + >=media-libs/gst-plugins-base-0.10.15 + ffmpeg? ( media-plugins/gst-plugins-ffmpeg ) + ) + alsa? ( >=media-libs/alsa-lib-1.0.12 ) + pulseaudio? ( media-sound/pulseaudio )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( >=dev-util/gtk-doc-1.6 )" + +pkg_setup() { + if use !gtk ; then + ewarn "swfdec will be built without swfdec-gtk convenience" + ewarn "library, which is needed by swfdec-mozilla and" + ewarn "swfdec-gnome. Please add 'gtk' to your USE flags" + ewarn "unless you really know what you are doing." + fi + + if use !gstreamer && use ffmpeg; then + ewarn + ewarn "The 'ffmpeg' USE flag enables video support via gst-plugins-ffmpeg" + ewarn "as such it requires the 'gstreamer' USE flag to be enabled." + fi + + confutils_use_conflict oss alsa pulseaudio +} + +src_compile() { + local myconf= + + #--with-audio=[auto/alsa/oss/none] + use oss && myconf="${myconf} --with-audio=oss" + use pulseaudio && myconf="${myconf} --with-audio=pa" + use alsa && myconf="${myconf} --with-audio=alsa" + + # bug #216009 + # avoid writing to /root/.gstreamer-0.10/registry.xml + export GST_REGISTRY="${T}"/registry.xml + # also avoid loading gconf plugins, which may write to /root/.gconfd + export GST_PLUGIN_SYSTEM_PATH="${T}" + + econf \ + $(use_enable doc gtk-doc) \ + $(use_enable gstreamer) \ + $(use_enable gtk) \ + --disable-ffmpeg \ + --disable-mad \ + ${myconf} || die "configure failed" + + # bug #216284 image tests are not ready yet + cat >test/image/Makefile <<EOF +all: +check: +install: +EOF + + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + dodoc AUTHORS ChangeLog README +} |