device-samsung-lt023g: add audio subpkg to install pw
This also relocates some audio-related config into the new audio subpkg so that it's only installed in cases where a UI requires audio. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
This commit is contained in:
parent
01deb2b288
commit
cfac29e5c0
1 changed files with 16 additions and 3 deletions
|
|
@ -2,17 +2,18 @@
|
||||||
pkgname=device-samsung-lt023g
|
pkgname=device-samsung-lt023g
|
||||||
pkgdesc="Galaxy Tab 3 7.0"
|
pkgdesc="Galaxy Tab 3 7.0"
|
||||||
pkgver=3
|
pkgver=3
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="armv7"
|
arch="armv7"
|
||||||
options="!check !archcheck"
|
options="!check !archcheck"
|
||||||
depends="alsa-utils alsa-ucm-conf linux-samsung-lt023g mkbootimg postmarketos-base postmarketos-base-ui-audio-pipewire"
|
depends="linux-samsung-lt023g mkbootimg postmarketos-base"
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
source="deviceinfo device-ssp.start HiFi.conf emei-dkb-hifi.conf"
|
source="deviceinfo device-ssp.start HiFi.conf emei-dkb-hifi.conf"
|
||||||
|
subpackages="$pkgname-audio"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
devicepkg_build $startdir $pkgname
|
devicepkg_build $startdi$pkgname r $pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
@ -27,6 +28,18 @@ package() {
|
||||||
install -Dm755 "$srcdir/device-ssp.start" "$pkgdir/etc/local.d/device-ssp.start"
|
install -Dm755 "$srcdir/device-ssp.start" "$pkgdir/etc/local.d/device-ssp.start"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
audio() {
|
||||||
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-base-ui-audio"
|
||||||
|
depends="
|
||||||
|
alsa-ucm-conf
|
||||||
|
alsa-utils
|
||||||
|
postmarketos-base-ui-audio-pipewire
|
||||||
|
"
|
||||||
|
|
||||||
|
amove usr/share/alsa/ucm2/conf.d/emei-dkb-hifi/emei-dkb-hifi.conf
|
||||||
|
amove usr/share/alsa/ucm2/conf.d/emei-dkb-hifi/HiFi.conf
|
||||||
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
184231951bb495823b1c4c4a97c479a984497559c333064a614a3823ea6c3feb9aec031b2911c68b7b22cc0336162f190407fcf8a54e89f44d54f09ef5694224 deviceinfo
|
184231951bb495823b1c4c4a97c479a984497559c333064a614a3823ea6c3feb9aec031b2911c68b7b22cc0336162f190407fcf8a54e89f44d54f09ef5694224 deviceinfo
|
||||||
52b8ba6501b93e3592483e195d101a476cd7f1f73e516182f503e11c38d51a38312ef42fa125279ff29ddb2a433539410704ae4a326ca98b261b6d9920c1d368 device-ssp.start
|
52b8ba6501b93e3592483e195d101a476cd7f1f73e516182f503e11c38d51a38312ef42fa125279ff29ddb2a433539410704ae4a326ca98b261b6d9920c1d368 device-ssp.start
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue