From c13ea8e9d0014d5ca656a79399791abebd4b4d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= Date: Tue, 9 Jul 2024 20:03:30 -0300 Subject: [PATCH] Build gamescope-plus from AUR --- manifest | 1 + pkgs/gamescope-plus/PKGBUILD | 122 ----------------------------------- 2 files changed, 1 insertion(+), 122 deletions(-) delete mode 100644 pkgs/gamescope-plus/PKGBUILD diff --git a/manifest b/manifest index 8951b5371..0eb36de3d 100644 --- a/manifest +++ b/manifest @@ -205,6 +205,7 @@ export AUR_PACKAGES="\ downgrade \ evdev-keepalive \ frzr \ + gamescope-plus \ gamescope-session-steam-git \ gamescope-session-steam-plus-git \ hhfc-git \ diff --git a/pkgs/gamescope-plus/PKGBUILD b/pkgs/gamescope-plus/PKGBUILD deleted file mode 100644 index 830c9de11..000000000 --- a/pkgs/gamescope-plus/PKGBUILD +++ /dev/null @@ -1,122 +0,0 @@ -# Maintainer: Joaquín Aramendía -# Co-Maintainer: Matthew Anderson -# Contributor: Maxime Gauduin -# Contributor: Giancarlo Razzolini -# Contributor: Samuel "scrufulufugus" Monson -# Contributor: PedroHLC - -_pkgname=gamescope -pkgname=gamescope-plus-git -pkgver=3.14.18.19.gbc4fa10 -pkgrel=1 -pkgdesc='SteamOS session compositing window manager with added patches' -arch=(x86_64) -url=https://github.com/ChimeraOS/gamescope -license=(BSD) -conflicts=(gamescope) -provides=(gamescope) -depends=( - gcc-libs - glibc - glm - libavif - libcap.so - libdecor - libdisplay-info.so - libdrm - libinput - libpipewire-0.3.so - libx11 - libxcb - libxcomposite - libxdamage - libxext - libxfixes - libxkbcommon.so - libxmu - libxrender - libxres - libxtst - libxxf86vm - openvr - sdl2 - seatd - vulkan-icd-loader - wayland - xcb-util-errors - xcb-util-wm - xorg-server-xwayland -) - -makedepends=( - benchmark - git - glslang - meson - ninja - vulkan-headers - wayland-protocols -) - -source=("git+https://github.com/ChimeraOS/gamescope.git#branch=gamescope-plus" - "git+https://github.com/nothings/stb.git#commit=af1a5bc352164740c1cc1354942b1c6b72eacb8a" - "git+https://github.com/Joshua-Ashton/wlroots.git" - "git+https://gitlab.freedesktop.org/emersion/libliftoff.git" - "git+https://github.com/Joshua-Ashton/GamescopeShaders.git#tag=v0.1" - "git+https://github.com/Joshua-Ashton/reshade.git" - "git+https://github.com/KhronosGroup/SPIRV-Headers.git" - ) - -b2sums=('SKIP' - 'db31478999287cc5b08cc7d98d1daa43a27b339b3ad975269710bd719d30e9f1cf5ee240ee7e2a8d8551f20fa46da14acd669cb207b26a18d79b360e718ff55b' - 'SKIP' - 'SKIP' - 'ca268553bc3dacb5bd19553702cd454ea78ed97ab39d4397c5abf9a27d32633b63e0f7f7bf567b56066e6ecd979275330e629ba202a6d7721f0cd8166cd110dd' - 'SKIP' - 'SKIP') - -pkgver() { - cd "$srcdir/$_pkgname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' -} - -prepare() { - cd "$srcdir/$_pkgname" - meson subprojects download - git submodule init src/reshade - git config submodule.subprojects/wlroots.url "$srcdir/wlroots" - git config submodule.subprojects/libliftoff.url "$srcdir/libliftoff" - git config submodule.src/reshade.url "$srcdir/reshade" - git submodule init thirdparty/SPIRV-Headers - git config submodule.thirdparty/SPIRV-Headers.url ../SPIRV-Headers - git -c protocol.file.allow=always submodule update - - # make stb.wrap use our local clone - rm -rf subprojects/stb - git clone "$srcdir/stb" subprojects/stb - cp -av subprojects/packagefiles/stb/* subprojects/stb/ # patch from the .wrap we elided -} - -pkgver() { - cd gamescope - git describe --tags | sed 's/\-/\./g' -} - -build() { - export LDFLAGS="$LDFLAGS -lrt" - arch-meson gamescope build \ - -Dforce_fallback_for=stb,libliftoff,wlroots \ - -Dpipewire=enabled - ninja -C build -} - -package() { - install -d "$pkgdir"/usr/share/gamescope/reshade - cp -r "$srcdir"/GamescopeShaders/* "$pkgdir"/usr/share/gamescope/reshade/ - chmod -R 655 "$pkgdir"/usr/share/gamescope - - meson install -C build --skip-subprojects --destdir="${pkgdir}" - install -Dm 644 gamescope/LICENSE -t "${pkgdir}"/usr/share/licenses/gamescope/ -} - -# vim: ts=2 sw=2 et: