summaryrefslogtreecommitdiff
path: root/packages/swfdec
diff options
context:
space:
mode:
Diffstat (limited to 'packages/swfdec')
-rw-r--r--packages/swfdec/.mtn2git_empty0
-rw-r--r--packages/swfdec/swfdec/.mtn2git_empty0
-rw-r--r--packages/swfdec/swfdec/arm/.mtn2git_empty0
-rw-r--r--packages/swfdec/swfdec/fix-cross-build.patch14
-rw-r--r--packages/swfdec/swfdec/powerpc/.mtn2git_empty0
-rw-r--r--packages/swfdec/swfdec_0.4.0.bb15
6 files changed, 29 insertions, 0 deletions
diff --git a/packages/swfdec/.mtn2git_empty b/packages/swfdec/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/swfdec/.mtn2git_empty
diff --git a/packages/swfdec/swfdec/.mtn2git_empty b/packages/swfdec/swfdec/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/swfdec/swfdec/.mtn2git_empty
diff --git a/packages/swfdec/swfdec/arm/.mtn2git_empty b/packages/swfdec/swfdec/arm/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/swfdec/swfdec/arm/.mtn2git_empty
diff --git a/packages/swfdec/swfdec/fix-cross-build.patch b/packages/swfdec/swfdec/fix-cross-build.patch
new file mode 100644
index 0000000000..d83e66a17b
--- /dev/null
+++ b/packages/swfdec/swfdec/fix-cross-build.patch
@@ -0,0 +1,14 @@
+--- /tmp/Makefile.am 2006-12-29 18:42:25.000000000 +0100
++++ swfdec-0.4.0/libswfdec/js/Makefile.am 2006-12-29 18:42:47.522227000 +0100
+@@ -93,11 +93,4 @@
+ -DXP_UNIX -DDEBUG -fno-strict-aliasing
+ libjs_la_LDFLAGS = -lm
+
+-CLEANFILES = jsautocfg.h
+-
+-jsapi.c: jsautocfg.h
+-
+-jsautocfg.h: jscpucfg
+- ./jscpucfg >jsautocfg.h
+-
+
diff --git a/packages/swfdec/swfdec/powerpc/.mtn2git_empty b/packages/swfdec/swfdec/powerpc/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/swfdec/swfdec/powerpc/.mtn2git_empty
diff --git a/packages/swfdec/swfdec_0.4.0.bb b/packages/swfdec/swfdec_0.4.0.bb
new file mode 100644
index 0000000000..778302c140
--- /dev/null
+++ b/packages/swfdec/swfdec_0.4.0.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Swfdec is a decoder/renderer for Macromedia Flash animations."
+LICENSE = ""LGPL
+
+DEPENDS = "pango cairo liboil zlib libmad gtk+ alsa-lib"
+
+SRC_URI = "http://swfdec.freedesktop.org/download/swfdec/0.4/${P}.tar.gz \
+ file://jsautocfg.h \
+ file://fix-cross-build.patch;patch=1"
+
+inherit autotools pkgconfig lib_package
+
+do_configure_append() {
+ cp -f ${WORKDIR}/jsautocfg.h ${S}/libswfdec/js
+}
+