HOMEPAGE = "http://www.gnu.org/software/gnash"
LICENSE = "GPL-2"
-DEPENDS = "virtual/libiconv virtual/libintl libtool agg libxml2 libmad zlib boost jpeg pango curl freetype"
+DEPENDS = "virtual/libiconv virtual/libintl ffmpeg libtool agg libxml2 libmad zlib boost jpeg pango curl freetype"
RDEPENDS = "libltdl"
SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gnash/${PV}/gnash-${PV}.tar.bz2"
--disable-expat \
--enable-mad \
--disable-gstreamer \
- --disable-cairo \
+ --enable-media=ffmpeg \
--disable-plugin \
--disable-cygnal \
- --disable-testsuite \
+ --disable-testsuite \
--enable-maintainer-mode \
--enable-fps-debug \
--enable-allstatic \
--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 "
+CFLAGS += " -D_GNU_SOURCE -I${S}/libltdl -I${STAGING_INCDIR}/libltdl"
PACKAGES =+ "libgnashnet libgnashamf libgnashbase libgnashserver libgnashmedia libltdl"
require gnash-minimal.inc
+
+PR = "r1"
+
PV = "0.8.3+cvs${SRCDATE}"
SRC_URI = "cvs://anonymous:anonymous@cvs.sv.gnu.org/sources/gnash;module=gnash"
+SRC_URI += "file://libtool-2.2.patch;patch=1 file://libintl.patch;patch=1"
S = ${WORKDIR}/gnash