distribution/packages/audio/alsa-lib/package.mk
fewtarius eb64d6d58b
* Update alsa and associated packages.
* Fix setsettings bugs - controller index and analog dpad.
* Update Linux to 6.4.5 and 6.1.41
* Add configuration for Nintendo Switch Pro Controller.
* Only enable auto mute for specific models of AYANEO Air Plus (6800U).
* Remove logo.png if it's found in ES.
2023-07-24 22:32:28 +00:00

38 lines
1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="alsa-lib"
PKG_VERSION="1.2.9"
PKG_LICENSE="GPL"
PKG_SITE="http://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/lib/alsa-lib-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-topology-conf"
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+pic"
case ${DEVICE} in
RK356*)
::
;;
*)
PKG_DEPENDS_TARGET+=" alsa-ucm-conf"
;;
esac
if build_with_debug; then
PKG_ALSA_DEBUG=--with-debug
else
PKG_ALSA_DEBUG=--without-debug
fi
PKG_CONFIGURE_OPTS_TARGET+="${PKG_ALSA_DEBUG} \
--disable-dependency-tracking \
--with-plugindir=/usr/lib/alsa \
--disable-python"
post_configure_target() {
sed -i 's/.*PKGLIBDIR.*/#define PKGLIBDIR ""/' include/config.h
}