mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Contributor: Danct12 <danct12@disroot.org>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=phoc
|
|
pkgver=0.8.0
|
|
pkgrel=0
|
|
pkgdesc="wlroots based Phone compositor for the Phosh shell"
|
|
arch="all !s390x" # no wlroots
|
|
url="https://source.puri.sm/Librem5/phoc"
|
|
license="GPL-3.0-only"
|
|
makedepends="meson ninja gobject-introspection-dev libinput-dev wayland-dev
|
|
wayland-protocols libxkbcommon-dev wlroots0.12-dev gnome-desktop-dev"
|
|
checkdepends="xvfb-run"
|
|
options="!check" # Needs fullblown EGL
|
|
source="https://source.puri.sm/Librem5/phoc/-/archive/v$pkgver/phoc-v$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dembed-wlroots=disabled \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
xvfb-run meson test --no-rebuild -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir/" meson install --no-rebuild -C output
|
|
install -Dm755 helpers/scale-to-fit \
|
|
-t "$pkgdir"/usr/bin
|
|
}
|
|
sha512sums="
|
|
b2cc687852385d4010c22e01ea65870dcc71f4a6a53782a615df11641ce5cc4b29add7afefd5560b95d03fe045b6ffa7387b68dfe114828cd62bdae9424e692d phoc-v0.8.0.tar.gz
|
|
"
|