2018-02-20 20:24:45 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-lg-bullhead
|
2018-02-20 20:24:45 +00:00
|
|
|
pkgdesc="Google Nexus 5X"
|
2022-04-14 18:32:19 +00:00
|
|
|
pkgver=3
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=5
|
2018-02-20 20:24:45 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
2021-11-03 21:00:46 +00:00
|
|
|
depends="
|
|
|
|
mkbootimg
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base
|
|
|
|
postmarketos-update-kernel
|
|
|
|
"
|
2018-02-20 20:24:45 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-11-03 21:00:46 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2018-02-20 20:24:45 +00:00
|
|
|
source="deviceinfo"
|
2021-11-03 21:00:46 +00:00
|
|
|
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
|
|
|
|
}
|
2021-04-24 04:18:27 +00:00
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Proprietary WiFi, Modem, GPU and sensors firmware"
|
|
|
|
depends="firmware-lg-bullhead"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-02-20 20:24:45 +00:00
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2022-09-21 19:38:22 +00:00
|
|
|
3588550785bf2d769a334d7f3f8fbbf6bcb48237a662725cd2f542ba495475af2c298745931bb46cfb501596e7032bf2637d36c8f9d265f5c6b9a9012956eb30 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|