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-06-18 19:53:59 +00:00
|
|
|
pkgrel=7
|
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
|
|
|
|
"
|
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="
|
2024-06-18 19:53:59 +00:00
|
|
|
1a8413bc2c1a8be41c75cdbb7c0137783ce435ea236501d38cfe1fadaf6107dc5514747b1d37d0f3a303f243ef8b6297ac2666a7d517e3ee2361a3d6dcc13b42 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|