kumquat-buildroot/package/libao/libao.mk
Fabrice Fontaine cfeb8d8151 package/libao: add LIBAO_CPE_ID_VENDOR
cpe:2.3🅰️xiph:libao is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Axiph%3Alibao

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-17 15:27:11 +01:00

36 lines
940 B
Makefile

################################################################################
#
# libao
#
################################################################################
LIBAO_VERSION = 1.2.0
LIBAO_SITE = http://downloads.xiph.org/releases/ao
LIBAO_DEPENDENCIES = host-pkgconf
LIBAO_INSTALL_STAGING = YES
LIBAO_LICENSE = GPL-2.0+
LIBAO_LICENSE_FILES = COPYING
LIBAO_CPE_ID_VENDOR = xiph
LIBAO_CONF_OPTS = \
--disable-esd \
--disable-wmm \
--disable-arts \
--disable-nas \
--disable-pulse \
--disable-broken-oss
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
LIBAO_DEPENDENCIES += alsa-lib
LIBAO_CONF_OPTS += --enable-alsa --enable-alsa-mmap
# Remove the OSS plugin if ALSA is enabled, as libao will prefer ALSA anyway
define LIBAO_REMOVE_OSS_PLUGIN
rm -f $(TARGET_DIR)/usr/lib/ao/plugins-4/liboss.so
endef
LIBAO_POST_INSTALL_TARGET_HOOKS += LIBAO_REMOVE_OSS_PLUGIN
else
LIBAO_CONF_OPTS += --disable-alsa
endif
$(eval $(autotools-package))