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-08-09 01:47:06 +00:00
|
|
|
pkgver=0.6
|
|
|
|
pkgrel=0
|
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-23 21:09:04 +00:00
|
|
|
source="90-feedbackd-drv2624.rules 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
|
2023-08-23 21:09:04 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/90-feedbackd-drv2624.rules \
|
|
|
|
-t "$pkgdir"/usr/lib/udev/rules.d
|
2022-05-31 23:13:29 +00:00
|
|
|
}
|
|
|
|
|
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-23 21:09:04 +00:00
|
|
|
016d398155f2344417f5e5649a361719ba6e53e593c501b5df39114cdd284302b9bf8686a39817aee0c08fec95b3ab613c181d6cc9596299aaf7fd05dbe0c3dd 90-feedbackd-drv2624.rules
|
2023-08-09 01:47:06 +00:00
|
|
|
8af19da4e4a4a59c49263722065229fae849c3273af313300b7ea1b8fe008c6e55cfd060b91909306dd600134e2494f740adda245707dbcff84b1ab2f37dbde7 deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
1eb5f138619f499fab31ea64f63ee9f8984f195528708ec6a01ddc533c74cfb71d1442b97905ae15db24b8faac259fa3e89db357ca9c747ce3ee598c2d681639 modules-initfs
|
2022-05-31 23:13:29 +00:00
|
|
|
"
|