3 DEPENDS
+= "gst-plugins-base agg libmad"
7 DEFAULT_PREFERENCE
= "-1"
8 DEFAULT_PREFERENCE_angstrom
= "1"
10 SRC_URI
+= "file://gnash-glib-dependency.patch"
12 S
= "${WORKDIR}/gnash-${PV}"
14 # Boost lacks defines
for lots of archs
15 TARGET_CC_ARCH_append
= " -I${STAGING_INCDIR}/libxml2 -DHAVE_POLL_H ${@[' -D_BIG_ENDIAN', ' -D_LITTLE_ENDIAN'][bb.data.getVar('SITEINFO_ENDIANNESS', d, 1) == 'le']}"
18 do_configure_prepend
() {
19 # fix an upstream
case-typo in the configure script
20 sed
-i s
:Media_handler
:media_handler
:g $
{S
}/configure.ac
22 sed
-i
-e 's
:GNASH_PKG_FIND
(libpng
:GNASH_PKG_FIND
(png
:g' $
{S
}/configure.ac
23 for i in $
(find $
{S
} -name
"Makefile.am") ; do
24 sed
-i
-e s
:LIBPNG
:PNG
:g $i
26 export CFLAGS
="${CFLAGS} -lpng"
30 oe_runmake DESTDIR
=$
{D
} install
-plugin
33 EXTRA_OECONF
= "--enable-gui=fb \
34 --enable-renderer=agg \
46 --with-npapi-plugindir=${libdir}/mozilla/plugins \
49 --with-top-level=${STAGING_DIR_HOST}/usr \
50 --without-included-ltdl \
51 --with-ltdl-include=${STAGING_INCDIR} \
52 --with-ltdl-lib=${STAGING_LIBDIR} \
54 --with-png-incl=${STAGING_INCDIR} \
55 --with-png-lib=${STAGING_LIBDIR} \
56 --with-cairo-incl=${STAGING_DIR_HOST}/usr/include/cairo \
57 --with-cairo-lib=${STAGING_DIR_HOST}/usr/lib \
59 --with-gstreamer-incl=${STAGING_DIR_HOST}/usr/include/gstreamer-0.10 \
60 --with-gstreamer-lib=${STAGING_DIR_HOST}/usr/lib \
61 --with-glib-incl=${STAGING_DIR_HOST}/usr/include/glib-2.0 \
62 --with-glib-lib=${STAGING_DIR_HOST}/usr/lib \
68 SRC_URI
[md5sum
] = "366f703c2eb1747e4109602b75439ff4"
69 SRC_URI
[sha256sum
] = "16f272214eed2ab50bcd9507d6299b82ed7d20e7e8eb253ab160e594eeb210b3"