source "package/multimedia/mpg123/Config.in"
source "package/multimedia/mplayer/Config.in"
source "package/multimedia/speex/Config.in"
+source "package/multimedia/swfdec/Config.in"
source "package/multimedia/festival/Config.in"
source "package/multimedia/taglib/Config.in"
source "package/multimedia/vlc/Config.in"
--- /dev/null
+config BR2_PACKAGE_SWFDEC
+ bool "swfdec"
+ select BR2_PACKAGE_LIBOIL
+ select BR2_PACKAGE_ALSA_LIB
+ select BR2_PACKAGE_PANGO
+ select BR2_PACKAGE_CAIRO
+ select BR2_PACKAGE_CAIRO_PNG
+ help
+ Library to play Flash files
+
+ http://swfdec.freedesktop.org/
+
+config BR2_PACKAGE_SWFDEC_GTK_SUPPORT
+ bool "gtk support"
+ depends on BR2_PACKAGE_SWFDEC
+ depends on BR2_PACKAGE_LIBGTK2
+ select BR2_PACKAGE_LIBSOUP
+ help
+ Swfdec-gtk library is used for easy integration
+ of swfdec in GTK applications
+
+config BR2_PACKAGE_SWFDEC_GSTREAMER
+ bool "gstreamer support"
+ depends on BR2_PACKAGE_SWFDEC
+ select BR2_PACKAGE_GSTREAMER
+ select BR2_PACKAGE_GST_PLUGINS_BASE
+ help
+ Enables GStreamer support
+
--- /dev/null
+#############################################################
+#
+# 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))