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 index 12a8980..79612e7 100644 --- 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 @@ -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 \ diff --git a/media-libs/alsa-ucm-pinephone/files/PinePhone.conf b/media-libs/alsa-ucm-pinephone/files/PinePhone.conf new file mode 100644 index 0000000..d136c4c --- /dev/null +++ b/media-libs/alsa-ucm-pinephone/files/PinePhone.conf @@ -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" +} diff --git a/media-libs/alsa-ucm-pinephone/files/PinePhonePro.conf b/media-libs/alsa-ucm-pinephone/files/PinePhonePro.conf new file mode 100644 index 0000000..0c146ec --- /dev/null +++ b/media-libs/alsa-ucm-pinephone/files/PinePhonePro.conf @@ -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"