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"
|
2022-10-01 02:50:29 +00:00
|
|
|
pkgver=0.3
|
2022-12-07 02:34:32 +00:00
|
|
|
pkgrel=3
|
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="
|
2022-10-01 02:50:29 +00:00
|
|
|
d300b755a4c07d3865a85599ad1f76fa00ce8bb2e6852a0d62ddec6b192537d1edad0a0b1b1e226c53f576aacd58ff5aaacaadf90dd033b38d2880d816a33cfc deviceinfo
|
2022-05-31 23:13:29 +00:00
|
|
|
"
|