46b8fb7500
libshout uses pkgconfig currently only to check for openssl paths, to fix the build error we pass our STAGING_DIR as parameter to --with-openssl Fixes http://autobuild.buildroot.net/results/72a/72aa07d48d6b1d7dea046b88ee4aa943534ffad4/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libshout
|
|
#
|
|
################################################################################
|
|
|
|
LIBSHOUT_VERSION = 2.4.1
|
|
LIBSHOUT_SITE = http://downloads.xiph.org/releases/libshout
|
|
LIBSHOUT_LICENSE = LGPL-2.0+
|
|
LIBSHOUT_LICENSE_FILES = COPYING
|
|
LIBSHOUT_INSTALL_STAGING = YES
|
|
LIBSHOUT_DEPENDENCIES = host-pkgconf libogg libvorbis
|
|
|
|
# patching configure.ac
|
|
LIBSHOUT_AUTORECONF = YES
|
|
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBSHOUT_CONF_OPTS += --with-openssl
|
|
LIBSHOUT_DEPENDENCIES += openssl
|
|
else ifeq ($(BR2_PACKAGE_LIBRESSL),y)
|
|
LIBSHOUT_CONF_OPTS += --with-openssl=$(STAGING_DIR)/lib
|
|
LIBSHOUT_DEPENDENCIES += libressl
|
|
else
|
|
LIBSHOUT_CONF_OPTS += --without-openssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|