blob: 774893de6d35b5b76a507cf070fe61e5d0319d30 (
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# Maintainer: Keith Plant <kplantjr at gmail dot com>
pkgname="wlroots-nvidia"
pkgver="0.17.4"
pkgrel="1"
pkgdesc="Modular Wayland compositor library, with fix for nvidia flickering"
license=("MIT")
wl_pkgname="wlroots"
url="https://gitlab.freedesktop.org/wlroots/wlroots"
arch=("x86_64")
provides=(
"wlroots=$pkgver"
"libwlroots.so"
)
conflicts=(
"wlroots"
"wlroots-git"
)
depends=(
'libdisplay-info.so'
'libglvnd'
'libinput'
'libpixman-1.so'
'libseat.so'
'libudev.so'
'libvulkan.so'
'libwayland-client.so'
'libwayland-server.so'
'libxcb'
'libxkbcommon.so'
'opengl-driver'
'xcb-util-errors'
'xcb-util-renderutil'
'xcb-util-wm'
)
makedepends=(
'glslang'
'meson'
'ninja'
'systemd'
'vulkan-headers'
'wayland-protocols'
'xorg-xwayland'
)
optdepends=(
'xorg-xwayland: Xwayland support'
)
options=(
'debug'
)
source=(
"$wl_pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz"
"https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz.sig"
"nvidia.patch"
)
sha256sums=(
'd3190d19d03446955e68a92c77d4c74af78384b0db39a85a0b1582adc80f36d1'
'SKIP'
'bbbb2a7c825d241f119a73503e7a04482f8d5f03192feabc68601c75cf93ad0b'
)
validpgpkeys=(
'34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48' # Simon Ser
'9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A' # Drew DeVault
'4100929B33EEB0FD1DB852797BC79407090047CA' # Sway signing key
)
prepare() {
patch --directory="$wl_pkgname-$pkgver" --forward --strip=0 \
--input="$srcdir/nvidia.patch"
}
build() {
arch-meson "$wl_pkgname-$pkgver" build
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 "$wl_pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$wl_pkgname/"
}
|