/[gentoo-x86]/net-www/gnash/gnash-0.7_alpha20060331-r1.ebuild
Gentoo

Contents of /net-www/gnash/gnash-0.7_alpha20060331-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 9 23:55:14 2006 UTC (13 years, 5 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump
(Portage version: 2.1_pre10-r4)
 (Signed Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-www/gnash/gnash-0.7_alpha20060331-r1.ebuild,v 1.1 2006/04/03 23:10:56 genstef Exp $
4
5 inherit cvs nsplugins kde-functions
6
7 DESCRIPTION="Gnash is a GNU Flash movie player that supports many SWF v7 features"
8 HOMEPAGE="http://www.gnu.org/software/gnash"
9 SRC_URI=""
10 ECVS_SERVER="cvs.sv.gnu.org:/sources/${PN}"
11 ECVS_MODULE="${PN}"
12 ECVS_CO_OPTS="-D ${PV/0.7_alpha}"
13 ECVS_UP_OPTS="-dP ${ECVS_CO_OPTS}"
14 S=${WORKDIR}/${ECVS_MODULE}
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~ppc ~x86"
19 IUSE="dmalloc mp3 nsplugin nptl xml kde gtk"
20
21 DEPEND="sys-libs/zlib
22 media-libs/jpeg
23 media-libs/libpng
24 || (
25 ( x11-libs/libX11
26 x11-libs/libXt
27 x11-proto/xproto )
28 virtual/x11
29 )
30 xml? ( dev-libs/libxml2 )
31 dmalloc? ( dev-libs/dmalloc )
32 mp3? ( media-libs/libmad )
33 media-libs/libcaca
34 media-libs/libogg
35 media-libs/sdl-mixer
36 sys-libs/gpm
37 sys-libs/ncurses
38 sys-libs/slang
39 kde? ( kde-base/kdelibs )
40 gtk? (
41 dev-libs/glib
42 dev-libs/atk
43 x11-libs/pango
44 x11-libs/cairo
45 >x11-libs/gtk+-2
46 x11-libs/gtkglext
47 )
48 virtual/opengl
49 media-libs/libsdl"
50 RDEPEND="${DEPEND}"
51 set-kdedir
52
53 src_compile() {
54 libtoolize --copy --force || die "libtoolize --copy --force failed"
55 ./autogen.sh || die "autogen.sh failed"
56 econf \
57 $(use_enable nptl pthreads) \
58 $(use_enable dmalloc) \
59 $(use_enable mp3) \
60 $(use_enable xml) \
61 $(use_enable kde klash) \
62 $(use_enable gtk glext) \
63 $(use_enable nsplugin plugin) \
64 --with-plugindir=/opt/netscape/plugins \
65 || die "econf failed"
66 # ugly workaround
67 sed -i 's:exit $EXIT_FAILURE:#exit $EXIT_FAILURE:' libtool || die "failed"
68
69 # the path is hardcoded
70 sed -i s:/usr/local/bin/gnash:/usr/bin/gnash: plugin/plugin.cpp
71
72 emake -j1 || die "emake failed"
73 }
74
75 src_install() {
76 make DESTDIR=${D} install || die "make install failed"
77 use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so
78 dodoc AUTHORS ChangeLog NEWS README
79 }
80
81 pkg_postinst() {
82 ewarn "ALPHA"
83 ewarn "gnash is still in heavy development"
84 ewarn "please report gnash bugs upstream to the gnash devs"
85 }

  ViewVC Help
Powered by ViewVC 1.1.20