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-05-27 15:28:40 +00:00
|
|
|
pkgrel=3
|
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-05-27 15:28:40 +00:00
|
|
|
sha512sums="0d275efe4d79d2a9fecbfa1d4ebe7da3647bdca607c7b20171082a4c832df9c76112749ada36895c13902acbea2ddeacf95279755a1d072998a387c898499e5b deviceinfo"
|