blob: 8e6d99af3f841962de1d4bf3631a0d4e9e90f0bc (
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
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
# Contributor: Samuel "scrufulufugus" Monson <smonson@irbash.net>
# Contributor: PedroHLC <root@pedrohlc.com>
pkgname=gamescope
pkgver=3.11.48
pkgrel=2
pkgdesc='SteamOS session compositing window manager'
arch=(x86_64)
url=https://github.com/Plagman/gamescope
license=(BSD)
depends=(
gcc-libs
glibc
libcap.so
libdrm
libliftoff.so
libpipewire-0.3.so
libvulkan.so
libwlroots.so
libx11
libxcomposite
libxdamage
libxext
libxfixes
libxkbcommon.so
libxrender
libxres
libxtst
libxxf86vm
sdl2
vulkan-icd-loader
wayland
wayland-protocols
wlroots
xorg-server-xwayland
)
makedepends=(
git
glslang
meson
ninja
vulkan-headers
)
_tag=f072cbd58b0ab373f486bf1647b7acd0ffce8f0d
source=(git+https://github.com/Plagman/gamescope.git#tag=${_tag})
b2sums=('SKIP')
prepare() {
cd gamescope
meson subprojects download
}
pkgver() {
cd gamescope
git describe --tags | sed 's/-//'
}
build() {
export LDFLAGS="$LDFLAGS -lrt"
arch-meson gamescope build \
-Dforce_fallback_for=stb \
-Dpipewire=enabled
meson compile -C build
}
package() {
DESTDIR="${pkgdir}" meson install -C build
install -Dm 644 gamescope/LICENSE -t "${pkgdir}"/usr/share/licenses/gamescope/
}
# vim: ts=2 sw=2 et:
|