community/device-xiaomi-beryllium: add q6voiced conf and fix dependency (MR 2982)

The soc-qcom-sdm845-nonfree-firmware dependency is now moved from
firmware-xiaomi-beryllium package to the device package.
This will make the firmware package to only depend on firmware files.
This commit is contained in:
Joel Selvaraj 2022-03-17 13:08:52 +05:30 committed by Newbyte
parent 2ed40be4a1
commit 3865de4dca
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA
2 changed files with 9 additions and 3 deletions

View file

@ -4,8 +4,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-beryllium
pkgdesc="Xiaomi Poco F1"
pkgver=4
pkgrel=3
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -28,6 +28,7 @@ subpackages="
source="
deviceinfo
rootston.ini
q6voiced.conf
"
build() {
@ -40,8 +41,10 @@ package() {
nonfree_firmware() {
pkgdesc="GPU, venus, modem firmware"
depends="firmware-xiaomi-beryllium"
depends="firmware-xiaomi-beryllium soc-qcom-sdm845-nonfree-firmware"
mkdir "$subpkgdir"
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
}
kernel_tianma() {
@ -65,4 +68,5 @@ phosh() {
sha512sums="
29090e3d3fc16a752b33910abcfd8719af34bd257a7ca3cf25e9f1afc49e20582a7505bd7cd2ea2eb274c834eead277f31e5fb9384de8b444500518275e5a711 deviceinfo
eb0cc845431cabdc81c518ac51af761864ed4d51b52842361850bb795582c3be48ecd041f543b08158a36fea12800b263b87cbe6393663c1b315f496504e6a5b rootston.ini
7f599f086dba97ac39ce98798969bc8e9c26dd3b062bb8f95852182df52814b70d49b701e27b43abeb3639b16ba053e416c14cf75e0bf4a9f2fe7c01fb0ac41c q6voiced.conf
"

View file

@ -0,0 +1,2 @@
q6voice_card=0
q6voice_device=3