pmaports/device/testing/device-google-sargo/APKBUILD
Caleb Connolly 6c27c1c460
soc-qcom-sdm845: encapsulate cellular specific stuff (MR 4047)
The upcoming db845c doesn't have cellular modem capabilities, but still
has wifi. Avoid installing modem related configs and services by default
and only install it for devices that need it.
2023-05-01 19:28:34 +01:00

43 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=device-google-sargo
pkgdesc="Google Pixel 3a"
pkgver=0.4
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sdm670
make-dynpart-mappings
mkbootimg
postmarketos-base
postmarketos-update-kernel
soc-qcom-sdm845
soc-qcom-sdm845-qbootctl
"
makedepends="devicepkg-dev"
source="deviceinfo"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Proprietary firmware blobs for the Google Pixel 3a"
depends="firmware-google-sargo linux-firmware-qca linux-firmware-qcom
msm-firmware-loader soc-qcom-sdm845-modem soc-qcom-sdm845-nonfree-firmware"
# Create an empty sub-package directory because this sub-package is empty
mkdir "$subpkgdir"
}
sha512sums="
0f85f1620d9bd5e2e42385b2b949147ed13433fa6783d1d8b4184c69a613848a042c82c1134e979e1732c1e95445c71c9e4350c1e23f5033b8508811894a7367 deviceinfo
"