pmaports/device/testing/device-xiaomi-onclite/APKBUILD
Barnabás Czémán 114420bb05
xiaomi-onclite: depend on soc-qcom-msm8953 modem and initramfs subpackages (MR 4445)
Depend on soc-qcom-msm8953-modem and initramfs.
Add necessary modules to initfs for fix touchscreen under fde.

[ci:skip-build]: already built successfully in CI
2023-10-04 08:13:52 +02:00

45 lines
1.1 KiB
Text

# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-onclite
pkgdesc="Xiaomi Redmi 7"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8953
lk2nd-msm8953
mkbootimg
postmarketos-base
soc-qcom-msm8953
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Modem, WiFi, BT, ADSP, Venus and GPU Firmware"
depends="
firmware-xiaomi-onclite
msm-firmware-loader
soc-qcom-msm8953-initramfs
soc-qcom-msm8953-modem
"
mkdir "$subpkgdir"
}
sha512sums="
f034295150acd176b9e9afe1936778d977cc220a9980e2081df3de7aa6705b2b0e86eaacdc84290b204729d5e3b8c23da71c41fc8a972519a8a0aa4e41d3599d deviceinfo
3a0f899046100af92be967043c595eb517cd54b4147e151d659c7f283c238565473c16eb43e223624233695559c01c17d29942153ef2f28c6e52695617e6ab2d modules-initfs
"