2021-07-26 20:20:56 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-bq-piccolo
|
|
|
|
pkgdesc="BQ Aquaris M5"
|
2024-02-15 08:21:05 +00:00
|
|
|
pkgver=6
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2021-07-26 20:20:56 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2023-01-04 10:40:12 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8939 soc-qcom-msm8916-rproc"
|
2021-07-26 20:20:56 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-10-25 18:59:39 +00:00
|
|
|
source="deviceinfo modules-initfs phoc.ini"
|
2021-07-26 20:20:56 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2022-12-17 20:28:18 +00:00
|
|
|
$pkgname-phosh
|
2021-07-26 20:20:56 +00:00
|
|
|
"
|
2023-01-04 10:40:12 +00:00
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
2021-07-26 20:20:56 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
|
2022-12-15 19:06:58 +00:00
|
|
|
depends="firmware-qcom-adreno-a420 msm-firmware-loader
|
|
|
|
firmware-bq-piccolo-venus firmware-bq-piccolo-wcnss-nv"
|
2021-07-26 20:20:56 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-12-17 20:28:18 +00:00
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
|
|
install -D -m644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
|
|
}
|
|
|
|
|
2021-07-26 20:20:56 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
fad7d6f1289b8385889dd742ef1f3c07fdea94829eef837b03d3a8712d99bda71dd5a80cead2aa923184ab3ce1cc3a410483fec21dfd91265745490f9d09247e deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
d7ba0b86dc573d0d57591399ec71c76169730b169546d1692910c3e04913100f8bfa534100dab8d5ad302d2a539fb64b040a6fb26979f41c8e7b76b596427afd modules-initfs
|
2022-12-17 20:28:18 +00:00
|
|
|
08a84d731ab0b33b8ec21001331e9c2261a039d3f137eb8bd2f580abea5cfb78706d95443b3e34f9ea3c73e15bcc75038a830402adc7e05636c03e9ce3581eb7 phoc.ini
|
2021-07-26 20:20:56 +00:00
|
|
|
"
|