pmaports/device/community/device-xiaomi-markw/APKBUILD
Pablo Correa Gómez cf69326222
device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00

46 lines
1.4 KiB
Text

# Maintainer: Victor Pavlov (vipaoL) <vipaolmail@gmail.com>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-markw
pkgdesc="Xiaomi Redmi 4 Prime"
pkgver=4
pkgrel=1
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 modprobe.d_touchscreens-workaround.conf"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -D -m644 "$srcdir"/modprobe.d_touchscreens-workaround.conf "$pkgdir"/etc/modprobe.d/touchscreens-workaround.conf
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi, Bluetooth, Modem, Display and GPU Firmware"
depends="
firmware-xiaomi-markw
msm-firmware-loader
soc-qcom-msm8953-initramfs
soc-qcom-msm8953-modem
"
mkdir "$subpkgdir"
}
sha512sums="
0d393f07e551058781a67c096b1ad7f252c78e801a2da8752f893f4ea7c24f7aa65bc69f9c80c7be53e615269a7028eb151e7bc3fe79f0c260a4d28e97f10e7d deviceinfo
00f2a07de0aaedd3f3fee4aed6e1f591539cb56aa109c49d5b0a5de11c7f8c5d0a3cef8111b855d064bfe38901f3bbcddd9cf2c65ae811578d43319137f586ac modules-initfs
b6d005ac8be56b6eca402869fcf33f671f02000fb927af36ae9a860817c92a17329323408e94f4593d63e9f6a95881e270bc9dcd930ad4cf8312e1ac85ab4a20 modprobe.d_touchscreens-workaround.conf
"