2022-01-02 15:40:22 +01:00
|
|
|
# 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
|
|
|
|
|
|
|
DESCRIPTION="ALSA ucm configuration files for PinePhone bases on the Manjaro ARM repo"
|
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="
|
|
|
|
>=media-libs/alsa-ucm-conf-1.2.6
|
|
|
|
"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
BDEPEND="${RDEPEND}"
|
2021-12-15 10:51:17 +01:00
|
|
|
|
2021-12-15 11:16:47 +01:00
|
|
|
S="${WORKDIR}/alsa-ucm-pinephone-${COMMIT}"
|
2021-12-15 10:51:17 +01:00
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto /usr/share/alsa/ucm2/PinePhone
|
2022-01-10 14:00:24 +01:00
|
|
|
doins -r "${S}"/ucm2/PinePhone/*.conf
|
|
|
|
|
|
|
|
insinto /usr/share/alsa/ucm2/PinePhonePro
|
|
|
|
doins -r "${S}"/ucm2/PinePhonePro/*.conf
|
2021-12-15 10:51:17 +01:00
|
|
|
}
|