summaryrefslogtreecommitdiff
path: root/package/libshout/libshout.mk
blob: faee3eb0ad4ef94ee445a34eaee020266f917ff1 (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
################################################################################
#
# libshout
#
################################################################################

LIBSHOUT_VERSION = 2.3.1
LIBSHOUT_SITE = http://downloads.xiph.org/releases/libshout
LIBSHOUT_LICENSE = LGPLv2+
LIBSHOUT_LICENSE_FILES = COPYING
LIBSHOUT_INSTALL_STAGING = YES
LIBSHOUT_DEPENDENCIES = host-pkgconf libogg libvorbis

ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
LIBSHOUT_CONF_OPTS += --enable-theora
LIBSHOUT_DEPENDENCIES += libtheora
else
LIBSHOUT_CONF_OPTS += --disable-theora
endif

ifeq ($(BR2_PACKAGE_SPEEX),y)
LIBSHOUT_CONF_OPTS += --enable-speex
LIBSHOUT_DEPENDENCIES += speex
else
LIBSHOUT_CONF_OPTS += --disable-speex
endif

$(eval $(autotools-package))