5dec8f2c87
With unl0kr being default now, pointercal is no longer needed. [ci:skip-build]: already built successfully in CI
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-bq-piccolo
|
|
pkgdesc="BQ Aquaris M5"
|
|
pkgver=5
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
soc-qcom-msm8939 soc-qcom-msm8916-rproc"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo modules-initfs phoc.ini"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-phosh
|
|
"
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
|
|
depends="firmware-qcom-adreno-a420 msm-firmware-loader
|
|
firmware-bq-piccolo-venus firmware-bq-piccolo-wcnss-nv"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
install -D -m644 "$srcdir"/phoc.ini \
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
}
|
|
|
|
sha512sums="
|
|
d62fd741c073d469914635551184348d8f126903fc8cec5013e896bbbe66270b5b1a398447cafe51a08f42dc4cf0ab58ba8a0d69cd9555fb8a12204ed4eac28c deviceinfo
|
|
d7ba0b86dc573d0d57591399ec71c76169730b169546d1692910c3e04913100f8bfa534100dab8d5ad302d2a539fb64b040a6fb26979f41c8e7b76b596427afd modules-initfs
|
|
08a84d731ab0b33b8ec21001331e9c2261a039d3f137eb8bd2f580abea5cfb78706d95443b3e34f9ea3c73e15bcc75038a830402adc7e05636c03e9ce3581eb7 phoc.ini
|
|
"
|