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

44 lines
1.1 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-10 17:38:46 +01:00
DESCRIPTION="ALSA ucm configuration files for PinePhone and PinePhonePro"
2022-01-10 14:00:24 +01:00
HOMEPAGE="https://gitlab.com/pine64-org/pine64-alsa-ucm"
SRC_URI="https://gitlab.com/pine64-org/pine64-alsa-ucm/-/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
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-10 17:40:13 +01:00
>=media-libs/alsa-lib-1.2.6
>=media-plugins/alsa-plugins-1.2.6
2021-12-15 11:30:44 +01:00
>=media-libs/alsa-ucm-conf-1.2.6
"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}"
2021-12-15 10:51:17 +01:00
2022-01-10 14:25:56 +01:00
S="${WORKDIR}/pine64-alsa-ucm-${COMMIT}"
2021-12-15 10:51:17 +01:00
src_install() {
insinto /usr/share/alsa/ucm2/PinePhone
2022-01-10 19:57:16 +01:00
insopts -m644
2022-01-10 14:00:24 +01:00
doins -r "${S}"/ucm2/PinePhone/*.conf
insinto /usr/share/alsa/ucm2/PinePhonePro
2022-01-10 19:57:16 +01:00
insopts -m644
2022-01-10 14:00:24 +01:00
doins -r "${S}"/ucm2/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
}