blob: aecff83c1e9a792790f59067a1d79f2e45e6e7f2 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer:
_pkgname="xwayland-run"
pkgname="$_pkgname-git"
pkgver=0.0.4.r2.g2a27815
pkgrel=2
pkgdesc="Utilities to run headless X/Wayland clients"
url="https://gitlab.freedesktop.org/ofourdan/xwayland-run"
license=('GPL-2.0-or-later')
arch=('any')
depends=(
'python'
)
makedepends=(
'git'
'meson'
)
optdepends=(
'cage: Wayland compositor (no headless)'
'kwin: Wayland compositor'
'mutter: Wayland compositor'
'weston: Wayland compositor'
'xorg-xwayland: X11 server'
'xorg-xauth: to run X11 clients'
)
provides=(
"wlheadless-run=${pkgver%%.r*}"
"xwayland-run=${pkgver%%.r*}"
"xwfb-run=${pkgver%%.r*}"
)
conflicts=(
'wlheadless-run'
'xwayland-run'
'xwfb-run'
)
_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
| sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
arch-meson "$_pkgsrc" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|