distribution/packages/audio/alsa-ucm-conf/package.mk
2022-04-14 07:56:57 -04:00

18 lines
748 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="alsa-ucm-conf"
PKG_VERSION="1.2.6.3"
PKG_SHA256="b8a03aa387a624a2f65edc201bf777421190b60529a92087646823afbd96c5cd"
PKG_LICENSE="BSD-3c"
PKG_SITE="http://www.alsa-project.org/"
PKG_URL="ftp://ftp.alsa-project.org/pub/lib/alsa-ucm-conf-${PKG_VERSION}.tar.bz2"
PKG_LONGDESC="ALSA Use Case Manager configuration (and topologies)"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/share/alsa/
cp -PR ${PKG_BUILD}/ucm2 ${INSTALL}/usr/share/alsa/
# work around scripts/build removing empty directories, this leads to errors in ucm
touch ${INSTALL}/usr/share/alsa/ucm2/conf.virt.d/.dont_remove_this_dir
}