blob: 50e48261b7f565958a8dabb5f6a3882dbce64c6f (
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
57
58
59
60
61
62
63
64
65
66
|
# Maintainer: DreamMaoMao <maoopzopaasnmakslpo@gmail.com>
pkgname=wlroots-0.18-git
pkgver=0.18.2
pkgrel=1
pkgdesc='Modular Wayland compositor library (0.18.2 version)'
arch=(x86_64)
url=https://gitlab.freedesktop.org/wlroots/wlroots
license=(MIT)
options=(debug)
depends=(
glibc
libdrm
libinput
libliftoff
libxcb
libglvnd
lcms2
libxkbcommon
systemd-libs
opengl-driver
pixman
wayland
xcb-util-errors
xcb-util-renderutil
xcb-util-wm
seatd
glslang
vulkan-icd-loader
libdisplay-info)
makedepends=(
git
meson
vulkan-headers
wayland-protocols
xorgproto
xorg-xwayland
)
optdepends=(
'xorg-xwayland: enable X11 support'
)
provides=("libwlroots-0.18.so")
source=("${pkgname}::git+${url}")
b2sums=('SKIP')
_builddir="build"
prepare() {
meson setup \
--buildtype=debug \
-Dwerror=false \
-Dexamples=false \
"${pkgname}" "${_builddir}"
}
build() {
cd "$srcdir/$pkgname"
git checkout 0.18.2
# export PKG_CONFIG_PATH="/usr/lib/wlroots0.17/pkgconfig/"
meson setup --buildtype=release --prefix /usr "$srcdir/build"
ninja -C "$srcdir/build"
}
package() {
meson install -C "${_builddir}" --destdir="${pkgdir}"
install -Dm644 "${pkgname}/"LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|