39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
|
# Copyright 1999-2022 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
COMMIT="355d788a6b53bb6b723779c5f791b735f589479d"
|
||
|
|
||
|
DESCRIPTION="ALSA ucm configuration files for the PinePhone (Pro)"
|
||
|
HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/alsa-ucm-pinephone"
|
||
|
SRC_URI="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/alsa-ucm-pinephone/-/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
S="${WORKDIR}/alsa-ucm-pinephone-${COMMIT}"
|
||
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~arm64"
|
||
|
|
||
|
RDEPEND="
|
||
|
>=media-libs/alsa-topology-conf-1.2.5
|
||
|
>=media-libs/alsa-lib-1.2.6
|
||
|
>=media-plugins/alsa-plugins-1.2.6
|
||
|
>=media-libs/alsa-ucm-conf-1.2.6
|
||
|
>=media-video/pipewire-0.3.42
|
||
|
>=media-sound/bluez-alsa-3.1.0
|
||
|
"
|
||
|
DEPEND="${RDEPEND}"
|
||
|
|
||
|
src_install() {
|
||
|
# PinePhone Pro Configs
|
||
|
insinto /usr/share/alsa/ucm2/PinePhonePro/
|
||
|
insopts -m644
|
||
|
newins "${S}"/PinePhonePro-HiFi.conf HiFi.conf
|
||
|
newins "${S}"/PinePhonePro-VoiceCall.conf VoiceCall.conf
|
||
|
doins "${S}"/PinePhonePro.conf
|
||
|
|
||
|
# Create Symlinks
|
||
|
dosym ../../PinePhonePro/PinePhonePro.conf /usr/share/alsa/ucm2/conf.d/simple-card/PinePhonePro.conf
|
||
|
}
|