1 ################################################################################
5 ################################################################################
8 LIBAO_SITE
= http
://downloads.xiph.org
/releases
/ao
9 LIBAO_DEPENDENCIES
= host-pkgconf
10 LIBAO_INSTALL_STAGING
= YES
11 LIBAO_LICENSE
= GPLv2
+
12 LIBAO_LICENSE_FILES
= COPYING
21 ifeq ($(BR2_PACKAGE_ALSA_LIB
),y
)
22 LIBAO_DEPENDENCIES
+= alsa-lib
23 LIBAO_CONF_OPTS
+= --enable-alsa
--enable-alsa-mmap
25 # Remove the OSS plugin if ALSA is enabled, as libao will prefer ALSA anyway
26 define LIBAO_REMOVE_OSS_PLUGIN
27 rm -f
$(TARGET_DIR
)/usr
/lib
/ao
/plugins-4
/liboss.so
29 LIBAO_POST_INSTALL_TARGET_HOOKS
+= LIBAO_REMOVE_OSS_PLUGIN
31 LIBAO_CONF_OPTS
+= --disable-alsa
34 $(eval
$(autotools-package
))