gnash: add 0.8.4, def pref -1 till it's runtime tested
authorKoen Kooi <koen@openembedded.org>
Thu, 22 Jan 2009 21:40:41 +0000 (22:40 +0100)
committerKoen Kooi <koen@openembedded.org>
Thu, 22 Jan 2009 21:40:41 +0000 (22:40 +0100)
packages/gnash/gnash_0.8.4.bb [new file with mode: 0644]

diff --git a/packages/gnash/gnash_0.8.4.bb b/packages/gnash/gnash_0.8.4.bb
new file mode 100644 (file)
index 0000000..0a9c780
--- /dev/null
@@ -0,0 +1,24 @@
+require gnash.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+do_configure_prepend() {
+       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"
+}
+
+EXTRA_OECONF += " --without-included-ltdl \
+                  --with-ltdl-include=${STAGING_INCDIR} \
+                  --with-ltdl-lib=${STAGING_LIBDIR} \
+                  --enable-plugins \
+                  --enable-npapi \
+                  --with-npapi-plugindir=${libdir}/mozilla/plugins \
+                  --enable-mit-shm \
+                  --enable-png \
+                  --with-png-incl=${STAGING_INCDIR} \
+                  --with-png-lib=${STAGING_LIBDIR} \
+                "
+