pmaports/device/testing/device-motorola-surnia/APKBUILD
Minecrell c4f8827b78
device-motorola-surnia: add missing panel module to initfs (MR 4390)
motorola-surnia also supports the inx panel as of Linux 6.3, add it to
the initfs so the display can be initialized early.

There is no tianma panel for surnia (only for harpia) so drop that.
It's not clear why it was there in the first place.

[ci:skip-build]: Already built successfully in CI
2023-09-11 19:31:58 +02:00

38 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-surnia
pkgdesc="Motorola Moto E (2nd Gen)"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
"
_pmb_select="soc-qcom-msm8916-rproc"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/Wi-Fi/Bluetooth/Video(/Modem) firmware"
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-motorola-surnia-wcnss-nv firmware-motorola-harpia-venus"
mkdir "$subpkgdir"
}
sha512sums="
aaf8fccdf9ca80ddd7dc45bdfedbc14a9f9c7d51fb9a61678cc2a6d104aec78fc31846c84b908e47246280778cf7c3cb301a8519b9a052bad49e11dfa3ec3482 deviceinfo
44df8245209d15e16e5114874e22160383861988b0bd1b2e2faca27c817cc03f431a387e8cc5a708ab2cfcc67b04f204043cdaaf898552588ea8feb18755b0a9 modules-initfs
"