summaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-13 00:16:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-13 00:16:09 +0100
commit395f02db08a3f738bacbe8fbaa9fba11084f4e73 (patch)
treeb0ae09385e419830243aa68696919747e97fd1ba /gui-wm
parent36c436b12f9ef2523e5fd963381b78d2dc5cc53d (diff)
gentoo auto-resync : 13:10:2023 - 00:16:09
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/Manifest.gzbin1214 -> 1213 bytes
-rw-r--r--gui-wm/gamescope/Manifest5
-rw-r--r--gui-wm/gamescope/gamescope-3.12.7.ebuild (renamed from gui-wm/gamescope/gamescope-3.12.5.ebuild)16
3 files changed, 18 insertions, 3 deletions
diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz
index 00a77fc650a7..dcb5bbfa22d6 100644
--- a/gui-wm/Manifest.gz
+++ b/gui-wm/Manifest.gz
Binary files 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.7.ebuild
index 8de18f8b6b60..82addc58848f 100644
--- a/gui-wm/gamescope/gamescope-3.12.5.ebuild
+++ b/gui-wm/gamescope/gamescope-3.12.7.ebuild
@@ -5,11 +5,14 @@ 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"
+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"
@@ -46,6 +49,7 @@ DEPEND="
dev-libs/stb
dev-util/vulkan-headers
media-libs/glm
+ dev-util/spirv-headers
wsi-layer? ( >=media-libs/vkroots-0_p20230103 )
"
BDEPEND="
@@ -67,6 +71,16 @@ src_prepare() {
# 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() {