aboutsummaryrefslogtreecommitdiffstats
path: root/package/multimedia/swfdec/swfdec.mk
blob: 015d32e372fe8a9fb33796cec57c506e00bf87df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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))