Date: Monday, January 2, 2023 @ 17:14:11
Author: freswa
Revision: 1373048
archrelease: copy trunk to staging-x86_64
Added:
gamescope/repos/staging-x86_64/
gamescope/repos/staging-x86_64/PKGBUILD
(from rev 1373046, gamescope/trunk/PKGBUILD)
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
Copied: gamescope/repos/staging-x86_64/PKGBUILD (from rev 1373046,
gamescope/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2023-01-02 17:14:11 UTC (rev 1373048)
@@ -0,0 +1,74 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Maintainer: Giancarlo Razzolini <[email protected]>
+# Contributor: Samuel "scrufulufugus" Monson <[email protected]>
+# Contributor: PedroHLC <[email protected]>
+
+pkgname=gamescope
+pkgver=3.11.48
+pkgrel=6
+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
+ wlroots0.15
+ libwlroots.so=10
+ libx11
+ libxcomposite
+ libxdamage
+ libxext
+ libxfixes
+ libxkbcommon.so
+ libxrender
+ libxres
+ libxtst
+ libxxf86vm
+ sdl2
+ vulkan-icd-loader
+ wayland
+ wayland-protocols
+ 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 PKG_CONFIG_PATH='/usr/lib/wlroots0.15/pkgconfig'
+ 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: