blob: 15eee51dc37364b7657f9b751cbf849837d3cf5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=phoc
pkgver=0.1.6_git20200126
pkgrel=3
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 wlroots-dev gnome-desktop-dev"
checkdepends="xvfb-run"
options="!check" # Needs fullblown EGL
source="https://source.puri.sm/Librem5/phoc/-/archive/b7e3b683385891558ece51091780a7c54c99ded4/phoc-b7e3b683385891558ece51091780a7c54c99ded4.tar.gz
120.patch"
builddir="$srcdir/$pkgname-b7e3b683385891558ece51091780a7c54c99ded4"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
. output
ninja -C output
}
check() {
xvfb-run ninja -C output test
}
package() {
DESTDIR="$pkgdir/" ninja -C output install
}
sha512sums="34693afe087def9e7b4ba62040a1fc6d92f423ad313d76321ec1fe2996d60a608af59bf714d51b21a2a9994dd9698124b55a94c32008313efdf5894d9da37c26 phoc-b7e3b683385891558ece51091780a7c54c99ded4.tar.gz
175384e1bcb43cd9b97449827e9f88df9c290eaef118c6c18e73d9b94b620074e735e40781f31208a9dd18e7c4af82f310d6f67cb21abfd0919c24c4bd1a2280 120.patch"
|