2014-10-15 23:23:48 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libshout
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-07-31 10:24:47 +02:00
|
|
|
LIBSHOUT_VERSION = 2.4.3
|
2019-07-31 10:24:46 +02:00
|
|
|
LIBSHOUT_SITE = https://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
|
2019-07-31 10:24:47 +02:00
|
|
|
LIBSHOUT_CONF_OPTS = --disable-examples
|
2016-08-31 22:26:07 +02:00
|
|
|
|
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))
|