1 DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v7 features"
2 HOMEPAGE = "http://www.gnu.org/software/gnash"
5 DEPENDS = "virtual/libiconv virtual/libintl ffmpeg libtool agg libxml2 zlib boost jpeg pango curl freetype \
6 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad', d)}"
7 RRECOMMENDS_${PN} = "libltdl"
9 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2"
10 S = ${WORKDIR}/gnash-${PV}
12 inherit autotools pkgconfig
14 # gnash-minimal is intended for running directly on a framebuffer device
15 # for memory constrained devices, but does not accept all SWF files.
16 # As such, it is useful as a GUI frontend for dedicated SWF files.
18 # JPEG support and libz cannot be disabled due to a bug in 0.8.2.
19 # maintainer-mode is enabled to disable the testsuite.
21 EXTRA_OECONF="--enable-gui=gtk \
22 --enable-renderer=agg \
33 --enable-media=ffmpeg \
37 --enable-maintainer-mode \
41 --with-top-level=${STAGING_DIR_HOST}/usr \
42 --disable-ltdl-install \
43 --without-included-ltdl \
44 # --with-ltdl-include=${STAGING_INCDIR} \
45 # --with-ltdl-lib=${STAGING_LIBDIR} \
48 # the test for error_t is wrong for uclibc, needs _GNU_SOURCE for correct
49 # detection because uclibc does not have argz.h which enables error_t
50 CFLAGS += " -D_GNU_SOURCE -I${S}/libltdl -I${STAGING_INCDIR}/libltdl $(pkgconfig --cflags gstreamer)"
52 PACKAGES =+ "libgnashnet libgnashamf libgnashbase libgnashserver libgnashmedia"
54 FILES_${PN} += "${datadir}/gnash/*png ${datadir}/gnash/*ico"
55 FILES_${PN}-dbg += "${libdir}/gnash/.debug"
56 FILES_${PN}-dev += "${libdir}/gnash/*a"
57 FILES_libgnashamf = "${libdir}/gnash/libgnashamf-*.so"
58 FILES_libgnashbase = "${libdir}/gnash/libgnashbase-*.so"
59 FILES_libgnashmedia = "${libdir}/gnash/libgnashmedia-*.so"
60 FILES_libgnashserver = "${libdir}/gnash/libgnashserver-*.so"
61 FILES_libgnashnet = "${libdir}/gnash/libgnashnet.so.*"