blob: 1f3c486e53b545da89c4d54ff9656ed19eeffa28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v7 features"
HOMEPAGE = "http://www.gnu.org/software/gnash"
LICENSE = "GPL-2"
DEPENDS = "virtual/libiconv virtual/libintl ffmpeg libtool agg libxml2 libmad zlib boost jpeg pango curl freetype"
RRECOMMENDS_${PN} = "libltdl"
SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2"
S = ${WORKDIR}/gnash-${PV}
inherit autotools pkgconfig
# gnash-minimal is intended for running directly on a framebuffer device
# for memory constrained devices, but does not accept all SWF files.
# As such, it is useful as a GUI frontend for dedicated SWF files.
# JPEG support and libz cannot be disabled due to a bug in 0.8.2.
# maintainer-mode is enabled to disable the testsuite.
EXTRA_OECONF="--enable-gui=gtk \
--enable-renderer=agg \
--enable-agg \
--enable-gui=fb \
--enable-z \
--enable-jpeg \
--disable-klash \
--disable-glext \
--disable-Xft \
--disable-expat \
--enable-mad \
--disable-gstreamer \
--enable-media=ffmpeg \
--disable-plugin \
--disable-cygnal \
--disable-testsuite \
--enable-maintainer-mode \
--enable-fps-debug \
--enable-allstatic \
--enable-static \
--with-top-level=${STAGING_DIR_HOST}/usr \
--disable-ltdl-install \
--without-included-ltdl \
# --with-ltdl-include=${STAGING_INCDIR} \
# --with-ltdl-lib=${STAGING_LIBDIR} \
"
# the test for error_t is wrong for uclibc, needs _GNU_SOURCE for correct
# detection because uclibc does not have argz.h which enables error_t
CFLAGS += " -D_GNU_SOURCE -I${S}/libltdl -I${STAGING_INCDIR}/libltdl $(pkgconfig --cflags gstreamer)"
PACKAGES =+ "libgnashnet libgnashamf libgnashbase libgnashserver libgnashmedia"
FILES_${PN} += "${datadir}/gnash/*png ${datadir}/gnash/*ico"
FILES_${PN}-dbg += "${libdir}/gnash/.debug"
FILES_${PN}-dev += "${libdir}/gnash/*a"
FILES_libgnashamf = "${libdir}/gnash/libgnashamf-*.so"
FILES_libgnashbase = "${libdir}/gnash/libgnashbase-*.so"
FILES_libgnashmedia = "${libdir}/gnash/libgnashmedia-*.so"
FILES_libgnashserver = "${libdir}/gnash/libgnashserver-*.so"
FILES_libgnashnet = "${libdir}/gnash/libgnashnet.so.*"
|