summaryrefslogtreecommitdiff
blob: 1d82718e18f63f98967e1c9d0d725e2a7bca85d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils nsplugins

DESCRIPTION="Swfdec-mozilla is a decoder/renderer netscape style plugin for Macromedia Flash animations."
HOMEPAGE="http://swfdec.freedesktop.org/"
SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${PV:0:3}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE=""

DEPEND=">=media-libs/swfdec-0.4.5
	|| ( www-client/mozilla-firefox www-client/seamonkey )"
RDEPEND=""

src_install() {
		  exeinto /usr/lib/nsbrowser/plugins
		  doexe src/.libs/libswfdecmozilla.so || die "libswfdecmozilla.so failed"
#		  inst_plugin /usr/lib/nsbrowser/plugins/libswfdecmozilla.so

		  insinto /usr/lib/nsbrowser/plugins
		  doins src/libswfdecmozilla.la
#		  inst_plugin /usr/lib/nsbrowser/plugins/libswfdecmozilla.la

}

pkg_postinst() {
	einfo "Remember to report bugs to: https://bugzilla.freedesktop.org"
}