xiaomi-surya: Add phosh phoc.ini (MR 3892)

This commit is contained in:
Danila Tikhonov 2023-01-26 00:51:50 +03:00 committed by Pablo Correa Gómez
parent 4067aa54a0
commit 9f81f9e3dd
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 14 additions and 1 deletions

View file

@ -4,7 +4,7 @@
pkgname=device-xiaomi-surya
pkgdesc="Xiaomi POCO X3 NFC"
pkgver=1
pkgver=1.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -20,6 +20,7 @@ depends="
makedepends="devicepkg-dev"
source="
deviceinfo
phoc.ini
"
subpackages="
@ -54,6 +55,13 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
install -Dm644 "$srcdir"/phoc.ini \
-t "$subpkgdir"/etc/phosh
}
sha512sums="
8fb0c1f3dbad1003b108bd7748a839f002c9c8caa3125148fb8818f5df540da81615428cbc5dfc28738d38460f3f1b4ec977c9f194447c0bc508bcd6a42f4276 deviceinfo
9b306b47e8fcbf3bbc1401bb183fe0a1a1c59ac4afdabb2cf7f5c9e39f478841f74401a29df3572466efa5624a57809ee5e46d2342c5b0e42d86e2460b641d76 phoc.ini
"

View file

@ -0,0 +1,5 @@
# /etc/phosh/phoc.ini
# Overwrites defaults in /usr/share/phosh/phoc.ini
[output:Unknown-1]
scale = 2.75