2017-12-30 21:00:42 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-lg-h815
|
2017-12-30 21:00:42 +00:00
|
|
|
pkgdesc="LG G4 (h815)"
|
2023-03-09 13:56:52 +00:00
|
|
|
pkgver=1
|
2023-06-05 21:11:15 +00:00
|
|
|
pkgrel=3
|
2017-12-30 21:00:42 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
2023-03-09 13:56:52 +00:00
|
|
|
depends="
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
postmarketos-update-kernel
|
|
|
|
postmarketos-config-nftables-openusb
|
|
|
|
"
|
2017-12-30 21:00:42 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-03-09 13:56:52 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
"
|
2017-12-30 21:00:42 +00:00
|
|
|
source="deviceinfo"
|
2023-03-09 13:56:52 +00:00
|
|
|
options="!check !archcheck"
|
2017-12-30 21:00:42 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2023-03-09 13:56:52 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="Downstream kernel"
|
|
|
|
depends="linux-lg-h815 msm-fb-refresher"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="mainline kernel"
|
|
|
|
depends="linux-postmarketos-qcom-msm8994"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2017-12-30 21:00:42 +00:00
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2023-06-05 21:11:15 +00:00
|
|
|
a8a9efb69e1c1b83e40145b36744e929d1aa811f2b5240be033160f2a31fdfb9c8adccf1224f768e58b0529b0c3683346769f26d61285d09172c7a2818d5a21d deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|