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

Contents of /net-www/gnash/gnash-0.7_alpha20060129.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Apr 2 15:52:24 2006 UTC (13 years, 6 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
New ebuild including firefox plugin support, bug 122659, remove old
(Portage version: 2.1_pre7-r2)

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_alpha20060129.ebuild,v 1.2 2006/01/31 02:47:20 mr_bones_ Exp $
4
5 inherit cvs
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=""
20
21 DEPEND="virtual/opengl
22 media-libs/jpeg
23 media-libs/libpng
24 sys-libs/zlib
25 || (
26 ( x11-libs/libX11
27 x11-libs/libXt
28 x11-proto/xproto )
29 virtual/x11
30 )
31 dev-libs/libxml2
32 media-libs/libsdl
33 media-libs/libmad
34 media-libs/libcaca
35 sys-libs/gpm
36 sys-libs/ncurses
37 sys-libs/slang
38 media-libs/sdl-mixer"
39 RDEPEND="${DEPEND}"
40
41 src_compile() {
42 libtoolize --copy --force || die "libtoolize --copy --force failed"
43 ./autogen.sh || die "autogen.sh failed"
44 econf \
45 --with-libxml-includes=/usr/include/libxml2 \
46 --with-x \
47 --enable-mp3 \
48 --disable-plugin \
49 || die "econf failed"
50 # plugin disabled, because gnash does not work perfectly yet ..
51 # --with-firefox=PFX Prefix where firefox is installed (optional)
52 # --with-firefox-libraries=DIR Directory where firefox library is installed (optional)
53 # --with-firefox-includes=DIR Directory where firefox header files are installed (optional)
54 emake || die "emake failed"
55
56 }
57
58 src_install() {
59 make DESTDIR=${D} install || die "make install failed"
60 }
61
62 pkg_postinst() {
63 ewarn "ALPHA"
64 ewarn "gnash is still in heavy development"
65 ewarn "please report gnash bugs upstream to the gnash devs"
66 }

  ViewVC Help
Powered by ViewVC 1.1.20