summaryrefslogtreecommitdiffstats
path: root/package/multimedia/swfdec/swfdec.mk
diff options
context:
space:
mode:
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))