pmaports/phosh/squeekboard/APKBUILD
Oliver Smith e36c225408
phosh: disable armhf
Phosh depends on gnome-session, which is currently not available in
Alpine for armhf. Fix the arch-lines to unblock building the binary
repository. [ci:skip-vercheck]
2019-10-07 22:52:33 +02:00

30 lines
1,014 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=squeekboard
pkgver=0_git20191004
pkgrel=0
_commit="3bede84a2de3009bdf23cb4da031b03f298df946"
pkgdesc="The final Phosh keyboard"
arch="all !armhf"
url="https://source.puri.sm/Librem5/squeekboard"
license="GPL-3.0-or-later"
makedepends="meson ninja rust cargo bash glib-dev wayland-protocols wayland-dev gtk+3.0-dev libcroco-dev"
checkdepends="xvfb-run"
source="$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/squeekboard/-/archive/$_commit.tar.gz"
subpackages="$pkgname-lang"
options="!check" # broken with cross compiling
builddir="$srcdir/$pkgname-$_commit"
build() {
meson . _build --prefix=/usr
ninja -C _build
}
check() {
xvfb-run ninja -C _build test
}
package() {
DESTDIR="$pkgdir" ninja -C _build install
}
sha512sums="97f53ddc13b00e6820cc67d250c145645642d5668ba68a82578099ed5a61f65fb1c19e99906e4f5ac61dce15d5512fc29b53dec593748332e5185833ba10fede squeekboard-0_git20191004.tar.gz"