1 DESCRIPTION
= "Gnash is a GNU Flash movie player that supports many SWF v8 features"
2 HOMEPAGE
= "http://www.gnu.org/software/gnash"
4 DEPENDS
= "giflib cairo libtool gtk+ agg libsdl-mixer zlib boost jpeg pango curl freetype \
5 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'ffmpeg', d)} speex"
6 DEPENDS
+= "gst-plugins-base"
10 SRC_URI
= "ftp://ftp.gnu.org/gnu/gnash/0.8.7/gnash-0.8.7.tar.bz2"
12 inherit autotools pkgconfig
14 EXTRA_OECONF
= "--enable-gui=gtk \
15 --enable-renderer=agg \
16 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '--enable-media=ffmpeg', d)} \
17 --with-plugins-install=system \
19 --disable-dependency-tracking \
21 --enable-media=ffmpeg \
22 --with-speex-incl=${STAGING_INCDIR}/speex \
23 --with-cairo-incl=${STAGING_INCDIR}/cairo \
24 --with-cairo-lib=${STAGING_LIBDIR} \
25 --with-jpeg-incl=${STAGING_INCDIR} \
26 --with-jpeg-lib=${STAGING_LIBDIR} \
27 --with-top-level=${STAGING_DIR_HOST}/usr \
31 PACKAGES
=+ " gnash-browser-plugin libgnashamf libgnashbackend libgnashbase libgnashgeo libgnashgui libgnashplayer libgnashserver "
33 FILES_gnash
-browser
-plugin
= "${libdir}/mozilla/plugins/*"
34 FILES_libgnashamf
= "${libdir}/gnash/libgnashamf-${PV}.so"
35 FILES_libgnashbackend
= "${libdir}/gnash/libgnashbackend-${PV}.so"
36 FILES_libgnashbase
= "${libdir}/gnash/libgnashbase-${PV}.so"
37 FILES_libgnashgeo
= "${libdir}/gnash/libgnashgeo-${PV}.so"
38 FILES_libgnashgui
= "${libdir}/gnash/libgnashgui-${PV}.so"
39 FILES_libgnashplayer
= "${libdir}/gnash/libgnashplayer-${PV}.so"
40 FILES_libgnashserver
= "${libdir}/gnash/libgnashserver-${PV}.so"
42 RDEPENDS_$
{PN
}-browser
-plugin
+= "${PN}"
46 # Boost lacks defines
for lots of archs
47 TARGET_CC_ARCH_append
= " -I${STAGING_INCDIR}/libxml2 -DHAVE_POLL_H ${@[' -D_BIG_ENDIAN', ' -D_LITTLE_ENDIAN'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
51 oe_runmake DESTDIR
=$
{D
} install
-plugin
54 SRC_URI
[md5sum
] = "039533fec46e46b94ac6b04e33d58f3a"
55 SRC_URI
[sha256sum
] = "73b8a7c788511e453add26fd68cebd5818b39f9da21cc7c78e9cef8bc837e896"