2022-05-31 23:13:29 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2022-10-07 21:07:38 +00:00
|
|
|
# Maintainer: Richard Acayan <mailingradian@gmail.com>
|
2022-05-31 23:13:29 +00:00
|
|
|
pkgname=device-google-sargo
|
|
|
|
pkgdesc="Google Pixel 3a"
|
2023-02-22 01:47:51 +00:00
|
|
|
pkgver=0.4
|
|
|
|
pkgrel=0
|
2022-05-31 23:13:29 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2022-10-01 02:33:48 +00:00
|
|
|
linux-postmarketos-qcom-sdm670
|
2022-10-01 02:45:36 +00:00
|
|
|
make-dynpart-mappings
|
2022-05-31 23:13:29 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
2022-10-01 02:50:29 +00:00
|
|
|
postmarketos-update-kernel
|
2022-10-01 02:53:21 +00:00
|
|
|
soc-qcom-sdm845
|
|
|
|
soc-qcom-sdm845-qbootctl
|
2022-05-31 23:13:29 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2022-10-26 21:45:45 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2022-05-31 23:13:29 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2022-10-26 21:45:45 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Proprietary firmware blobs for the Google Pixel 3a"
|
2022-12-07 02:34:32 +00:00
|
|
|
depends="firmware-google-sargo linux-firmware-qca linux-firmware-qcom msm-firmware-loader soc-qcom-sdm845-nonfree-firmware"
|
2022-10-26 21:45:45 +00:00
|
|
|
|
|
|
|
# Create an empty sub-package directory because this sub-package is empty
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-05-31 23:13:29 +00:00
|
|
|
sha512sums="
|
2023-02-22 01:47:51 +00:00
|
|
|
0f85f1620d9bd5e2e42385b2b949147ed13433fa6783d1d8b4184c69a613848a042c82c1134e979e1732c1e95445c71c9e4350c1e23f5033b8508811894a7367 deviceinfo
|
2022-05-31 23:13:29 +00:00
|
|
|
"
|