summaryrefslogtreecommitdiff
blob: 62707af45fcf76867afead860e7a6a6cb5664ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="ALSA ucm configuration files"
HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"

RDEPEND="!<media-libs/alsa-lib-1.2.1"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/${P}-ucm2-intel-sys_vendor.patch
	"${FILESDIR}"/${P}-ucm2-intel-product_name.patch
)

src_install() {
	insinto /usr/share/alsa
	doins -r ucm{,2}
}