summaryrefslogtreecommitdiff
path: root/package/multimedia/swfdec/swfdec.mk
diff options
context:
space:
mode:
authorEmmanuel Riou <riou.emmanuel@googlemail.com>2009-09-28 12:03:43 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-09-29 11:34:26 +0200
commit19dde3a7aa987f4522caa235152c77bf10e90b9e (patch)
tree4d1ca812d59a681536aef827009fa8f6219dd458 /package/multimedia/swfdec/swfdec.mk
parentbc95b3ad3b02cc23d9efd89654b52492e492b959 (diff)
Add Swfdec Free flash library
Peter: fixed kconfig (missing/wrong dependencies, text, trailing spaces) and makefile typo (ohost-pkgconfig). Signed-off-by: Emmanuel Riou <riou.emmanuel@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/swfdec/swfdec.mk')
-rw-r--r--package/multimedia/swfdec/swfdec.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/multimedia/swfdec/swfdec.mk b/package/multimedia/swfdec/swfdec.mk
new file mode 100644
index 000000000..015d32e37
--- /dev/null
+++ b/package/multimedia/swfdec/swfdec.mk
@@ -0,0 +1,30 @@
+#############################################################
+#
+# Swfdec
+#
+#############################################################
+SWFDEC_VERSION_MAJOR = 0.8
+SWFDEC_VERSION_MINOR = 4
+SWFDEC_VERSION = $(SWFDEC_VERSION_MAJOR).$(SWFDEC_VERSION_MINOR)
+SWFDEC_SOURCE = swfdec-$(SWFDEC_VERSION).tar.gz
+SWFDEC_SITE = http://swfdec.freedesktop.org/download/swfdec/$(SWFDEC_VERSION_MAJOR)
+
+SWFDEC_LIBTOOL_PATCH = NO
+SWFDEC_INSTALL_STAGING = YES
+SWFDEC_INSTALL_TARGET = YES
+
+SWFDEC_DEPENDENCIES = liboil alsa-lib pango cairo host-pkgconfig
+
+ifeq ($(BR2_PACKAGE_SWFDEC_GSTREAMER),y)
+SWFDEC_DEPENDENCIES += gstreamer gst-plugins-base
+else
+SWFDEC_CONF_OPT += --disable-gstreamer
+endif
+
+ifeq ($(BR2_PACKAGE_SWFDEC_GTK_SUPPORT),y)
+SWFDEC_DEPENDENCIES += libgtk2 libsoup
+else
+SWFDEC_CONF_OPT += --disable-gtk
+endif
+
+$(eval $(call AUTOTARGETS,package/multimedia,swfdec))