distribution/packages/audio/alsa-utils/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

37 lines
1.3 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)
# Copyright (C) 2022-present Fewtarius
PKG_NAME="alsa-utils"
PKG_VERSION="1.2.9"
PKG_LICENSE="GPL"
PKG_SITE="http://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/utils/alsa-utils-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib ncurses systemd"
PKG_LONGDESC="This package includes the utilities for ALSA, like alsamixer, aplay, arecord, alsactl, iecset and speaker-test."
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--disable-alsaconf \
--disable-alsaloop \
--enable-alsatest \
--disable-bat \
--disable-dependency-tracking \
--disable-nls \
--disable-rst2man \
--disable-xmlto"
case ${DEVICE} in
RK356*)
::
;;
*)
PKG_DEPENDS_TARGET+=" alsa-ucm-conf"
;;
esac
post_makeinstall_target() {
rm -rf ${INSTALL}/lib ${INSTALL}/var
rm -rf ${INSTALL}/usr/share/alsa/speaker-test
rm -rf ${INSTALL}/usr/share/sounds
rm -rf ${INSTALL}/usr/lib/systemd/system
}