device/testing/device-oneplus-enchilada: override phosh scaling (MR 1861)

When installing phosh UI, add /etc/phosh/rootston.ini to increase
scaling.
This commit is contained in:
Caleb Connolly 2021-01-06 17:04:40 +00:00 committed by Bart Ribbers
parent 4b7706d562
commit 2d0c5adc2d
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61
2 changed files with 16 additions and 4 deletions

View file

@ -3,7 +3,7 @@
pkgname=device-oneplus-enchilada pkgname=device-oneplus-enchilada
pkgdesc="OnePlus 6" pkgdesc="OnePlus 6"
pkgver=0.1 pkgver=0.2
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
@ -11,8 +11,8 @@ arch="aarch64"
options="!check !archcheck" options="!check !archcheck"
depends="postmarketos-base mkbootimg linux-oneplus-sdm845 soc-qcom-sdm845" depends="postmarketos-base mkbootimg linux-oneplus-sdm845 soc-qcom-sdm845"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source="deviceinfo" source="deviceinfo rootston.ini"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware" subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh"
build() { build() {
devicepkg_build $startdir $pkgname devicepkg_build $startdir $pkgname
@ -28,4 +28,11 @@ nonfree_firmware() {
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
sha512sums="98b7861dc862b740df65ea2abb0301c9cb0c0cd8b9324acfb095b3c6dd8d75f927a71cb90f1df85000386c4cc5f63b14e0ff361134ee141707d158f7c218cc3b deviceinfo" phosh() {
install_if="$pkgname=$pkgver-r$pkgrel phosh"
install -Dm644 "$srcdir"/rootston.ini \
"$subpkgdir"/etc/phosh/rootston.ini
}
sha512sums="98b7861dc862b740df65ea2abb0301c9cb0c0cd8b9324acfb095b3c6dd8d75f927a71cb90f1df85000386c4cc5f63b14e0ff361134ee141707d158f7c218cc3b deviceinfo
035f97e328ff9f976b082e66b97f76036cdee9825f3022471c7c5d371291cc4b5bd5c18196cd49f4cd9ad6390abe691b506de3b221e3c122433d5620e3b3c4c9 rootston.ini"

View file

@ -0,0 +1,5 @@
# /etc/phosh/rootston.ini
# Overwrites values set in /usr/share/phosh/phoc.ini
[output:DSI-1]
scale = 2.5