kumquat-buildroot/package/libshout/libshout.mk
Fabrice Fontaine 54a8261e6f package/libshout: bump to version 2.4.6
- Drop patch (already in version) and so autoreconf
- libvorbis is optional since
  181ac9f3f5

https://gitlab.xiph.org/xiph/icecast-libshout/-/blob/v2.4.6/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-10-24 23:27:30 +02:00

46 lines
1.1 KiB
Makefile

################################################################################
#
# libshout
#
################################################################################
LIBSHOUT_VERSION = 2.4.6
LIBSHOUT_SITE = https://downloads.xiph.org/releases/libshout
LIBSHOUT_LICENSE = LGPL-2.0+
LIBSHOUT_LICENSE_FILES = COPYING
LIBSHOUT_INSTALL_STAGING = YES
LIBSHOUT_DEPENDENCIES = host-pkgconf libogg
LIBSHOUT_CONF_OPTS = \
--disable-examples \
--disable-tools
ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
LIBSHOUT_CONF_OPTS += --enable-theora
LIBSHOUT_DEPENDENCIES += libtheora
else
LIBSHOUT_CONF_OPTS += --disable-theora
endif
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
LIBSHOUT_CONF_OPTS += --enable-vorbis
LIBSHOUT_DEPENDENCIES += libvorbis
else
LIBSHOUT_CONF_OPTS += --disable-vorbis
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
LIBSHOUT_CONF_OPTS += --without-openssl
endif
$(eval $(autotools-package))