gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11832: other than the plugins, th


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11832: other than the plugins, this builds fine under open embedded finally. For some reason OE is statically linking everything, so the plugin can't be built dynamically.
Date: Thu, 28 Jan 2010 22:02:40 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11832
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Thu 2010-01-28 22:02:40 -0700
message:
  other than the plugins, this builds fine under open embedded finally. For 
some reason OE is statically linking everything, so the plugin can't be built 
dynamically.
modified:
  gnash_trunk.bb
=== modified file 'gnash_trunk.bb'
--- a/gnash_trunk.bb    2010-01-18 03:55:00 +0000
+++ b/gnash_trunk.bb    2010-01-29 05:02:40 +0000
@@ -1,51 +1,54 @@
-DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v7 
features"
+DESCRIPTION = "Gnash is a GNU Flash movie player that supports many SWF v8 
features"
 HOMEPAGE = "http://www.gnu.org/software/gnash";
 LICENSE = "GPLv3"
-DEPENDS = "libtool gtk+ pango atk glib agg libsdl-mixer zlib boost \
-       libpng jpeg giflib curl freetype fontconfig gst-plugins-base \
-        address@hidden('ENTERPRISE_DISTRO', '1', '', 'ffmpeg', d)}"
+DEPENDS = "giflib cairo libtool gtk+ agg libsdl-mixer zlib boost jpeg pango 
curl freetype \
+           address@hidden('ENTERPRISE_DISTRO', '1', '', 'ffmpeg', d)}"
+DEPENDS += "gst-plugins-base"
           
-PR = "r0"
+PR = "r6"
 
-SRC_URI = "http://www.getgnash.org/packages/snapshots/gnash-${PV}.tar.bz2";
-#SRC_URI[tarball.md5sum] = "2e9f7464bc2b9246aa0a24facf2b88b1"
+SRC_URI = "http://www.getgnash.org/packages/snapshots/gnash-trunk.tar.bz2";
 
 inherit autotools pkgconfig
 
+EXTRA_OECONF = "--enable-gui=gtk \
+                --enable-renderer=agg \
+                address@hidden('ENTERPRISE_DISTRO', '1', '', 
'--enable-media=ffmpeg', d)} \
+                --with-plugins-install=system \
+               --disable-plugins \
+               --disable-dependency-tracking \
+               --disable-testsuite \
+               --enable-media=ffmpeg \
+               --with-cairo-incl=${STAGING_DIR_HOST}/usr/include/cairo \
+                --with-cairo-lib=${STAGING_DIR_HOST}/usr/lib \
+               --with-jpeg-incl=${STAGING_DIR_HOST}/usr/include/ \
+                --with-jpeg-lib=${STAGING_DIR_HOST}/usr/lib \
+                --with-top-level=${STAGING_DIR_HOST}/usr \
+                "
+
+PACKAGES =+ " gnash-browser-plugin libgnashamf libgnashbackend libgnashbase 
libgnashgeo libgnashgui libgnashplayer libgnashserver "
+
+FILES_gnash-browser-plugin= "${libdir}/mozilla/plugins/*"
+FILES_libgnashamf = "${libdir}/gnash/libgnashamf-${PV}.so"
+FILES_libgnashbackend = "${libdir}/gnash/libgnashbackend-${PV}.so"
+FILES_libgnashbase = "${libdir}/gnash/libgnashbase-${PV}.so"
+FILES_libgnashgeo = "${libdir}/gnash/libgnashgeo-${PV}.so"
+FILES_libgnashgui = "${libdir}/gnash/libgnashgui-${PV}.so"
+FILES_libgnashplayer = "${libdir}/gnash/libgnashplayer-${PV}.so"
+FILES_libgnashserver = "${libdir}/gnash/libgnashserver-${PV}.so"
+
+PARALLEL_MAKE = "-j4"
+
+acpaths = " -Imacros"
+
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_angstrom = "1"
 
 # Boost lacks defines for lots of archs
-TARGET_CC_ARCH_append = "-DHAVE_POLL_H address@hidden' -D_BIG_ENDIAN', ' 
-D_LITTLE_ENDIAN'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
+TARGET_CC_ARCH_append = " -I${STAGING_INCDIR}/libxml2 -DHAVE_POLL_H 
address@hidden' -D_BIG_ENDIAN', ' 
-D_LITTLE_ENDIAN'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
 
-do_configure() {
-    ./autogen.sh
-    oe_runconf
-}
 
 do_install_append() {
        oe_runmake DESTDIR=${D} install-plugin
 }
 
-# CXXFLAGS += " -I${STAGING_INCDIR} "
-# LDFLAGS  += " -L${STAGING_LIBDIR} "
-
-EXTRA_OECONF = " --with-plugins-install=system \
-                 --prefix=/usr \
-                 --enable-gui=gtk \
-                  --enable-media=gst \
-                 --disable-dependency-tracking \
-               "
-
-PACKAGES =+ "gnash-common \
-        gnash-browser-plugin \
-        gnash-gui \
-        cygnal \
-        "
-
-FILES_gnash-browser-plugin= "${libdir}/mozilla/plugins/*"
-FILES_gnash-common = "${libdir}/gnash/libgnash*.so"
-FILES_gnash-gui = "${bindir}/*gnash"
-FILES_cygnal = "${bindir}/gnash ${bindir}/cygnal"
-
-PARALLEL_MAKE = "-j4"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]