community/asus-me176c: fix splash screen width and phosh scaling (MR 2047)

Actually the display in asus-me176c has a width of 800px, which means
that the splash screen isn't perfectly centered. Correct this in
deviceinfo to make it show up correctly.

Also, add configuration file for Phosh to reduce scaling a bit to 1.75.
It's kind of subjective but scaling = 2 definitely feels too large.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Minecrell 2021-03-20 17:39:02 +01:00 committed by Oliver Smith
parent 2094a44b23
commit 86eff19e0b
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 19 additions and 6 deletions

View file

@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net> # Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-asus-me176c pkgname=device-asus-me176c
pkgdesc="ASUS MeMO Pad 7 (ME176C(X))" pkgdesc="ASUS MeMO Pad 7 (ME176C(X))"
pkgver=2 pkgver=3
pkgrel=2 pkgrel=0
_commit=3155254999ac36c3051a2118c415de25a072c0f6 _commit=3155254999ac36c3051a2118c415de25a072c0f6
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
@ -22,8 +22,9 @@ depends="
makedepends="devicepkg-dev meson eudev-dev" makedepends="devicepkg-dev meson eudev-dev"
source="https://github.com/me176c-dev/linux-me176c/archive/$_commit.tar.gz source="https://github.com/me176c-dev/linux-me176c/archive/$_commit.tar.gz
deviceinfo deviceinfo
rootston.ini
" "
subpackages="$pkgname-factory $pkgname-nonfree-firmware:nonfree_firmware" subpackages="$pkgname-factory $pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh"
builddir="$srcdir/linux-me176c-$_commit" builddir="$srcdir/linux-me176c-$_commit"
build() { build() {
@ -53,5 +54,12 @@ nonfree_firmware() {
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
sha512sums="25b18f7d2c6d6570077143b404d821e4814f23ce8e46dfe7c8f0ed7d318b5e8c7fba1bd68a7536cb3b9adb3ca6753e08dd1fa56d1e99bfabbe6992ce9b3575e1 deviceinfo phosh() {
75243e3d0bc9a352465683ec8cf8b83566e4131bb7fae0f388267a62bdbf4691c955ed034b30df550f921b771080688123ae8db144b72f786bf1677ef1d83f57 3155254999ac36c3051a2118c415de25a072c0f6.tar.gz" install_if="$pkgname postmarketos-ui-phosh"
install -Dm644 "$srcdir"/rootston.ini \
"$subpkgdir"/etc/phosh/rootston.ini
}
sha512sums="75243e3d0bc9a352465683ec8cf8b83566e4131bb7fae0f388267a62bdbf4691c955ed034b30df550f921b771080688123ae8db144b72f786bf1677ef1d83f57 3155254999ac36c3051a2118c415de25a072c0f6.tar.gz
e879c597fa4b1493a98a6676c643dc4fb470642dd9d0a7e2071384067a08618b502167f2063b2fec9ceb2a49e1d1a8781402d6e34e898dd02c394006e353939e deviceinfo
a60d1785f0163d4a4eb63ea5e3017631aab7dd6683baad6a74b09809d33888d581ca8b14526c19d18234dcf727d1fdb4ff0489ed4bd5523905d0e4da7d93bc56 rootston.ini"

View file

@ -14,7 +14,7 @@ deviceinfo_arch="x86_64"
deviceinfo_chassis="tablet" deviceinfo_chassis="tablet"
deviceinfo_keyboard="false" deviceinfo_keyboard="false"
deviceinfo_external_storage="true" deviceinfo_external_storage="true"
deviceinfo_screen_width="720" deviceinfo_screen_width="800"
deviceinfo_screen_height="1280" deviceinfo_screen_height="1280"
# Bootloader related # Bootloader related

View file

@ -0,0 +1,5 @@
[cursor:seat0]
map-to-output:DSI-1
[output:DSI-1]
scale = 1.75