f90149a024
As Idan Horo wrote in osk-sdl!82: "Newer versions of cryptsetup automatically encrypt with LUKS v2. osk-sdl assumes all partitions are encrytped with v1 and as such fails. By just changing the encryption type to NULL cryptsetup automatically detects and chooses the correct LUKS version. Tested on xiaomi-kenzo."
26 lines
853 B
Text
26 lines
853 B
Text
pkgname=osk-sdl
|
|
pkgver=0.53
|
|
pkgrel=0
|
|
pkgdesc="Onscreen keyboard for unlocking LUKS devices"
|
|
url="https://gitlab.com/postmarketOS/osk-sdl"
|
|
arch="all"
|
|
license="GPL3"
|
|
depends="sdl2 sdl2_ttf cryptsetup-libs mesa-gl directfb"
|
|
makedepends="linux-headers sdl2-dev sdl2_ttf-dev cryptsetup-dev"
|
|
subpackages=""
|
|
|
|
source="${pkgname}-${pkgver}-${pkgrel}.tar.gz::https://gitlab.com/postmarketOS/osk-sdl/-/archive/${pkgver}/osk-sdl-${pkgver}.tar.gz"
|
|
|
|
options="!strip"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
package() {
|
|
install -D -m755 "${srcdir}/${pkgname}-${pkgver}"/bin/osk-sdl \
|
|
"$pkgdir"/usr/bin/osk-sdl
|
|
install -D -m755 "${srcdir}/${pkgname}-${pkgver}"/osk.conf \
|
|
"$pkgdir"/etc/osk.conf
|
|
}
|
|
sha512sums="0b48c6cbe6edce7edda8721e75be76fb984a825468b49d1ff690309c3112392f731eb919ebc96a0b085f6a5fc77e11e220fd79dbe6ea030cfddbb3cd5f86dd3f osk-sdl-0.53-0.tar.gz"
|