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"
|
2024-06-03 23:05:03 +00:00
|
|
|
pkgver=2
|
2024-04-02 12:52:52 +00:00
|
|
|
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:53:21 +00:00
|
|
|
soc-qcom-sdm845
|
|
|
|
soc-qcom-sdm845-qbootctl
|
2022-05-31 23:13:29 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-09-23 21:08:48 +00:00
|
|
|
source="
|
2024-06-03 23:05:03 +00:00
|
|
|
10-unl0kr-msm.conf
|
2023-09-23 21:08:48 +00:00
|
|
|
90-feedbackd-drv2624.rules
|
|
|
|
deviceinfo
|
|
|
|
modules-initfs
|
|
|
|
q6voiced.conf
|
|
|
|
"
|
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
|
2024-06-03 23:05:03 +00:00
|
|
|
install -Dm644 "$srcdir"/10-unl0kr-msm.conf \
|
|
|
|
"$pkgdir"/etc/unl0kr.conf.d/10-unl0kr-msm.conf
|
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-09-30 20:33:21 +00:00
|
|
|
depends="
|
|
|
|
firmware-google-sargo
|
|
|
|
linux-firmware-ath10k
|
|
|
|
linux-firmware-qca
|
|
|
|
linux-firmware-qcom
|
|
|
|
soc-qcom-sdm845-modem
|
|
|
|
soc-qcom-sdm845-nonfree-firmware
|
|
|
|
"
|
2022-10-26 21:45:45 +00:00
|
|
|
|
2023-10-05 03:14:38 +00:00
|
|
|
# The q6voiced configuration can only be used if the ADSP is brought up
|
|
|
|
# via non-free firmware.
|
|
|
|
install -Dm644 "$srcdir"/q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
2022-10-26 21:45:45 +00:00
|
|
|
}
|
|
|
|
|
2022-05-31 23:13:29 +00:00
|
|
|
sha512sums="
|
2024-06-03 23:05:03 +00:00
|
|
|
f700af3145b79d1ef9edfb22982899b25cabfb212f9620dcbd3a2e6f44b5ad591e0a66056c6fcd66c3fde89a2b5f551e8a8fe2e65cf0e2a48adec57c027d7825 10-unl0kr-msm.conf
|
2023-08-23 21:09:04 +00:00
|
|
|
016d398155f2344417f5e5649a361719ba6e53e593c501b5df39114cdd284302b9bf8686a39817aee0c08fec95b3ab613c181d6cc9596299aaf7fd05dbe0c3dd 90-feedbackd-drv2624.rules
|
2023-08-09 01:47:06 +00:00
|
|
|
8af19da4e4a4a59c49263722065229fae849c3273af313300b7ea1b8fe008c6e55cfd060b91909306dd600134e2494f740adda245707dbcff84b1ab2f37dbde7 deviceinfo
|
2024-06-03 23:05:03 +00:00
|
|
|
9e2bd634e8f0104827991c5ce7b2346187310a6362f47a67d16e2bd93a910e8ec49f6b98608908febb7cecde14687af094bd95b8b3c1f8122d3710333ecf417e modules-initfs
|
2023-09-23 21:08:48 +00:00
|
|
|
7f599f086dba97ac39ce98798969bc8e9c26dd3b062bb8f95852182df52814b70d49b701e27b43abeb3639b16ba053e416c14cf75e0bf4a9f2fe7c01fb0ac41c q6voiced.conf
|
2022-05-31 23:13:29 +00:00
|
|
|
"
|