diff options
Diffstat (limited to 'package/multimedia')
-rw-r--r-- | package/multimedia/Config.in | 1 | ||||
-rw-r--r-- | package/multimedia/swfdec/Config.in | 29 | ||||
-rw-r--r-- | package/multimedia/swfdec/swfdec.mk | 30 |
3 files changed, 60 insertions, 0 deletions
diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in index c7160a663..49932d0f2 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 000000000..7a51e2efa --- /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 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)) |