2018-11-27 06:45:33 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-google-crosshatch"
|
|
|
|
pkgdesc="Google Pixel 3 XL"
|
|
|
|
pkgver=0.1
|
2019-02-17 06:00:28 +00:00
|
|
|
pkgrel=2
|
2018-11-27 06:45:33 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2019-02-17 06:00:28 +00:00
|
|
|
depends="postmarketos-base mkbootimg mesa-dri-swrast"
|
2018-11-27 06:45:33 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2019-02-17 06:00:28 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
"
|
2018-11-27 06:45:33 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2019-02-17 06:00:28 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
|
|
|
depends="linux-google-crosshatch"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Attempt at mainlining. DO NOT USE: doesn't work (only USB networking is supported)"
|
|
|
|
depends="linux-google-crosshatch-mainline firmware-google-crosshatch-mainline-dtbo"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2018-11-27 06:45:33 +00:00
|
|
|
|
2019-02-17 06:00:28 +00:00
|
|
|
sha512sums="67bfa71f40a1fc761a7fc18d208d05d6da23f9cc7ff0b05c23cc9cb1dbc2be68a6cb77fedfc39938eaf2c41f8cbe9095c7f38ff587d9828d80a4c958d27dfd9a deviceinfo"
|