Fixed so it will work on the PPP
This commit is contained in:
parent
2e854c8251
commit
3c1ebed425
@ -39,7 +39,7 @@ src_install() {
|
||||
|
||||
insinto /usr/share/alsa/ucm2/PinePhone/
|
||||
insopts -m644
|
||||
doins "${S}"/ucm2/PinePhone/PinePhone.conf
|
||||
doins "${FILESDIR}"/PinePhone.conf
|
||||
|
||||
#PinePhone Pro Configs
|
||||
insinto /usr/share/alsa/ucm2/PinePhonePro/
|
||||
@ -52,7 +52,7 @@ src_install() {
|
||||
|
||||
insinto /usr/share/alsa/ucm2/PinePhonePro/
|
||||
insopts -m644
|
||||
doins "${S}"/ucm2/PinePhonePro/PinePhonePro.conf
|
||||
doins "${FILESDIR}"/PinePhonePro.conf
|
||||
|
||||
#Create Symlinks
|
||||
dosym /usr/share/alsa/ucm2/PinePhone/PinePhone.conf \
|
||||
|
11
media-libs/alsa-ucm-pinephone/files/PinePhone.conf
Normal file
11
media-libs/alsa-ucm-pinephone/files/PinePhone.conf
Normal file
@ -0,0 +1,11 @@
|
||||
Syntax 2
|
||||
|
||||
SectionUseCase."HiFi" {
|
||||
File "/PinePhone/HiFi.conf"
|
||||
Comment "Play HiFi quality music"
|
||||
}
|
||||
|
||||
SectionUseCase."Voice Call" {
|
||||
File "/PinePhone/VoiceCall.conf"
|
||||
Comment "Make a phone call"
|
||||
}
|
16
media-libs/alsa-ucm-pinephone/files/PinePhonePro.conf
Normal file
16
media-libs/alsa-ucm-pinephone/files/PinePhonePro.conf
Normal file
@ -0,0 +1,16 @@
|
||||
Syntax 4
|
||||
Comment "PinePhone Pro"
|
||||
|
||||
SectionUseCase."HiFi" {
|
||||
File "/PinePhonePro/HiFi.conf"
|
||||
Comment "Play HiFi quality music"
|
||||
}
|
||||
|
||||
SectionUseCase."Voice Call" {
|
||||
File "/PinePhonePro/VoiceCall.conf"
|
||||
Comment "Make a phone call"
|
||||
}
|
||||
|
||||
Include.card-init.File "/lib/card-init.conf"
|
||||
Include.ctl-remap.File "/lib/ctl-remap.conf"
|
||||
Include.codec-init.File "/codecs/rt5640/init.conf"
|
Loading…
Reference in New Issue
Block a user