2020-01-06 09:44:17 +00:00
|
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
2020-08-08 20:30:57 +00:00
|
|
|
# Co-Maintainer: Oliver Smith <ollieparanod@postmarketos.org>
|
2021-01-12 04:15:43 +00:00
|
|
|
#
|
|
|
|
# Note: cannot upstream to Alpine until:
|
|
|
|
# https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10712
|
2017-08-19 16:50:59 +00:00
|
|
|
pkgname=osk-sdl
|
2022-10-09 21:24:50 +00:00
|
|
|
pkgver=0.67.1
|
2023-04-24 21:06:01 +00:00
|
|
|
pkgrel=3
|
2017-09-23 01:12:12 +00:00
|
|
|
pkgdesc="Onscreen keyboard for unlocking LUKS devices"
|
2018-06-30 14:08:43 +00:00
|
|
|
url="https://gitlab.com/postmarketOS/osk-sdl"
|
2017-08-19 16:50:59 +00:00
|
|
|
arch="all"
|
2020-01-06 09:44:17 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2020-09-15 17:53:55 +00:00
|
|
|
depends="
|
|
|
|
cryptsetup-libs
|
|
|
|
directfb
|
2022-03-29 22:56:37 +00:00
|
|
|
mesa-egl
|
2020-09-15 17:53:55 +00:00
|
|
|
mesa-gl
|
2021-01-12 04:15:43 +00:00
|
|
|
mesa-gles
|
2022-10-09 21:24:50 +00:00
|
|
|
font-dejavu
|
2020-09-15 17:53:55 +00:00
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
cryptsetup-dev
|
|
|
|
linux-headers
|
2021-01-12 04:15:43 +00:00
|
|
|
meson
|
|
|
|
scdoc
|
2020-09-15 17:53:55 +00:00
|
|
|
sdl2-dev
|
|
|
|
sdl2_ttf-dev
|
|
|
|
"
|
2022-01-22 18:15:25 +00:00
|
|
|
source="
|
|
|
|
https://gitlab.com/postmarketOS/osk-sdl/-/archive/$pkgver/osk-sdl-$pkgver.tar.gz
|
|
|
|
osk-sdl.files
|
|
|
|
unlock.sh
|
2022-10-09 21:24:50 +00:00
|
|
|
set-font.patch
|
2022-01-22 18:15:25 +00:00
|
|
|
"
|
2020-01-06 09:44:17 +00:00
|
|
|
options="!strip !check" # No tests
|
2020-12-03 22:09:45 +00:00
|
|
|
subpackages="$pkgname-doc"
|
2021-06-18 22:46:15 +00:00
|
|
|
provides="postmarketos-fde-unlocker"
|
|
|
|
provider_priority=1000
|
2017-08-19 16:50:59 +00:00
|
|
|
|
|
|
|
build() {
|
2021-01-12 04:15:43 +00:00
|
|
|
abuild-meson build
|
|
|
|
meson compile ${JOBS:+-j ${JOBS}} -C build
|
2017-08-19 16:50:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-01-12 04:15:43 +00:00
|
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C build
|
2020-09-15 17:53:55 +00:00
|
|
|
|
2022-01-22 18:15:25 +00:00
|
|
|
install -Dm755 "$srcdir"/unlock.sh \
|
|
|
|
"$pkgdir"/bin/fde-unlock
|
|
|
|
|
2021-01-12 04:15:43 +00:00
|
|
|
# needed to trigger initfs rebuild:
|
2020-09-15 17:53:55 +00:00
|
|
|
touch osk-sdl
|
|
|
|
install -Dm644 osk-sdl \
|
2023-02-18 23:27:25 +00:00
|
|
|
"$pkgdir"/usr/share/mkinitfs-triggers/osk-sdl
|
2022-01-22 18:15:25 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/osk-sdl.files \
|
2023-02-18 23:27:25 +00:00
|
|
|
"$pkgdir"/usr/share/mkinitfs/files/30-osk-sdl.files
|
2017-08-19 16:50:59 +00:00
|
|
|
}
|
2021-01-12 04:15:43 +00:00
|
|
|
|
2021-05-27 18:54:13 +00:00
|
|
|
sha512sums="
|
2022-10-09 21:24:50 +00:00
|
|
|
d699069b7acc1af9ade87ba01b3c2e8e9556bf762ea95b8379ebc7309fcb14ce7972d1563b599dd72068d50ebac039304089fdeb3a2c7972c84c2abe94853098 osk-sdl-0.67.1.tar.gz
|
2022-01-22 18:15:25 +00:00
|
|
|
e1017bc0667756b82527d88f47a77e2f5a44e0769b5ccdea0c6c1f86bd3d0a1df9d9f5bbb224888748cfef5edc3375036a25099eb02c963302f155c3b2e8fefd osk-sdl.files
|
2023-04-24 21:06:01 +00:00
|
|
|
5714849c66a3c9de0c20cec32ebe23867ccc80256599f351ba3b67b153a55b1c22c5a39ca2c403ea5fca46f1e1b9ffa2b80f8d9c0be79578acd6df501ebe3d4c unlock.sh
|
2022-10-09 21:24:50 +00:00
|
|
|
b4dfd5030603e35553dadb5617d27f4fbf1101daafee2cdc9ccff6e7570b5c853abee98c627fbd37927b2f6e10ebc1a5e0de20e8a61cd97b2c573a7a81447236 set-font.patch
|
2021-05-27 18:54:13 +00:00
|
|
|
"
|