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
|
2023-08-02 17:06:01 +00:00
|
|
|
pkgrel=3
|
2022-05-31 23:13:29 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2023-05-26 23:43:59 +00:00
|
|
|
alsa-ucm-conf-qcom-sdm670
|
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"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
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"
|
2023-04-29 22:09:49 +00:00
|
|
|
depends="firmware-google-sargo linux-firmware-qca linux-firmware-qcom
|
|
|
|
msm-firmware-loader soc-qcom-sdm845-modem 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-08-02 17:06:01 +00:00
|
|
|
278861ee21b41628aa4c1abafa4b77bf3501fa0f520d247b5feff9084e9bf77b768a66ee67e5fcb43085fd6f4c91ad97362ae0139618c34e1cb27dd7fa2a706b deviceinfo
|
|
|
|
1eb5f138619f499fab31ea64f63ee9f8984f195528708ec6a01ddc533c74cfb71d1442b97905ae15db24b8faac259fa3e89db357ca9c747ce3ee598c2d681639 modules-initfs
|
2022-05-31 23:13:29 +00:00
|
|
|
"
|