diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gnash/gnash-minimal.inc | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/gnash/gnash-minimal.inc')
-rw-r--r-- | recipes/gnash/gnash-minimal.inc | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/recipes/gnash/gnash-minimal.inc b/recipes/gnash/gnash-minimal.inc new file mode 100644 index 0000000000..a8e5229f46 --- /dev/null +++ b/recipes/gnash/gnash-minimal.inc @@ -0,0 +1,62 @@ +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 libtool agg libxml2 zlib boost jpeg pango curl freetype \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'ffmpeg libmad', d)}" +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 \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '--enable-mad', d)} \ + --disable-gstreamer \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '--enable-media=ffmpeg', d)} \ + --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.*" |