ea93a6d07f
[ci:ignore-count] [ci:skip-build]: already built successfully in CI
49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Richard Acayan <mailingradian@gmail.com>
|
|
pkgname=device-google-sargo
|
|
pkgdesc="Google Pixel 3a"
|
|
pkgver=0.5
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
alsa-ucm-conf-qcom-sdm670
|
|
linux-postmarketos-qcom-sdm670
|
|
make-dynpart-mappings
|
|
mkbootimg
|
|
postmarketos-base
|
|
postmarketos-update-kernel
|
|
soc-qcom-sdm845
|
|
soc-qcom-sdm845-qbootctl
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="90-feedbackd-drv2624.rules deviceinfo modules-initfs"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/90-feedbackd-drv2624.rules \
|
|
-t "$pkgdir"/usr/lib/udev/rules.d
|
|
}
|
|
|
|
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="
|
|
016d398155f2344417f5e5649a361719ba6e53e593c501b5df39114cdd284302b9bf8686a39817aee0c08fec95b3ab613c181d6cc9596299aaf7fd05dbe0c3dd 90-feedbackd-drv2624.rules
|
|
278861ee21b41628aa4c1abafa4b77bf3501fa0f520d247b5feff9084e9bf77b768a66ee67e5fcb43085fd6f4c91ad97362ae0139618c34e1cb27dd7fa2a706b deviceinfo
|
|
1eb5f138619f499fab31ea64f63ee9f8984f195528708ec6a01ddc533c74cfb71d1442b97905ae15db24b8faac259fa3e89db357ca9c747ce3ee598c2d681639 modules-initfs
|
|
"
|