From 62f97294a01e3fb11c33035b0ea2589cfc00cce8 Mon Sep 17 00:00:00 2001 From: Mis012 Date: Tue, 23 Jun 2020 19:40:46 +0200 Subject: [PATCH] samsung-a3ulte: fix scaling on phosh (MR 1364) --- device/community/device-samsung-a3ulte/APKBUILD | 14 +++++++++++--- .../community/device-samsung-a3ulte/rootston.ini | 5 +++++ 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 device/community/device-samsung-a3ulte/rootston.ini diff --git a/device/community/device-samsung-a3ulte/APKBUILD b/device/community/device-samsung-a3ulte/APKBUILD index 10f2b2b3b..47b2139b6 100644 --- a/device/community/device-samsung-a3ulte/APKBUILD +++ b/device/community/device-samsung-a3ulte/APKBUILD @@ -4,19 +4,20 @@ pkgname=device-samsung-a3ulte pkgdesc="Samsung Galaxy A3 (SM-A300FU)" pkgver=3 -pkgrel=1 +pkgrel=2 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends="postmarketos-base mkbootimg soc-qcom-msm8916" makedepends="devicepkg-dev" -source="deviceinfo modprobe.conf" +source="deviceinfo modprobe.conf rootston.ini" subpackages=" $pkgname-kernel-mainline:kernel_mainline $pkgname-kernel-mainline-modem:kernel_mainline_modem $pkgname-nonfree-firmware:nonfree_firmware $pkgname-nonfree-firmware-modem:nonfree_firmware_modem + $pkgname-phosh " build() { @@ -52,5 +53,12 @@ nonfree_firmware_modem() { mkdir "$subpkgdir" } +phosh() { + install_if="$pkgname postmarketos-ui-phosh" + install -Dm644 "$srcdir"/rootston.ini \ + "$subpkgdir"/etc/phosh/rootston.ini +} + sha512sums="5bc4a4168addd501ef2278bc01a13d747fa7969f2f602e30db7ffd073b85dc5e8e9f2869a930bdf17ae7aaf9dbea2d540705994386ba4a780fd891771feb6558 deviceinfo -ee4263607eee2d12bd796d19606de35005f0a1ae4b8ff86e4556f2233c533b62d651dabe558081b5ff768a6b8158f34dd9b74b3dcece159e55d635b1d807928b modprobe.conf" +ee4263607eee2d12bd796d19606de35005f0a1ae4b8ff86e4556f2233c533b62d651dabe558081b5ff768a6b8158f34dd9b74b3dcece159e55d635b1d807928b modprobe.conf +f3667b914bb955be9e97db31dc7ed4a7c5d0c369be9549d587bb7208e270590c0c3fa36a0dd997d6f8305c5c9afb3b906423af6ca8724e806f995e61226cfc83 rootston.ini" diff --git a/device/community/device-samsung-a3ulte/rootston.ini b/device/community/device-samsung-a3ulte/rootston.ini new file mode 100644 index 000000000..8118a5e78 --- /dev/null +++ b/device/community/device-samsung-a3ulte/rootston.ini @@ -0,0 +1,5 @@ +[cursor:seat0] +map-to-output:DSI-1 + +[output:DSI-1] +scale = 1