]> Pileus Git - ~andy/sunrise/commitdiff
swfdec/ChangeLog: Version bump and a little cleaning for bug 105823
authorJaime Martín (el_salmon) <jaime.martin@uc3m.es>
Wed, 18 Jul 2007 21:40:30 +0000 (21:40 +0000)
committerJaime Martín (el_salmon) <jaime.martin@uc3m.es>
Wed, 18 Jul 2007 21:40:30 +0000 (21:40 +0000)
svn path=/sunrise/; revision=4280

media-libs/swfdec/ChangeLog
media-libs/swfdec/swfdec-0.5.0.ebuild [new file with mode: 0644]

index 4f64c14eed0eeae5488e21dce725da2a2ea4849a..351f5f24f455011156112600ae6185d81f9ea923 100644 (file)
@@ -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 (file)
index 0000000..9188dad
--- /dev/null
@@ -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
+}