finepower-f1: add sound output support (!691)
This commit is contained in:
parent
0c76dd4ce3
commit
6e5723a69d
3 changed files with 1393 additions and 4 deletions
|
@ -1,15 +1,19 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname="device-finepower-f1"
|
||||
pkgdesc="FinePower F1"
|
||||
pkgver=0.1
|
||||
pkgver=0.2
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base linux-finepower-f1 mkbootimg mesa-dri-swrast"
|
||||
depends="postmarketos-base linux-finepower-f1 mkbootimg mesa-dri-swrast alsa-utils"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
source="
|
||||
deviceinfo
|
||||
asound.state
|
||||
asound.conf
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
|
@ -17,7 +21,15 @@ 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="621dbc22d55969e1682476d96f0de142c6e5db2ebd1c2787b8dd701a2d1f5c8a93a4570cbbaa408648036bdbb9904a35a5f7cb0c9e996f7ae641b5eb1cad249b deviceinfo"
|
||||
sha512sums="621dbc22d55969e1682476d96f0de142c6e5db2ebd1c2787b8dd701a2d1f5c8a93a4570cbbaa408648036bdbb9904a35a5f7cb0c9e996f7ae641b5eb1cad249b deviceinfo
|
||||
b942baf24085dd412dd0aecd1cbf96c2e4b65f96f443a0dcc67c6bd87a23f7cc612289bcecdef36280934f01ace9ba80beefe86f82d303d0ebe18e48776d2628 asound.state
|
||||
369df19f9bf7546236b81a33c00b6384e88e979c4711fead3749f8e60f4cd99f37b31baf1f00d05a821cb71ca2f440648e13083653f1a4ec0c178c7c1c415a58 asound.conf"
|
||||
|
|
9
device/device-finepower-f1/asound.conf
Normal file
9
device/device-finepower-f1/asound.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
pcm.!default {
|
||||
type hw
|
||||
card sprdphone
|
||||
}
|
||||
|
||||
ctl.!default {
|
||||
type hw
|
||||
card sprdphone
|
||||
}
|
1368
device/device-finepower-f1/asound.state
Normal file
1368
device/device-finepower-f1/asound.state
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue