diff options
author | 2007-07-18 21:40:30 +0000 | |
---|---|---|
committer | 2007-07-18 21:40:30 +0000 | |
commit | ccfb9fc2c5a1a4c65583330f71162bc0c9c4b905 (patch) | |
tree | 16793c2506f01730b1d466bde27a07525226c48d /media-libs | |
parent | swfdec-mozilla/swfdec-mozilla-0.5.0.ebuild: Version bump and a little cleanin... (diff) | |
download | sunrise-ccfb9fc2c5a1a4c65583330f71162bc0c9c4b905.tar.gz sunrise-ccfb9fc2c5a1a4c65583330f71162bc0c9c4b905.tar.bz2 sunrise-ccfb9fc2c5a1a4c65583330f71162bc0c9c4b905.zip |
swfdec/ChangeLog: Version bump and a little cleaning for bug 105823
svn path=/sunrise/; revision=4280
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/swfdec/ChangeLog | 4 | ||||
-rw-r--r-- | media-libs/swfdec/swfdec-0.5.0.ebuild | 58 |
2 files changed, 62 insertions, 0 deletions
diff --git a/media-libs/swfdec/ChangeLog b/media-libs/swfdec/ChangeLog index 4f64c14ee..351f5f24f 100644 --- a/media-libs/swfdec/ChangeLog +++ b/media-libs/swfdec/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 18 Jul 2007; Jaime Martín (el_salmon) <jaime.martin@uc3m.es> + +swfdec-0.5.0.ebuild: + Version bump and a little cleaning for bug 105823 + 24 Jun 2007; Jakub Moc <jakub@gentoo.org> swfdec-0.4.5.ebuild: Nuke redundant src_unpack, pointless blurb in pkg_setup and do not dodoc COPYING INSTALL diff --git a/media-libs/swfdec/swfdec-0.5.0.ebuild b/media-libs/swfdec/swfdec-0.5.0.ebuild new file mode 100644 index 000000000..9188dad9e --- /dev/null +++ b/media-libs/swfdec/swfdec-0.5.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Macromedia Flash decoding library" +HOMEPAGE="http://swfdec.freedesktop.org" +SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${PV:0:3}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="ffmpeg gstreamer gnome mad" + +RESTRICT="test" + +RDEPEND=">=dev-libs/glib-2 + >=dev-libs/liboil-0.3.10-r1 + x11-libs/pango + >=x11-libs/cairo-1.2 + >=x11-libs/gtk+-2.0 + >=media-libs/alsa-lib-1.0.12 + ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070129 ) + mad? ( >=media-libs/libmad-0.15.1b ) + gstreamer? ( >=media-libs/gstreamer-0.10.11 ) + gnome? ( gnome-base/gnome-vfs )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + # Check for USE flag deps + if use !gnome ; then + ewarn + ewarn "In order to compile libswfdec-gtk with Gnome-VFS" + ewarn "support you must have 'gnome' USE flag enabled" + ewarn + fi +} + +src_compile() { + local myconf + econf \ + $(use_enable gstreamer) \ + $(use_enable ffmpeg) \ + $(use_enable mad) \ + $(use_enable gnome gnome-vfs) \ + ${myconf} || die "configure failed" + # parallel build doesn't work, so specify -j1 + emake -j1 || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + dodoc AUTHORS ChangeLog README +} |