1 DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v7 features"
2 HOMEPAGE = "http://www.gnu.org/software/gnash"
4 DEPENDS = "virtual/libiconv virtual/libintl libtool agg libxml2 libmad zlib boost jpeg pango curl freetype"
6 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2"
7 S = ${WORKDIR}/gnash-${PV}
9 inherit autotools pkgconfig
11 # gnash-minimal is intended for running directly on a framebuffer device
12 # for memory constrained devices, but does not accept all SWF files.
13 # As such, it is useful as a GUI frontend for dedicated SWF files.
15 # JPEG support and libz cannot be disabled due to a bug in 0.8.2.
16 # maintainer-mode is enabled to disable the testsuite.
18 EXTRA_OECONF="--enable-gui=gtk \
19 --enable-renderer=agg \
35 --enable-maintainer-mode \
38 --with-top-level=${STAGING_DIR_HOST}/usr \
41 # the test for error_t is wrong for uclibc, needs _GNU_SOURCE for correct
42 # detection because uclibc does not have argz.h which enables error_t
43 CFLAGS += " -D_GNU_SOURCE "
45 PACKAGES =+ "libgnashnet libgnashamf libgnashbase libgnashserver libgnashmedia libltdl"
47 FILES_${PN}-dbg += "${libdir}/gnash/.debug"
48 FILES_${PN}-dev += "${libdir}/gnash/*a"
49 FILES_libltdl = "${libdir}/gnash/libltdl*.so*"
50 FILES_libgnashamf = "${libdir}/gnash/libgnashamf-${PV}.so"
51 FILES_libgnashbase = "${libdir}/gnash/libgnashbase-${PV}.so"
52 FILES_libgnashmedia = "${libdir}/gnash/libgnashmedia-${PV}.so"
53 FILES_libgnashserver = "${libdir}/gnash/libgnashserver-${PV}.so"
54 FILES_libgnashnet = "${libdir}/gnash/libgnashnet.so.*"