1 |
commit: 749ed020659afd8d8150db4eb9465b6a07ad87c3 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed Feb 9 06:08:22 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Wed Feb 9 13:12:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=749ed020 |
7 |
|
8 |
media-libs/alsa-ucm-pinephone: update EAPI 7 -> 8 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
.../alsa-ucm-pinephone-1.2.6.3.ebuild | 39 ++++++---------------- |
13 |
1 file changed, 10 insertions(+), 29 deletions(-) |
14 |
|
15 |
diff --git a/media-libs/alsa-ucm-pinephone/alsa-ucm-pinephone-1.2.6.3.ebuild b/media-libs/alsa-ucm-pinephone/alsa-ucm-pinephone-1.2.6.3.ebuild |
16 |
index 66a0c6a72..53c7ce041 100644 |
17 |
--- a/media-libs/alsa-ucm-pinephone/alsa-ucm-pinephone-1.2.6.3.ebuild |
18 |
+++ b/media-libs/alsa-ucm-pinephone/alsa-ucm-pinephone-1.2.6.3.ebuild |
19 |
@@ -1,13 +1,15 @@ |
20 |
# Copyright 1999-2022 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=7 |
24 |
+EAPI=8 |
25 |
|
26 |
COMMIT="ec0ef36b8b897ed1ae6bb0d0de13d5776f5d3659" |
27 |
|
28 |
+MY_PN="pine64-alsa-ucm" |
29 |
DESCRIPTION="ALSA ucm configuration files for the PinePhone (Pro)" |
30 |
HOMEPAGE="https://gitlab.com/pine64-org/pine64-alsa-ucm" |
31 |
-SRC_URI="https://gitlab.com/pine64-org/pine64-alsa-ucm/-/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
32 |
+SRC_URI="https://gitlab.com/pine64-org/${MY_PN}/-/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
33 |
+S="${WORKDIR}/${MY_PN}-alsa-ucm-${COMMIT}" |
34 |
|
35 |
LICENSE="BSD" |
36 |
SLOT="0" |
37 |
@@ -19,46 +21,25 @@ RDEPEND=" |
38 |
>=media-plugins/alsa-plugins-1.2.6 |
39 |
>=media-libs/alsa-ucm-conf-1.2.6 |
40 |
>=media-video/pipewire-0.3.42 |
41 |
- " |
42 |
- |
43 |
+" |
44 |
DEPEND="${RDEPEND}" |
45 |
|
46 |
-BDEPEND="${RDEPEND}" |
47 |
- |
48 |
-S="${WORKDIR}/pine64-alsa-ucm-${COMMIT}" |
49 |
- |
50 |
src_install() { |
51 |
- #PinePhone Configs |
52 |
+ # PinePhone Configs |
53 |
insinto /usr/share/alsa/ucm2/PinePhone/ |
54 |
insopts -m644 |
55 |
doins "${S}"/ucm2/PinePhone/HiFi.conf |
56 |
- |
57 |
- insinto /usr/share/alsa/ucm2/PinePhone/ |
58 |
- insopts -m644 |
59 |
doins "${S}"/ucm2/PinePhone/VoiceCall.conf |
60 |
- |
61 |
- insinto /usr/share/alsa/ucm2/PinePhone/ |
62 |
- insopts -m644 |
63 |
doins "${FILESDIR}"/PinePhone.conf |
64 |
|
65 |
- #PinePhone Pro Configs |
66 |
+ # PinePhone Pro Configs |
67 |
insinto /usr/share/alsa/ucm2/PinePhonePro/ |
68 |
insopts -m644 |
69 |
doins "${S}"/ucm2/PinePhonePro/HiFi.conf |
70 |
- |
71 |
- insinto /usr/share/alsa/ucm2/PinePhonePro/ |
72 |
- insopts -m644 |
73 |
doins "${S}"/ucm2/PinePhonePro/VoiceCall.conf |
74 |
- |
75 |
- insinto /usr/share/alsa/ucm2/PinePhonePro/ |
76 |
- insopts -m644 |
77 |
doins "${FILESDIR}"/PinePhonePro.conf |
78 |
|
79 |
- #Create Symlinks |
80 |
- dosym /usr/share/alsa/ucm2/PinePhone/PinePhone.conf \ |
81 |
- /usr/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf |
82 |
- |
83 |
- dosym /usr/share/alsa/ucm2/PinePhonePro/PinePhonePro.conf \ |
84 |
- /usr/share/alsa/ucm2/conf.d/simple-card/PinePhonePro.conf |
85 |
- |
86 |
+ # Create Symlinks |
87 |
+ dosym ../../../PinePhone/PinePhone.conf /usr/share/alsa/ucm2/conf.d/simple-card/PinePhone.conf |
88 |
+ dosym ../../../PinePhonePro/PinePhonePro.conf /usr/share/alsa/ucm2/conf.d/simple-card/PinePhonePro.conf |
89 |
} |