add pinephone-keyboard config (MR 3175)

closes #1515

This patch HAS NOT been tested to see if it actually fixes #1515. I do
not have my pinephone keyboard with me and will not till v22.06 is out.
Can someone please test this patch before merging?

Note: this is being merged upstream but needs a refactor of the
Makefile. See:

https://lists.sr.ht/~mil/sxmo-devel/patches/32630

Since we cannot get the refactor of the Makefile out before the next
release, this is the next best thing

[ci:skip-build] already built successfully in CI.
This commit is contained in:
Anjandev Momi 2022-05-30 18:13:19 -04:00 committed by Clayton Craft
parent ac86b5e760
commit 620082575d
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 16 additions and 1 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Miles Alan <m@milesalan.com>
pkgname=postmarketos-ui-sxmo-de-sway
pkgver=1.9.0
pkgrel=0
pkgrel=1
pkgdesc="Simple Mobile: Mobile environment based on SXMO and running on sway"
url="http://sr.ht/~mil/Sxmo"
arch="noarch !armhf"
@ -47,8 +47,18 @@ _pmb_recommends="
"
provides="postmarketos-ui-sxmo"
provider_priority=1
# TODO: Remove this file when this config
# has been merged upstream.
# Link: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3177
source="pinephone-keyboard.conf"
options="!check" # has no tests
package() {
mkdir -p "$pkgdir"
mkdir -p "$pkgdir"/etc/sway/config.d
install -Dm644 "$srcdir"/pinephone-keyboard.conf \
"$pkgdir"/etc/sway/config.d/pinephone-keyboard.conf
}
sha512sums="
1741b6ff4cf89c4d58e008d08c72b3411df72090d1a1caec3d89a855e79f37c3bfda2b8401bb46e1c1843e28bc796ade5f91d75a147ff4b61a0bdc1ae1f87c77 pinephone-keyboard.conf
"

View file

@ -0,0 +1,5 @@
input "0:0:PinePhone_Keyboard" {
xkb_layout us
xkb_model ppkb
xkb_options lv3:ralt_switch
}