Commit 19dde3a7 authored by Emmanuel Riou's avatar Emmanuel Riou Committed by Peter Korsgaard
Browse files

Add Swfdec Free flash library



Peter: fixed kconfig (missing/wrong dependencies, text, trailing spaces)
and makefile typo (ohost-pkgconfig).

Signed-off-by: default avatarEmmanuel Riou <riou.emmanuel@googlemail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent bc95b3ad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ source "package/multimedia/madplay/Config.in"
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"
+29 −0
Original line number Diff line number Diff line
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
+30 −0
Original line number Diff line number Diff line
#############################################################
#
# 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))