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

Contents of /net-www/gnash/gnash-0.7_alpha20060331.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.ebuild,v 1.1 2006/04/02 15:52:24 genstef Exp $
4
5 inherit cvs nsplugins
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"
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/sdl-mixer
35 sys-libs/gpm
36 sys-libs/ncurses
37 sys-libs/slang
38 virtual/opengl
39 media-libs/libsdl
40 kde? ( kde-base/kdelibs )"
41 # plugin? (
42 # !sdl? (
43 # dev-libs/glib
44 # dev-libs/atk
45 # x11-libs/pango
46 # x11-libs/cairo
47 # >x11-libs/gtk+-2
48 # x11-libs/gtkglext
49 # )
50 # sdl? (
51 RDEPEND="${DEPEND}"
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 mp3) \
59 $(use_enable xml) \
60 $(use_enable kde klash) \
61 $(use_enable dmalloc) \
62 $(use_enable nsplugin plugin) \
63 --with-plugindir=/opt/netscape/plugins \
64 || die "econf failed"
65 #$(use_enable !sdl glext) \
66 # ugly workaround
67 sed -i 's:exit $EXIT_FAILURE:#exit $EXIT_FAILURE:' libtool || die "failed"
68
69 emake -j1 || die "emake failed"
70 }
71
72 src_install() {
73 make DESTDIR=${D} install || die "make install failed"
74 use nsplugin && inst_plugin /opt/netscape/plugins/libgnashplugin.so
75 }
76
77 pkg_postinst() {
78 ewarn "ALPHA"
79 ewarn "gnash is still in heavy development"
80 ewarn "please report gnash bugs upstream to the gnash devs"
81 }

  ViewVC Help
Powered by ViewVC 1.1.20