diff --git a/device/testing/device-fairphone-fp4/APKBUILD b/device/testing/device-fairphone-fp4/APKBUILD index f17eae36d..5d4b2e7bc 100644 --- a/device/testing/device-fairphone-fp4/APKBUILD +++ b/device/testing/device-fairphone-fp4/APKBUILD @@ -1,8 +1,8 @@ # Reference: pkgname=device-fairphone-fp4 pkgdesc="Fairphone 4" -pkgver=0.2 -pkgrel=1 +pkgver=0.3 +pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" @@ -14,9 +14,14 @@ depends=" postmarketos-base " makedepends="devicepkg-dev" -source="deviceinfo" +source=" + deviceinfo + gtk.css + rootston.ini + " subpackages=" $pkgname-nonfree-firmware:nonfree_firmware + $pkgname-phosh " build() { @@ -46,6 +51,16 @@ nonfree_firmware() { mkdir "$subpkgdir" } +phosh() { + install_if="$pkgname=$pkgver-r$pkgrel phosh" + install -Dm644 "$srcdir"/gtk.css \ + "$subpkgdir"/etc/skel/.config/gtk-3.0/gtk.css + install -Dm644 "$srcdir"/rootston.ini \ + "$subpkgdir"/etc/phosh/rootston.ini +} + sha512sums=" f6cbf5a753757cd72df609ff9c45172f5d7f8266d9514275fe3d9f56218abb74ee94bc240c97aa728e2a82f4ccf65b1d6ec608eb0c84d5ba6274e631cf6a019a deviceinfo +25a93dcbe6dbc6cff24f57cbf5539bc475c5fe0f6bf5e8374c7032b9c38a939bef0aa0cde1707afcc16b1ec2d0859c03c6ee92d80d8048d1c6adc6e25178b85f gtk.css +9fef488a655fcbad4fb28c11d7d6cbe385096e766cd99ca59802f1dbc4e3c99dac0ff682549e02fac0b73f7e95db953f3a87c453d1b19b229785e4ffeec515ed rootston.ini " diff --git a/device/testing/device-fairphone-fp4/gtk.css b/device/testing/device-fairphone-fp4/gtk.css new file mode 100644 index 000000000..027a0b6ba --- /dev/null +++ b/device/testing/device-fairphone-fp4/gtk.css @@ -0,0 +1,11 @@ +/* TWEAKS-START phosh-clock-notch */ +.phosh-topbar-clock { + margin-left: 100.0px; +} +/* TWEAKS-END phosh-clock-notch */ +/* TWEAKS-START phosh-panel-btn-space */ +.phosh-panel-btn { + margin-left: 10.0px; + margin-right: 10.0px; +} +/* TWEAKS-END phosh-panel-btn-space */ diff --git a/device/testing/device-fairphone-fp4/rootston.ini b/device/testing/device-fairphone-fp4/rootston.ini new file mode 100644 index 000000000..709f3bec3 --- /dev/null +++ b/device/testing/device-fairphone-fp4/rootston.ini @@ -0,0 +1,5 @@ +# /etc/phosh/rootston.ini +# Overwrites values set in /usr/share/phosh/phoc.ini + +[output:DSI-1] +scale = 3.0