pmaports/main/osk-sdl/APKBUILD

51 lines
1.2 KiB
Text
Raw Normal View History

# Maintainer: Clayton Craft <clayton@craftyguy.net>
# Co-Maintainer: Oliver Smith <ollieparanod@postmarketos.org>
#
# Note: cannot upstream to Alpine until:
# https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10712
pkgname=osk-sdl
pkgver=0.64
pkgrel=1
2017-09-23 01:12:12 +00:00
pkgdesc="Onscreen keyboard for unlocking LUKS devices"
url="https://gitlab.com/postmarketOS/osk-sdl"
arch="all"
license="GPL-3.0-or-later"
depends="
cryptsetup-libs
directfb
mesa-gl
mesa-gles
ttf-dejavu
"
makedepends="
cryptsetup-dev
linux-headers
meson
scdoc
sdl2-dev
sdl2_ttf-dev
"
source="https://gitlab.com/postmarketOS/osk-sdl/-/archive/$pkgver/osk-sdl-$pkgver.tar.gz"
options="!strip !check" # No tests
subpackages="$pkgname-doc"
provides="postmarketos-fde-unlocker"
provider_priority=1000
build() {
abuild-meson build
meson compile ${JOBS:+-j ${JOBS}} -C build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
# needed to trigger initfs rebuild:
touch osk-sdl
install -Dm644 osk-sdl \
"$pkgdir"/usr/share/postmarketos-mkinitfs-triggers/osk-sdl
}
sha512sums="
fc536c863ca8cb96dfbb734d19f7a4b445a6a4c1ea91e4e46ada327467fda41ebe0f0417ba0247232efbb0cf1014eb8aec36d57557a585477f107cd2ba330be9 osk-sdl-0.64.tar.gz
"