summaryrefslogtreecommitdiff
path: root/packages/swfdec
diff options
context:
space:
mode:
Diffstat (limited to 'packages/swfdec')
-rw-r--r--packages/swfdec/swfdec-mozilla_0.9.2.bb20
-rw-r--r--packages/swfdec/swfdec_0.9.2.bb26
2 files changed, 46 insertions, 0 deletions
diff --git a/packages/swfdec/swfdec-mozilla_0.9.2.bb b/packages/swfdec/swfdec-mozilla_0.9.2.bb
new file mode 100644
index 0000000000..74f4e7b942
--- /dev/null
+++ b/packages/swfdec/swfdec-mozilla_0.9.2.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Swfdec plugin for browsers using NPAPI. Swfdec is a decoder/renderer for Macromedia Flash animations."
+LICENSE = "LGPL"
+
+DEPENDS = "gst-ffmpeg swfdec gstreamer libsoup-2.4 pango cairo liboil zlib gtk+ alsa-lib \
+ ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad', d)}"
+RDEPENDS = "gst-ffmpeg"
+
+SRC_URI = "http://swfdec.freedesktop.org/download/swfdec-mozilla/0.9/${P}.tar.gz \
+"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
+
+FILES_${PN} += "${datadir}/icons ${libdir}/mozilla/plugins/*.so"
+FILES_${PN}-dev += "${libdir}/mozilla/plugins/*a"
+FILES_${PN}-dbg += "${libdir}/mozilla/plugins/.debug"
+
diff --git a/packages/swfdec/swfdec_0.9.2.bb b/packages/swfdec/swfdec_0.9.2.bb
new file mode 100644
index 0000000000..598010e947
--- /dev/null
+++ b/packages/swfdec/swfdec_0.9.2.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Swfdec is a decoder/renderer for Macromedia Flash animations."
+LICENSE = "LGPL"
+
+DEPENDS = "gstreamer libsoup-2.4 pango cairo liboil zlib libmad gtk+ alsa-lib"
+
+SRC_URI = "http://swfdec.freedesktop.org/download/swfdec/0.9/${P}.tar.gz \
+"
+
+inherit autotools pkgconfig
+
+do_install_append() {
+ install -d ${D}/${bindir}
+ install -m 0755 ${S}/player/.libs/swfplay ${D}/${bindir}
+}
+
+do_stage() {
+ autotools_stage_all
+}
+
+PACKAGES =+ "libswfdecgtk libswfdec"
+
+FILES_${PN} += "${datadir}/icons"
+FILES_libswfdec = "${libdir}/libswfdec-0.9.so.*"
+FILES_libswfdecgtk = "${libdir}/libswfdec-gtk-0.9.so*"
+
+