merge of '49118a4c6035353c0f8cf1aa30297dd36e43241f'
[vuplus_openembedded] / packages / gnash / gnash-minimal.inc
1 DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v7 features"
2 HOMEPAGE = "http://www.gnu.org/software/gnash"
3 LICENSE = "GPL-2"
4 DEPENDS = "virtual/libiconv virtual/libintl libtool agg libxml2 libmad zlib boost jpeg pango curl freetype"
5
6 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2"
7 S = ${WORKDIR}/gnash-${PV}
8
9 inherit autotools pkgconfig
10
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.
14
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.
17
18 EXTRA_OECONF="--enable-gui=gtk \
19                 --enable-renderer=agg \
20                 --enable-media=none \
21                 --enable-agg \
22                 --enable-gui=fb \
23                 --enable-z \
24                 --enable-jpeg \
25                 --disable-klash \
26                 --disable-glext \
27                 --disable-Xft \
28                 --disable-expat \
29                 --disable-mad \
30                 --disable-gstreamer \
31                 --disable-cairo \
32                 --disable-plugin \
33                 --disable-cygnal \
34                 --disable-testsuite \
35                 --enable-maintainer-mode \
36                 --enable-fps-debug \
37                 --enable-allstatic \
38                 --with-top-level=${STAGING_DIR_HOST}/usr \
39                 "
40
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 "
44
45 PACKAGES =+ "libgnashnet libgnashamf libgnashbase libgnashserver libgnashmedia libltdl"
46
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.*"