pmaports/device/community/device-xiaomi-beryllium/APKBUILD
Joel Selvaraj 39768d9b9d
community/device-xiaomi-beryllium: add new touchscreen module to initramfs (MR 4429)
Fixes broken fde as reported in https://gitlab.com/postmarketOS/pmaports/-/issues/2314.
Both Tianma and EBBG variant use the upstream touchscreen drivers in 6.5.
Add them to the initramfs as it was missed when upgrading to 6.5 kernel release.

[ci:skip-build] already built successfully in CI
2023-09-29 19:00:41 -07:00

67 lines
2.1 KiB
Text

# Maintainer: Joel Selvaraj <joelselvaraj.oss@gmail.com>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-beryllium
pkgdesc="Xiaomi Poco F1"
pkgver=10
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
postmarketos-base
mkbootimg
soc-qcom-sdm845
soc-qcom-sdm845-ucm
postmarketos-update-kernel
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-kernel-tianma:kernel_tianma
$pkgname-kernel-ebbg:kernel_ebbg
"
source="
deviceinfo
modules-initfs.ebbg
modules-initfs.tianma
q6voiced.conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU, venus, modem firmware"
depends="firmware-xiaomi-beryllium soc-qcom-sdm845-nonfree-firmware
soc-qcom-sdm845-modem"
mkdir "$subpkgdir"
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
}
kernel_tianma() {
pkgdesc="Tianma Panel. To know which panel your device use and the status of the port, Visit the Poco F1 wiki page: https://wiki.postmarketos.org/wiki/Xiaomi_Poco_F1_(xiaomi-beryllium)"
depends="linux-postmarketos-qcom-sdm845"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_ebbg() {
pkgdesc="EBBG Panel. To know which panel your device use and the status of the port, Visit the Poco F1 wiki page: https://wiki.postmarketos.org/wiki/Xiaomi_Poco_F1_(xiaomi-beryllium)"
depends="linux-postmarketos-qcom-sdm845"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="
912265b7255314f0d68bee23061665a8c386ce53a0db8433ca91ea17ea0aef475c6f82fce884648ad212cb72bdd60242c498fdcbce642f43467f2a30cc9a975b deviceinfo
cab76675b9c48eb1ce0691b31667d17ee73ecf21439a7f7c9c2ba96344e3bf4ad713ebc685298d6e32ad589ba26f429cd6b0d200338b50d136ad1a29758e4214 modules-initfs.ebbg
175a7d859956a029b91a1105b93c4113b07ab5cfe932294dd369808059ed03471625f64ce90e5146a65c0bb26417470d8f7c02e48dfacf2d016ce5b2c28cee76 modules-initfs.tianma
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
"