pmaports/main/postmarketos-ui-fbkeyboard/APKBUILD
Alexey Minnekhanov e78098c34f
main/postmarketos-ui-fbkeyboard: fix dejavu font path (MR 3582)
Alpine has changed location and package name of ttf-dejavu
fonts, adjust to new location.

Without this, fbkeyboard service crashes with error:

  unable to load font file: No such file or directory

Default font path is hardcoded [1] to
  "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf".
Luckily there is a CLI switch to change default, use it.

[1] https://github.com/bakonyiferenc/fbkeyboard/blob/master/fbkeyboard.c#L37
2022-10-24 13:10:52 +03:00

31 lines
869 B
Text

# Reference: https://postmarketos.org/uipkg
# Maintainer: Ferenc Bakonyi <bakonyi.ferenc@gmail.com>
pkgname=postmarketos-ui-fbkeyboard
pkgver=2
pkgrel=0
pkgdesc="Plain framebuffer console with touchscreen keyboard support"
url="https://github.com/bakonyiferenc/fbkeyboard"
arch="all"
license="GPL-3.0-or-later"
depends="
dnsmasq
fbkeyboard
networkmanager
networkmanager-cli
networkmanager-openrc
networkmanager-tui
networkmanager-wifi
networkmanager-wwan
postmarketos-base-ui
"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
source="fbkeyboard.init"
options="!check" # No tests
package() {
install -Dm755 "$srcdir"/fbkeyboard.init "$pkgdir"/etc/init.d/fbkeyboard
}
sha512sums="
db617546a5d8de1307e3b45bd3dbf07b62f0b6f2cb25b486dd0c46533d21af0cd6e7c97ade3074f57d982922ad148344909096803df9faa56be00b348c53c8c5 fbkeyboard.init
"