author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-03-02 10:21:37 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2025-03-02 10:21:37 UTC |
parent | a6b27032a3ac1b3e390908da1b99bbb9d44fdca5 |
.SRCINFO | +4 | -1 |
PKGBUILD | +5 | -3 |
veyron-headset-mic-jack.patch | +12 | -0 |
diff --git a/.SRCINFO b/.SRCINFO index 8d24541..af42d94 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,19 @@ pkgbase = alsa-ucm-conf pkgdesc = ALSA Use Case Manager configuration (and topologies) pkgver = 1.2.11 - pkgrel = 1 + pkgrel = 2 url = https://alsa-project.org/ arch = any license = BSD-3-Clause source = https://alsa-project.org//files/pub/lib/alsa-ucm-conf-1.2.11.tar.bz2 source = https://alsa-project.org//files/pub/lib/alsa-ucm-conf-1.2.11.tar.bz2.sig + source = veyron-headset-mic-jack.patch validpgpkeys = F04DF50737AC1A884C4B3D718380596DA6E59C91 sha512sums = b202e7410a579789be0005564b4868f70bca0fd8664c02add95fc9ff90ab64faebda978fbd3e83a3274c37242dccf8efbebd03f529e35ca3033daf55f425cb8d sha512sums = SKIP + sha512sums = SKIP b2sums = 8b57ad990eac676ca8f5044a81a57a85951e425bd059679ac3dc7097e3c4a089cb73bbd01869335c4e94161d9f3f86aba7549b6a666e69ba76578d785e53fbb4 b2sums = SKIP + b2sums = SKIP pkgname = alsa-ucm-conf diff --git a/PKGBUILD b/PKGBUILD index fe988f0..15ae04c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,22 +3,24 @@ pkgname=alsa-ucm-conf pkgver=1.2.11 -pkgrel=1 +pkgrel=2 pkgdesc="ALSA Use Case Manager configuration (and topologies)" arch=(any) url="https://alsa-project.org/" license=(BSD-3-Clause) source=( $url/files/pub/lib/$pkgname-$pkgver.tar.bz2{,.sig} + "veyron-headset-mic-jack.patch" ) sha512sums=('b202e7410a579789be0005564b4868f70bca0fd8664c02add95fc9ff90ab64faebda978fbd3e83a3274c37242dccf8efbebd03f529e35ca3033daf55f425cb8d' - 'SKIP') + 'SKIP' 'SKIP') b2sums=('8b57ad990eac676ca8f5044a81a57a85951e425bd059679ac3dc7097e3c4a089cb73bbd01869335c4e94161d9f3f86aba7549b6a666e69ba76578d785e53fbb4' - 'SKIP') + 'SKIP' 'SKIP') validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org> package() { cd $pkgname-$pkgver + patch -Np1 < ../veyron-headset-mic-jack.patch install -vdm 755 "$pkgdir/usr/share/alsa/" cp -av ucm2 "$pkgdir/usr/share/alsa/" install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" diff --git a/veyron-headset-mic-jack.patch b/veyron-headset-mic-jack.patch new file mode 100644 index 0000000..7e7dd46 --- /dev/null +++ b/veyron-headset-mic-jack.patch @@ -0,0 +1,12 @@ +diff --git a/ucm2/Rockchip/max98090/HiFi.conf b/ucm2/Rockchip/max98090/HiFi.conf +index 344967c..7ed6fda 100644 +--- a/ucm2/Rockchip/max98090/HiFi.conf ++++ b/ucm2/Rockchip/max98090/HiFi.conf +@@ -104,6 +104,7 @@ SectionDevice."Headset" { + Value { + CapturePriority 200 + CapturePCM "hw:${CardId}" ++ JackControl "Headset Mic Jack" + } + + EnableSequence [