diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2007-10-20 10:45:44 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2007-10-20 10:45:44 +0000 |
commit | 6fcad013e93e6e2cc6b892b9758b37dc785a5733 (patch) | |
tree | aee76b2ccd9e9bf1548e523b5ec5d4c8258f3313 /media-libs | |
parent | Added missing virtual/cblas to DEPEND (fixes bug #196433). (diff) | |
download | gentoo-2-6fcad013e93e6e2cc6b892b9758b37dc785a5733.tar.gz gentoo-2-6fcad013e93e6e2cc6b892b9758b37dc785a5733.tar.bz2 gentoo-2-6fcad013e93e6e2cc6b892b9758b37dc785a5733.zip |
version bump, #196057
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/swfdec/files/digest-swfdec-0.5.3 | 3 | ||||
-rw-r--r-- | media-libs/swfdec/swfdec-0.5.3.ebuild | 68 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/swfdec/files/digest-swfdec-0.5.3 b/media-libs/swfdec/files/digest-swfdec-0.5.3 new file mode 100644 index 000000000000..01a2562d438f --- /dev/null +++ b/media-libs/swfdec/files/digest-swfdec-0.5.3 @@ -0,0 +1,3 @@ +MD5 bbabc83acad340479bae5dd125c40fc7 swfdec-0.5.3.tar.gz 1502458 +RMD160 1e9985cebad635a71b01e2537c2ac8ae0d89ca2b swfdec-0.5.3.tar.gz 1502458 +SHA256 ec50bcb06037397d78ff9fef3193664f5431ad8aad9e602f993ddbffb0ed7feb swfdec-0.5.3.tar.gz 1502458 diff --git a/media-libs/swfdec/swfdec-0.5.3.ebuild b/media-libs/swfdec/swfdec-0.5.3.ebuild new file mode 100644 index 000000000000..bc741e09f8ef --- /dev/null +++ b/media-libs/swfdec/swfdec-0.5.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/swfdec-0.5.3.ebuild,v 1.1 2007/10/20 10:45:43 pclouds Exp $ + +inherit eutils versionator + +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="~amd64 ~ppc ~x86" + +IUSE="ffmpeg gstreamer gnome mad oss" + +RESTRICT="test" + +RDEPEND=">=dev-libs/glib-2.10 + >=dev-libs/liboil-0.3.10-r1 + x11-libs/pango + net-libs/libsoup + >=x11-libs/cairo-1.2 + >=x11-libs/gtk+-2.8.0 + >=media-libs/alsa-lib-1.0.12 + ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070330 ) + mad? ( >=media-libs/libmad-0.15.1b ) + gstreamer? ( >=media-libs/gstreamer-0.10.11 ) + gnome? ( gnome-base/gnome-vfs ) + !<=net-www/swfdec-mozilla-0.5.2" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + if use ppc && use ffmpeg ; then + eerror "swfdec doesn't work with latest ffmpeg version in" + eerror "ppc arch. See bug #11841 in Freedesktop Bugzilla." + eerror "Please disable ffmpeg flag and enable gstreamer" + die "Depends failed" + fi + if use !gnome ; then + ewarn "In order to compile libswfdec-gtk with Gnome-VFS" + ewarn "support you must have 'gnome' USE flag enabled" + fi +} + +src_compile() { + local myconf + + #--with-audio=[auto/alsa/oss/none] + use oss && myconf=" --with-audio=oss" + + econf \ + $(use_enable gstreamer) \ + $(use_enable ffmpeg) \ + $(use_enable mad) \ + $(use_enable gnome gnome-vfs) \ + ${myconf} || die "configure failed" + + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + dodoc AUTHORS ChangeLog README +} |