bq-piccolo: fix Phosh scaling (MR 3732)

This commit is contained in:
André Apitzsch 2022-12-17 21:28:18 +01:00 committed by Newbyte
parent 4531d7695c
commit 9cbee8fda5
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 13 additions and 3 deletions

View file

@ -1,17 +1,18 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-bq-piccolo
pkgdesc="BQ Aquaris M5"
pkgver=3
pkgrel=2
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8939"
makedepends="devicepkg-dev"
source="deviceinfo pointercal"
source="deviceinfo phoc.ini pointercal"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-phosh
"
build() {
@ -30,7 +31,14 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
install -D -m644 "$srcdir"/phoc.ini \
"$subpkgdir"/etc/phosh/phoc.ini
}
sha512sums="
6e66c90b5a1ae54561705c3c28c282de6adba76cdd8cf5e89bddb56e280b85ceba9125cc20c2e831f891d2b89fc3827798cf4087ee7cf1323240411bd58bb815 deviceinfo
08a84d731ab0b33b8ec21001331e9c2261a039d3f137eb8bd2f580abea5cfb78706d95443b3e34f9ea3c73e15bcc75038a830402adc7e05636c03e9ce3581eb7 phoc.ini
07785092e30dcaca238e7b54ba4df7ad11ea69bec39180129448c7900a07d60171ec79386c3d1eb9bece4b63cd0c5dd8309e5ce4a668f7035733c2c00e84d537 pointercal
"

View file

@ -0,0 +1,2 @@
[output:DSI-1]
scale = 2.25