diff options
author | 2008-08-31 12:47:25 +0300 | |
---|---|---|
committer | 2008-08-31 12:47:25 +0300 | |
commit | 80488ef78bf4b5656a6d025752d82a73ca191849 (patch) | |
tree | 66d7668956a113258e2c1bd16a42990288c563d8 /net-www | |
parent | Use lua eclass. (diff) | |
download | hawking-80488ef78bf4b5656a6d025752d82a73ca191849.tar.gz hawking-80488ef78bf4b5656a6d025752d82a73ca191849.tar.bz2 hawking-80488ef78bf4b5656a6d025752d82a73ca191849.zip |
Add swfdec-9999 and swfdec-mozilla-9999.
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/swfdec-mozilla/Manifest | 1 | ||||
-rw-r--r-- | net-www/swfdec-mozilla/swfdec-mozilla-9999.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-www/swfdec-mozilla/Manifest b/net-www/swfdec-mozilla/Manifest new file mode 100644 index 0000000..c70f0a8 --- /dev/null +++ b/net-www/swfdec-mozilla/Manifest @@ -0,0 +1 @@ +EBUILD swfdec-mozilla-9999.ebuild 1337 RMD160 6493065f974902660bf3d7a7e749634dd1c7dc2f SHA1 033caaaee99f60837f8d899356c6ca26ecdfe616 SHA256 2631adea22a5846c7757c858b7cac9a3785fd70f30ec584ef6c77db2b11dba0d diff --git a/net-www/swfdec-mozilla/swfdec-mozilla-9999.ebuild b/net-www/swfdec-mozilla/swfdec-mozilla-9999.ebuild new file mode 100644 index 0000000..50f3069 --- /dev/null +++ b/net-www/swfdec-mozilla/swfdec-mozilla-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/swfdec-mozilla/swfdec-mozilla-0.7.4.ebuild,v 1.1 2008/08/03 14:08:31 dang Exp $ + +inherit multilib versionator autotools eutils git + +MY_PV=$(get_version_component_range 1-2) + +DESCRIPTION="Swfdec-mozilla is a decoder/renderer netscape style plugin for Macromedia Flash animations." +HOMEPAGE="http://swfdec.freedesktop.org/" +EGIT_REPO_URI="git://anongit.freedesktop.org/git/swfdec/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=">=dev-libs/glib-2 + >=media-libs/swfdec-0.6" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + >=dev-util/pkgconfig-0.20" + +pkg_setup() { + if ! built_with_use media-libs/swfdec gtk ; then + einfo "You must build swfdec with the gtk USE flag to build" + einfo "swfdec-gtk, which is required by ${PN}" + die "Please re-emerge media-libs/swfdec with the gtk USE flag" + fi +} + +src_unpack() { + git_src_unpack + + autoreconf -i -f +} + +src_compile() { + econf --with-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins + emake || die "emake failed" +} + +src_install() { + exeinto /usr/$(get_libdir)/nsbrowser/plugins + doexe src/.libs/libswfdecmozilla.so || die "libswfdecmozilla.so failed" + + insinto /usr/$(get_libdir)/nsbrowser/plugins + doins src/libswfdecmozilla.la +} |