Add postmarketos-ui-shelli (!397)
A framebuffer console plus gesture recognition UI option. Tested locally building and on nexus 5. The power key works fine for me and the freeze after sitting for about 5 minutes still happens for me but I don't consider that necessarily a shelli bug, maybe the code needs to feed a watchdog or something.
This commit is contained in:
parent
36d68814fd
commit
3bba29a6ef
6 changed files with 73 additions and 0 deletions
30
main/gesture/APKBUILD
Normal file
30
main/gesture/APKBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Contributor: Martijn Braam
|
||||
# Maintainer: Craig Comstock <craig@unreasonablefarm.org>
|
||||
pkgname=gesture
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgdesc="handwriting algorithm with implementation for linux touchscreens injecting keys into a tty."
|
||||
url="https://gitlab.com/unrznbl/gesture"
|
||||
arch="all"
|
||||
license="GPL-3.0-only"
|
||||
depends=""
|
||||
makedepends="linux-headers"
|
||||
install="$pkgname.post-install $pkgname.pre-deinstall"
|
||||
options="!check"
|
||||
source="
|
||||
${url}/-/archive/v${pkgver}/gesture-v${pkgver}.tar.gz
|
||||
"
|
||||
builddir="$srcdir"/gesture-v$pkgver
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p $pkgdir
|
||||
cd $builddir
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="bb06d5579883e441087c1162c06fabde8051efa9cf4d5327983d589d86f94a11d3d1075b49d81aa042cf0c064f7ae403f1ce607535814d316316cd42ebc1d512 gesture-v0.1.tar.gz"
|
3
main/gesture/gesture.post-install
Normal file
3
main/gesture/gesture.post-install
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update add gesture default
|
3
main/gesture/gesture.pre-deinstall
Normal file
3
main/gesture/gesture.pre-deinstall
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update del gesture
|
29
main/postmarketos-ui-shelli/APKBUILD
Normal file
29
main/postmarketos-ui-shelli/APKBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Contributor: Martijn Braam
|
||||
# Maintainer: Craig Comstock <craig@unreasonablefarm.org>
|
||||
pkgname=postmarketos-ui-shelli
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgdesc="Plain console with touchscreen gesture support"
|
||||
url="https://gitlab.com/unrznbl/shelli"
|
||||
arch="armhf armv7 aarch64"
|
||||
license="GPL-3.0-only"
|
||||
makedepends="linux-headers"
|
||||
depends="gesture kbd kbd-misc"
|
||||
install="$pkgname.post-install $pkgname.pre-deinstall"
|
||||
source="
|
||||
${url}/-/archive/v${pkgver}/shelli-v${pkgver}.tar.gz
|
||||
"
|
||||
options="!check"
|
||||
builddir="$srcdir"/shelli-v${pkgver}
|
||||
build() {
|
||||
cd $builddir
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p $pkgdir
|
||||
cd $builddir
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="d62cdb8c3f7bf5c77e14c1378d1dcb6d4dc74aa1062fa07ed9a0ae2ad13022cefc3f5cdfd5bda9171f88d88d549b510eab10e169142765a8b642afa64ab01ee4 shelli-v0.1.tar.gz"
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update add largefont default
|
||||
rc-update add powerkey default
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update del powerkey
|
||||
rc-update del largefont
|
Loading…
Reference in a new issue