zt3-p731a20: add asound.state from finepower-f1 (!761)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
6f464f96bf
commit
53ee5b4c8b
3 changed files with 1182 additions and 4 deletions
|
@ -2,15 +2,17 @@
|
|||
pkgname="device-zte-p731a20"
|
||||
pkgdesc="ZTE Blade AF3"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base linux-zte-p731a20 mkbootimg mesa-dri-swrast"
|
||||
depends="postmarketos-base linux-zte-p731a20 mkbootimg mesa-dri-swrast alsa-utils"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo
|
||||
initfs-hook.sh"
|
||||
initfs-hook.sh
|
||||
asound.state
|
||||
asound.conf"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
|
@ -18,8 +20,16 @@ build() {
|
|||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
# ALSA
|
||||
install -D -m644 "$srcdir"/asound.conf \
|
||||
"$pkgdir"/etc/asound.conf
|
||||
install -D -m644 "$srcdir"/asound.state \
|
||||
"$pkgdir"/var/lib/alsa/asound.state
|
||||
}
|
||||
|
||||
|
||||
sha512sums="e12c82d91d3dc793f832a5c7d5b99d8c9fd70e28b28d6d8ad95b53f1c89197cbbb4d2ebf14ba76bb8fafc654e361e71ec63b21b2d953d8a7c85856cff24dc3ae deviceinfo
|
||||
46c58ff11a1f6cecc3f450f462c9a2b01d2a651f933a796c8a9c2e72f5fba0a0fe876429b5e7dad2fbc64fb056150d56929cd932b39053bed64b389c825bac0d initfs-hook.sh"
|
||||
46c58ff11a1f6cecc3f450f462c9a2b01d2a651f933a796c8a9c2e72f5fba0a0fe876429b5e7dad2fbc64fb056150d56929cd932b39053bed64b389c825bac0d initfs-hook.sh
|
||||
e088ff8ae1fdf1e9b36949223208fb1dd04000a685ee054ed751d856c41f487807992c9cf67d9fbff804999d16b0430f1443b139b067e9c33c590eadda58e9ff asound.state
|
||||
369df19f9bf7546236b81a33c00b6384e88e979c4711fead3749f8e60f4cd99f37b31baf1f00d05a821cb71ca2f440648e13083653f1a4ec0c178c7c1c415a58 asound.conf"
|
||||
|
|
9
device/device-zte-p731a20/asound.conf
Normal file
9
device/device-zte-p731a20/asound.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
pcm.!default {
|
||||
type hw
|
||||
card sprdphone
|
||||
}
|
||||
|
||||
ctl.!default {
|
||||
type hw
|
||||
card sprdphone
|
||||
}
|
1159
device/device-zte-p731a20/asound.state
Normal file
1159
device/device-zte-p731a20/asound.state
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue