[oe-commits] Koen Kooi : gnash: add 0.8.5

GIT User account git at amethyst.openembedded.net
Fri Mar 6 12:26:12 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3355738d8c40c8fb8fb09e6a89895d57b8b4c80a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3355738d8c40c8fb8fb09e6a89895d57b8b4c80a

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri Mar  6 13:23:14 2009 +0100

gnash: add 0.8.5

---

 conf/checksums.ini            |   12 ++++++++----
 packages/gnash/gnash.inc      |    2 +-
 packages/gnash/gnash_0.8.5.bb |   38 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 5 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index a102538..95500cb 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -7590,6 +7590,10 @@ sha256=af1fd8454472e0ac588c015b09c67449392f32aa6297d4a625b8344dce11c39a
 md5=b47a7ed4b7c66b8c2ebacc2286ef0d4b
 sha256=6ffe4bdbc22de712e59205a27b46aa93a5372c67829c7f02d6b1c1778e9f9224
 
+[ftp://ftp.gnu.org/pub/gnu/gnash/0.8.5/gnash-0.8.5.tar.bz2]
+md5=366f703c2eb1747e4109602b75439ff4
+sha256=16f272214eed2ab50bcd9507d6299b82ed7d20e7e8eb253ab160e594eeb210b3
+
 [http://gnokii.org/download/gnocky/gnocky-0.0.3.tar.bz2]
 md5=239cfb4b743dc69723acbd01c44e7128
 sha256=fb11b959c039f1a2c5471b2dc1270607acfc15fb667a69c2d4bdb0970b3595bb
@@ -22098,14 +22102,14 @@ sha256=c8bc5383eafaa299e9874ae50acc6549f8b54bc29ed64a9a3387b3e4cd7f4bcb
 md5=61dc55f43b17a38a074f347e74095b20
 sha256=ca70501ae859cd86b387bb196908838275b4b06e6f4d692f9aa51b8a633334a7
 
-[http://www.uclibc.org/downloads/uClibc-0.9.30.tar.bz2]
-md5=e5766e2566e0297adebebbcc0aba1f2d
-sha256=67e7e6b983cd2caa163f177d5196282434ae1e18b7270495cd6c65f5c1549555
-
 [http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2]
 md5=1a4b84e5536ad8170563ffa88c34679c
 sha256=2d9769a02c46cff73f56a076268192da1ce91c913e2e4e31c120be098f704c8c
 
+[http://www.uclibc.org/downloads/uClibc-0.9.30.tar.bz2]
+md5=e5766e2566e0297adebebbcc0aba1f2d
+sha256=67e7e6b983cd2caa163f177d5196282434ae1e18b7270495cd6c65f5c1549555
+
 [http://wiki.openembedded.net/dl/uclibc-locale/uClibc-locale-030818.arm.tgz]
 md5=fc0b6113f2b333564d3558e241059db8
 sha256=6765f08499079207ba8c4da999d602ca75c384ff5812aa973f27b6a501b3438e
diff --git a/packages/gnash/gnash.inc b/packages/gnash/gnash.inc
index 29308b6..3602f6f 100644
--- a/packages/gnash/gnash.inc
+++ b/packages/gnash/gnash.inc
@@ -1,7 +1,7 @@
 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 = "libtool gtk+ cairo libxml2 libsdl-mixer zlib boost jpeg pango curl freetype \
+DEPENDS = "giflib libtool gtk+ cairo libxml2 libsdl-mixer zlib boost jpeg pango curl freetype \
            ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'ffmpeg libmad', d)}"
           
 PR = "r5"
diff --git a/packages/gnash/gnash_0.8.5.bb b/packages/gnash/gnash_0.8.5.bb
new file mode 100644
index 0000000..fa9b323
--- /dev/null
+++ b/packages/gnash/gnash_0.8.5.bb
@@ -0,0 +1,38 @@
+require gnash.inc
+
+DEPENDS += "gst-plugins-base"
+
+acpaths = " -Imacros"
+
+DEFAULT_PREFERENCE = "-1"
+
+# 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() {
+	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 += " --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} \
+                  --enable-media=gst \
+				"
+





More information about the Openembedded-commits mailing list