pmaports/device/testing/device-lg-bullhead/APKBUILD

53 lines
1.2 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-bullhead
pkgdesc="Google Nexus 5X"
pkgver=3
pkgrel=5
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
depends="
mkbootimg
msm-fb-refresher
postmarketos-base
postmarketos-update-kernel
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware
"
source="deviceinfo"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
kernel_downstream() {
pkgdesc="Downstream kernel"
depends="linux-lg-bullhead"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Close to mainline kernel (only basic hardware support)"
depends="linux-postmarketos-qcom-msm8994"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Proprietary WiFi, Modem, GPU and sensors firmware"
depends="firmware-lg-bullhead"
mkdir "$subpkgdir"
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
3588550785bf2d769a334d7f3f8fbbf6bcb48237a662725cd2f542ba495475af2c298745931bb46cfb501596e7032bf2637d36c8f9d265f5c6b9a9012956eb30 deviceinfo
"