From: Emmanuel Riou Date: Mon, 28 Sep 2009 11:03:43 +0000 (+0100) Subject: Add Swfdec Free flash library X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19dde3a7aa987f4522caa235152c77bf10e90b9e;p=buildroot.git Add Swfdec Free flash library Peter: fixed kconfig (missing/wrong dependencies, text, trailing spaces) and makefile typo (ohost-pkgconfig). Signed-off-by: Emmanuel Riou Signed-off-by: Peter Korsgaard --- diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in index c7160a663c..49932d0f27 100644 --- a/package/multimedia/Config.in +++ b/package/multimedia/Config.in @@ -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" diff --git a/package/multimedia/swfdec/Config.in b/package/multimedia/swfdec/Config.in new file mode 100644 index 0000000000..7a51e2efa9 --- /dev/null +++ b/package/multimedia/swfdec/Config.in @@ -0,0 +1,29 @@ +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 + diff --git a/package/multimedia/swfdec/swfdec.mk b/package/multimedia/swfdec/swfdec.mk new file mode 100644 index 0000000000..015d32e372 --- /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))