2014-10-15 23:23:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libshout
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-04-03 21:56:51 +02:00
|
|
|
LIBSHOUT_VERSION = 2.4.1
|
2014-10-15 23:23:48 +02:00
|
|
|
LIBSHOUT_SITE = http://downloads.xiph.org/releases/libshout
|
2017-03-30 15:43:37 +02:00
|
|
|
LIBSHOUT_LICENSE = LGPL-2.0+
|
2014-10-15 23:23:48 +02:00
|
|
|
LIBSHOUT_LICENSE_FILES = COPYING
|
|
|
|
LIBSHOUT_INSTALL_STAGING = YES
|
|
|
|
LIBSHOUT_DEPENDENCIES = host-pkgconf libogg libvorbis
|
|
|
|
|
2016-08-31 22:26:07 +02:00
|
|
|
# patching configure.ac
|
|
|
|
LIBSHOUT_AUTORECONF = YES
|
|
|
|
|
2014-10-15 23:23:48 +02:00
|
|
|
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)
|
2014-10-17 16:52:04 +02:00
|
|
|
LIBSHOUT_CONF_OPTS += --enable-speex
|
2014-10-15 23:23:48 +02:00
|
|
|
LIBSHOUT_DEPENDENCIES += speex
|
|
|
|
else
|
|
|
|
LIBSHOUT_CONF_OPTS += --disable-speex
|
|
|
|
endif
|
|
|
|
|
2016-09-01 00:05:50 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
LIBSHOUT_CONF_OPTS += --with-openssl
|
|
|
|
LIBSHOUT_DEPENDENCIES += openssl
|
2017-09-23 11:19:49 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_LIBRESSL),y)
|
|
|
|
LIBSHOUT_CONF_OPTS += --with-openssl=$(STAGING_DIR)/lib
|
|
|
|
LIBSHOUT_DEPENDENCIES += libressl
|
2016-09-01 00:05:50 +02:00
|
|
|
else
|
|
|
|
LIBSHOUT_CONF_OPTS += --without-openssl
|
|
|
|
endif
|
|
|
|
|
2014-10-15 23:23:48 +02:00
|
|
|
$(eval $(autotools-package))
|