pmaports/device/testing/device-motorola-surnia/APKBUILD
Clayton Craft f1e0404fb8
device/*: set gpu_accelerated for devices that show '3D=Y' on wiki (MR 2078)
[ci:ignore-count]
[ci:skip-vercheck] needed for the postmarketos-ui-* packages in this
series
[ci:skip-build] already built ui-* packages in CI, and device pacakges
are just trivial deviceinfo change (manually built some just to verify)
2021-07-07 08:06:17 +03:00

42 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-surnia
pkgdesc="Motorola Moto E (2nd Gen)"
pkgver=0.1
pkgrel=8
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-motorola-surnia mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-nonfree-firmware-modem:nonfree_firmware_modem
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/Wi-Fi/Bluetooth/Video(/Modem) firmware"
depends="linux-firmware-qcom firmware-motorola-surnia-wcnss firmware-motorola-surnia-venus"
mkdir "$subpkgdir"
}
nonfree_firmware_modem() {
pkgdesc="Modem firmware"
depends="firmware-motorola-surnia-modem"
install_if="$pkgname-nonfree-firmware"
mkdir "$subpkgdir"
}
sha512sums="
ddd2e60a826ab5e252f5b4a40c400c08662f28ffd909a06d6ad3e7f9470291a0d2f032fe4da98ecb549efbf261b359365ee0be11edc9eb75c7e48c2c1d4b779a deviceinfo
"