From 395f02db08a3f738bacbe8fbaa9fba11084f4e73 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Fri, 13 Oct 2023 00:16:09 +0100
Subject: gentoo auto-resync : 13:10:2023 - 00:16:09

---
 gui-wm/Manifest.gz                       | Bin 1214 -> 1213 bytes
 gui-wm/gamescope/Manifest                |   5 +-
 gui-wm/gamescope/gamescope-3.12.5.ebuild |  80 --------------------------
 gui-wm/gamescope/gamescope-3.12.7.ebuild |  94 +++++++++++++++++++++++++++++++
 4 files changed, 97 insertions(+), 82 deletions(-)
 delete mode 100644 gui-wm/gamescope/gamescope-3.12.5.ebuild
 create mode 100644 gui-wm/gamescope/gamescope-3.12.7.ebuild

(limited to 'gui-wm')

diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz
index 00a77fc650a7..dcb5bbfa22d6 100644
Binary files a/gui-wm/Manifest.gz and b/gui-wm/Manifest.gz differ
diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest
index 810d3fcf8b75..ff1f937dd056 100644
--- a/gui-wm/gamescope/Manifest
+++ b/gui-wm/gamescope/Manifest
@@ -1,3 +1,4 @@
-DIST gamescope-3.12.5.tar.gz 441125 BLAKE2B b45b5fcf8903627d3136597ab08f9abab0c3404f7d5fb0c0c8c45d7266e94dcb0e033ad5e2d3bf0619ab7b7250f0bbc810f31d3a8ec79ffbc0d767f7b09637d6 SHA512 b3409010855de83eff86a0e24320e5a22b713c509f7a74fd11eb9a1182a30360e939b1f4c4cc54b8902b2dca1ee24c2927c5c738cfc762abe4435bc3b2144151
-EBUILD gamescope-3.12.5.ebuild 1828 BLAKE2B c0606fefeace90fb02d6ceed8c03f9987562a2693e5c8cbb6bd2f606cb2b81679ac05124dd60f7e21d1623de5a22798cd93086ab6b23ee05cf705386a329ce48 SHA512 2c61e850fcb8e9f879260e3de5098219d67a63d729d02d3e0a2a384afa9ecd91ebfe3a73ce28ec8903b6a33b429cc4f3ee2455ed87543b33ccbf7a87941b648c
+DIST gamescope-3.12.7.tar.gz 469724 BLAKE2B 46d5fe972a38c418f039a63d7c94d3f8303205e926c7880918c9a3bcca614595a6efc30d4733b5e2ac824bd25d7686dd9d1dd07be434bb1c217cf112ac481cfb SHA512 f9bd67ce11f4855537e3e28fee82b9eb89e5b0bbc0cfe8a4e558f00f60a83ea611639711fdc7a4562655530b55782991332034cb823332a70647e2bd5b4dd642
+DIST reshade-9fdbea6892f9959fdc18095d035976c574b268b7.tar.gz 1543894 BLAKE2B 5e2b643ffbbda3ad078deb075a6fada1d0a560c6d865b7febee6a8eaade83ec90db3c5a8f4130d27b6dfaa8ee7b899edd214c23c947678eed28fb8e7165d9bd2 SHA512 4565d094e1c2d53d5073b4976874665d38dcf7ca86e982e569cc76923eaa9187fa32a4385fc577a3a867d2917596e6377e5a023a34bc2d389ff899d5b69764fb
+EBUILD gamescope-3.12.7.ebuild 2534 BLAKE2B 1ac9349387bc3bc2901420dd9b80f59721c1ca7702822f666d862656e94484f2e6ffa81fca8b70d93ca7b956474192246cf5a950296c5883fc1dac6d114db363 SHA512 49768c5496e437c33cf8d7a2b9992eea59d90d3f6aa72e1556dfa54c7bc0c3318380d8604b8d3bfe00b404e089b817f9889fbe73204254ddb2dae0a7c56bd776
 MISC metadata.xml 489 BLAKE2B 6930da0ca2827741a902e064b3bca71266ac5c2e61d7cf6d566c37e971efd04b2fcd2381659e1d5babe6fd05dd4d06979c0d82b3ac5e2702bb5d3311ef30df79 SHA512 419f4a3f3dc7a940d0f157323b9afd116b4a4d2efc718eb5979d84677b770a606c532d0777dbed1b6598afa393894e5dc9982dbaf7e31c90a9e0b433938d4e55
diff --git a/gui-wm/gamescope/gamescope-3.12.5.ebuild b/gui-wm/gamescope/gamescope-3.12.5.ebuild
deleted file mode 100644
index 8de18f8b6b60..000000000000
--- a/gui-wm/gamescope/gamescope-3.12.5.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps meson
-
-MY_PV=$(ver_rs 3 -)
-MY_PV="${MY_PV//_/-}"
-DESCRIPTION="Efficient micro-compositor for running games"
-HOMEPAGE="https://github.com/ValveSoftware/gamescope"
-SRC_URI="https://github.com/ValveSoftware/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="pipewire +wsi-layer"
-
-RDEPEND="
-	=dev-libs/libliftoff-0.4*
-	>=dev-libs/wayland-1.21
-	>=dev-libs/wayland-protocols-1.17
-	=gui-libs/wlroots-0.16*[X]
-	>=media-libs/libdisplay-info-0.1.1
-	media-libs/libsdl2[video,vulkan]
-	media-libs/vulkan-loader
-	sys-apps/hwdata
-	sys-libs/libcap
-	>=x11-libs/libdrm-2.4.109
-	x11-libs/libX11
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libxkbcommon
-	x11-libs/libXmu
-	x11-libs/libXrender
-	x11-libs/libXres
-	x11-libs/libXtst
-	x11-libs/libXxf86vm
-	pipewire? ( >=media-video/pipewire-0.3:= )
-	wsi-layer? ( x11-libs/libxcb )
-"
-DEPEND="
-	${RDEPEND}
-	dev-cpp/benchmark
-	dev-libs/stb
-	dev-util/vulkan-headers
-	media-libs/glm
-	wsi-layer? ( >=media-libs/vkroots-0_p20230103 )
-"
-BDEPEND="
-	dev-util/glslang
-	dev-util/wayland-scanner
-	virtual/pkgconfig
-"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-FILECAPS=(
-	cap_sys_nice usr/bin/${PN}
-)
-
-src_prepare() {
-	default
-
-	# Normally wraps stb with Meson. Upstream does not ship a pkg-config file so
-	# we don't install one. Work around this using symlinks.
-	mkdir subprojects/stb || die
-	ln -sn "${ESYSROOT}"/usr/include/stb/* "${S}"/subprojects/packagefiles/stb/* subprojects/stb/ || die
-}
-
-src_configure() {
-	local emesonargs=(
-		--force-fallback-for=
-		-Denable_openvr_support=false
-		$(meson_feature pipewire)
-		$(meson_use wsi-layer enable_gamescope_wsi_layer)
-	)
-	meson_src_configure
-}
diff --git a/gui-wm/gamescope/gamescope-3.12.7.ebuild b/gui-wm/gamescope/gamescope-3.12.7.ebuild
new file mode 100644
index 000000000000..82addc58848f
--- /dev/null
+++ b/gui-wm/gamescope/gamescope-3.12.7.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps meson
+
+RESHADE_COMMIT="9fdbea6892f9959fdc18095d035976c574b268b7"
+MY_PV=$(ver_rs 3 -)
+MY_PV="${MY_PV//_/-}"
+
+DESCRIPTION="Efficient micro-compositor for running games"
+HOMEPAGE="https://github.com/ValveSoftware/gamescope"
+SRC_URI="https://github.com/ValveSoftware/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/Joshua-Ashton/reshade/archive/${RESHADE_COMMIT}.tar.gz -> reshade-${RESHADE_COMMIT}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="pipewire +wsi-layer"
+
+RDEPEND="
+	=dev-libs/libliftoff-0.4*
+	>=dev-libs/wayland-1.21
+	>=dev-libs/wayland-protocols-1.17
+	=gui-libs/wlroots-0.16*[X]
+	>=media-libs/libdisplay-info-0.1.1
+	media-libs/libsdl2[video,vulkan]
+	media-libs/vulkan-loader
+	sys-apps/hwdata
+	sys-libs/libcap
+	>=x11-libs/libdrm-2.4.109
+	x11-libs/libX11
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libxkbcommon
+	x11-libs/libXmu
+	x11-libs/libXrender
+	x11-libs/libXres
+	x11-libs/libXtst
+	x11-libs/libXxf86vm
+	pipewire? ( >=media-video/pipewire-0.3:= )
+	wsi-layer? ( x11-libs/libxcb )
+"
+DEPEND="
+	${RDEPEND}
+	dev-cpp/benchmark
+	dev-libs/stb
+	dev-util/vulkan-headers
+	media-libs/glm
+	dev-util/spirv-headers
+	wsi-layer? ( >=media-libs/vkroots-0_p20230103 )
+"
+BDEPEND="
+	dev-util/glslang
+	dev-util/wayland-scanner
+	virtual/pkgconfig
+"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+FILECAPS=(
+	cap_sys_nice usr/bin/${PN}
+)
+
+src_prepare() {
+	default
+
+	# Normally wraps stb with Meson. Upstream does not ship a pkg-config file so
+	# we don't install one. Work around this using symlinks.
+	mkdir subprojects/stb || die
+	ln -sn "${ESYSROOT}"/usr/include/stb/* "${S}"/subprojects/packagefiles/stb/* subprojects/stb/ || die
+
+	# ReShade is bundled as a git submodule, but it references an unofficial
+	# fork, so we cannot unbundle it. Symlink to its extracted sources.
+	rmdir src/reshade || die
+	ln -snfT ../../reshade-${RESHADE_COMMIT} src/reshade || die
+
+	# SPIRV-Headers is required by ReShade. It is bundled as a git submodule but
+	# not wrapped with Meson, so we can symlink to our system-wide headers.
+	mkdir thirdparty/SPIRV-Headers/include || die
+	ln -snf "${ESYSROOT}"/usr/include/spirv thirdparty/SPIRV-Headers/include/ || die
+}
+
+src_configure() {
+	local emesonargs=(
+		--force-fallback-for=
+		-Denable_openvr_support=false
+		$(meson_feature pipewire)
+		$(meson_use wsi-layer enable_gamescope_wsi_layer)
+	)
+	meson_src_configure
+}
-- 
cgit v1.2.3