/[gentoo-x86]/www-plugins/swfdec-mozilla/swfdec-mozilla-0.8.2-r1.ebuild
Gentoo

Contents of /www-plugins/swfdec-mozilla/swfdec-mozilla-0.8.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu May 3 06:08:02 2012 UTC (13 months, 2 weeks ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-plugins/swfdec-mozilla/swfdec-mozilla-0.8.2-r1.ebuild,v 1.4 2011/03/22 19:46:50 ranger Exp $
4
5 EAPI="2"
6
7 inherit multilib versionator eutils
8
9 MY_PV=$(get_version_component_range 1-2)
10
11 DESCRIPTION="Swfdec-mozilla is a decoder/renderer netscape style plugin for Macromedia Flash animations."
12 HOMEPAGE="http://swfdec.freedesktop.org/"
13 SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${MY_PV}/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 ppc x86"
18 IUSE=""
19
20 RDEPEND=">=dev-libs/glib-2
21 >=media-libs/swfdec-0.8[gtk]"
22 DEPEND="${RDEPEND}
23 >=dev-util/intltool-0.35
24 virtual/pkgconfig"
25
26 src_prepare() {
27 # Read correct argument when parsing alignment, see bug #307097
28 epatch "${FILESDIR}/${P}-fix-crash.patch"
29 }
30
31 src_configure() {
32 econf --with-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins
33 }
34
35 src_install() {
36 exeinto /usr/$(get_libdir)/nsbrowser/plugins
37 doexe src/.libs/libswfdecmozilla.so || die "libswfdecmozilla.so failed"
38
39 insinto /usr/$(get_libdir)/nsbrowser/plugins
40 doins src/libswfdecmozilla.la
41 }

  ViewVC Help
Powered by ViewVC 1.1.20