gjdwebserver-overlay/media-libs/alsa-ucm-pinephone/alsa-ucm-pinephone-1.2.6.3.ebuild

61 lines
1.5 KiB
Bash
Raw Normal View History

# Copyright 1999-2022 Gentoo Authors
2021-12-15 10:51:17 +01:00
# Distributed under the terms of the GNU General Public License v2
EAPI=7
2022-01-10 14:00:24 +01:00
COMMIT="ec0ef36b8b897ed1ae6bb0d0de13d5776f5d3659"
2021-12-15 10:51:17 +01:00
2022-01-11 10:06:42 +01:00
DESCRIPTION="ALSA ucm configuration files for the PinePhone (Pro)"
2022-01-10 14:00:24 +01:00
HOMEPAGE="https://gitlab.com/pine64-org/pine64-alsa-ucm"
2021-12-15 10:51:17 +01:00
LICENSE="BSD"
SLOT="0"
KEYWORDS="~arm64"
2021-12-15 11:30:44 +01:00
RDEPEND="
2022-01-11 10:06:42 +01:00
>=media-libs/alsa-topology-conf-1.2.5
2022-01-10 17:40:13 +01:00
>=media-libs/alsa-lib-1.2.6
2022-01-17 00:14:03 +01:00
>=media-plugins/alsa-plugins-1.2.6
2021-12-15 11:30:44 +01:00
>=media-libs/alsa-ucm-conf-1.2.6
2022-01-17 00:14:03 +01:00
>=media-video/pipewire-0.3.42
2021-12-15 11:30:44 +01:00
"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}"
2021-12-15 10:51:17 +01:00
2022-01-20 17:50:24 +01:00
S="${WORKDIR}"
2021-12-15 10:51:17 +01:00
src_install() {
2022-01-20 17:42:58 +01:00
insinto /usr/share/alsa/ucm2/PinePhone/HiFi.conf
2022-01-20 15:35:18 +01:00
insopts -m644
2022-01-20 17:50:24 +01:00
doins -r "${FILESDIR}"/PinePhone-HiFi.conf
2022-01-10 14:00:24 +01:00
2022-01-20 17:42:58 +01:00
insinto /usr/share/alsa/ucm2/PinePhone/VoiceCall.conf
2022-01-20 15:35:18 +01:00
insopts -m644
2022-01-20 17:50:24 +01:00
doins -r "${FILESDIR}"/PinePhone-VoiceCall.conf
2022-01-20 17:42:58 +01:00
insinto /usr/share/alsa/ucm2/PinePhone/PinePhone.conf
insopts -m644
2022-01-20 17:50:24 +01:00
doins -r "${FILESDIR}"/PinePhone.conf
2022-01-20 17:42:58 +01:00
insinto /usr/share/alsa/ucm2/PinePhonePro/HiFi.conf
insopts -m644
2022-01-20 17:50:24 +01:00
doins -r "${FILESDIR}"/PinePhonePro-HiFi.conf
2022-01-20 17:42:58 +01:00
insinto /usr/share/alsa/ucm2/PinePhonePro/VoiceCall.conf
insopts -m644
2022-01-20 17:50:24 +01:00
doins -r "${FILESDIR}"/PinePhonePro-VoiceCall.conf
2022-01-20 17:42:58 +01:00
insinto /usr/share/alsa/ucm2/PinePhonePro/PinePhonePro.conf
insopts -m644
2022-01-20 17:50:24 +01:00
doins -r "${FILESDIR}"/PinePhonePro.conf
2022-01-10 19:14:12 +01:00
2022-01-10 19:57:16 +01:00
dosym /usr/share/alsa/ucm2/PinePhone/PinePhone.conf \
2022-01-10 19:39:06 +01:00
/usr/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf
2022-01-10 19:57:16 +01:00
dosym /usr/share/alsa/ucm2/PinePhonePro/PinePhonePro.conf \
2022-01-10 19:39:06 +01:00
/usr/share/alsa/ucm2/conf.d/simple-card/PinePhonePro.conf
2021-12-15 10:51:17 +01:00
}