Commit 3ac00334 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

swfdec: remove deprecated

parent 7998d1d3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ source "package/multimedia/portaudio/Config.in"
source "package/multimedia/pulseaudio/Config.in"
source "package/multimedia/python-mad/Config.in"
source "package/multimedia/speex/Config.in"
source "package/multimedia/swfdec/Config.in"
source "package/multimedia/tidsp-binaries/Config.in"
source "package/multimedia/taglib/Config.in"
source "package/multimedia/tremor/Config.in"
+0 −36
Original line number Diff line number Diff line
config BR2_PACKAGE_SWFDEC
	bool "swfdec"
	depends on BR2_DEPRECATED
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_INSTALL_LIBSTDCPP # pango
	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
	default y
	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
	depends on BR2_PACKAGE_GSTREAMER
	select BR2_PACKAGE_GST_PLUGINS_BASE
	default y
	help
	  Enables GStreamer support

comment "swfdec requires a toolchain with WCHAR and C++ support"
	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
+0 −37
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_MAKE_OPT = \
	GLIB_MKENUMS=$(HOST_DIR)/usr/bin/glib-mkenums \
	GLIB_GENMARSHAL=$(HOST_DIR)/usr/bin/glib-genmarshal

SWFDEC_INSTALL_STAGING = YES
SWFDEC_INSTALL_TARGET = YES

SWFDEC_DEPENDENCIES = liboil alsa-lib pango cairo host-pkg-config

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))

# swfdec uses glib-* at install time
# Notice: must come after AUTOTARGETS as that's where these variables gets set
SWFDEC_INSTALL_TARGET_OPT += $(SWFDEC_MAKE_OPT)
SWFDEC_INSTALL_STAGING_OPT += $(SWFDEC_MAKE_OPT)