diff options
author | Leon Woestenberg <leon@sidebranch.com> | 2009-10-18 21:07:47 +0200 |
---|---|---|
committer | Leon Woestenberg <leon@sidebranch.com> | 2009-10-18 21:08:42 +0200 |
commit | 559544e75c5b09d2f51a21d0d7aefbabf50bd58d (patch) | |
tree | 33dedce6aa3060d3378001d4d0652ab958ea6065 /recipes/gnash/gnash-fb_0.8.5.bb | |
parent | f6bb1d830c51b78b3e99619645152add67fad3e9 (diff) |
gnash: Add gnash-fb 0.8.5, gnash for framebuffer devices.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'recipes/gnash/gnash-fb_0.8.5.bb')
-rw-r--r-- | recipes/gnash/gnash-fb_0.8.5.bb | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes/gnash/gnash-fb_0.8.5.bb b/recipes/gnash/gnash-fb_0.8.5.bb new file mode 100644 index 0000000000..455d2d3c42 --- /dev/null +++ b/recipes/gnash/gnash-fb_0.8.5.bb @@ -0,0 +1,66 @@ +require gnash.inc + +DEPENDS += "gst-plugins-base cairo libmad" + +acpaths = " -Imacros" + +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_angstrom = "1" + +SRC_URI += "file://gnash-glib-dependency.patch;patch=1" + +S = "${WORKDIR}/gnash-${PV}" + +# Boost lacks defines for lots of archs +TARGET_CC_ARCH_append = " -I${STAGING_INCDIR}/libxml2 -DHAVE_POLL_H ${@[' -D_BIG_ENDIAN', ' -D_LITTLE_ENDIAN'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" + + +do_configure_prepend() { + # fix an upstream case-typo in the configure script + sed -i s:Media_handler:media_handler:g ${S}/configure.ac + # find png not libpng + sed -i -e 's:GNASH_PKG_FIND(libpng:GNASH_PKG_FIND(png:g' ${S}/configure.ac + for i in $(find ${S} -name "Makefile.am") ; do + sed -i -e s:LIBPNG:PNG:g $i + done + export CFLAGS="${CFLAGS} -lpng" +} + +do_install_append() { + oe_runmake DESTDIR=${D} install-plugin +} + +EXTRA_OECONF = "--enable-gui=fb \ + --enable-renderer=agg \ + --disable-klash \ + --enable-z \ + --enable-jpeg \ + --disable-glext \ + --enable-Xft \ + --enable-expat \ + --enable-mad \ + --enable-cairo \ + --enable-plugin \ + --enable-plugins \ + --enable-npapi \ + --with-npapi-plugindir=${libdir}/mozilla/plugins \ + --enable-mit-shm \ + --disable-cygnal \ + --with-top-level=${STAGING_DIR_HOST}/usr \ + --without-included-ltdl \ + --with-ltdl-include=${STAGING_INCDIR} \ + --with-ltdl-lib=${STAGING_LIBDIR} \ + --enable-png \ + --with-png-incl=${STAGING_INCDIR} \ + --with-png-lib=${STAGING_LIBDIR} \ + --with-cairo-incl=${STAGING_DIR_HOST}/usr/include/cairo \ + --with-cairo-lib=${STAGING_DIR_HOST}/usr/lib \ + --enable-media=gst \ + --with-gstreamer-incl=${STAGING_DIR_HOST}/usr/include/gstreamer-0.10 \ + --with-gstreamer-lib=${STAGING_DIR_HOST}/usr/lib \ + --with-glib-incl=${STAGING_DIR_HOST}/usr/include/glib-2.0 \ + --with-glib-lib=${STAGING_DIR_HOST}/usr/lib \ + --disable-speex \ + --disable-speexdsp \ + " + |