samsung-espresso3g: use minimal .ini file for phosh (MR 2651)

This commit is contained in:
Mighty 2021-11-19 18:59:30 +05:30 committed by Newbyte
parent 0ff5a34c3f
commit b78fcd1794
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA
3 changed files with 7 additions and 32 deletions

View file

@ -11,7 +11,7 @@ arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-espresso3g mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo phoc.ini"
source="deviceinfo rootston.ini"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
@ -30,11 +30,11 @@ nonfree_firmware() {
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
install -Dm644 "$srcdir"/phosh.ini \
install -Dm644 "$srcdir"/rootston.ini \
"$subpkgdir"/usr/share/phosh/phoc.ini
}
sha512sums="
9fa446ae99b5d22bb211cb455ef78d0567463650e0a85beb9125f4bc56531b74d1690304770afa7886f26852b81f668d36add71fa3f7b840d0650e8b5483257a deviceinfo
1754d066d34919e25cf632a0a58b4c0f7a5cea46ea7c3534175cca3c0afaffd7e3128d0191a9db44ef47ab1a4f702f287bbc6160b131d924ebd8c4450e62d39c phoc.ini
70bd4dc8c6d7a8fcd2fcf86a9b728a5eb02c4b97a730dc3cd4a6c5dafb2ddcc71082dce89495d23cd1da8404bf2688a4a3f9e7f0f2d328157d275ce4b7f49429 rootston.ini
"

View file

@ -1,29 +0,0 @@
#[core]
#xwayland=false
[output:LVDS-1]
scale = 0.75
[output:DSI-1]
scale = 2
[output:Virtual-1]
# For the x86 VM using QXL to get a phone like geometry
modeline = 87.25 720 776 848 976 1440 1443 1453 1493 -hsync +vsync
mode = 720x1440
scale = 2
[output:X11-1]
mode = 360x720
#rotate = 90
scale = 1
[output:WL-1]
mode = 360x720
#rotate = 90
scale = 1
[output:HEADLESS-1]
mode = 720x1440
#rotate = 90
scale = 2

View file

@ -0,0 +1,4 @@
# Overwrites values set in /usr/share/phosh/phoc.ini
[output:LVDS-1]
scale = 0.75