From dc41efad78c64df9b74ed6f94dcf25391b8fc5e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 9 Mar 2024 18:44:29 +0000 Subject: gentoo auto-resync : 09:03:2024 - 18:44:28 --- gui-wm/gamescope/Manifest | 6 +- .../files/gamescope-3.14.0-deprecated-stb.patch | 22 ----- .../gamescope/files/gamescope-deprecated-stb.patch | 22 +++++ gui-wm/gamescope/gamescope-3.14.0-r1.ebuild | 99 ---------------------- gui-wm/gamescope/gamescope-3.14.2.ebuild | 96 +++++++++++++++++++++ 5 files changed, 121 insertions(+), 124 deletions(-) delete mode 100644 gui-wm/gamescope/files/gamescope-3.14.0-deprecated-stb.patch create mode 100644 gui-wm/gamescope/files/gamescope-deprecated-stb.patch delete mode 100644 gui-wm/gamescope/gamescope-3.14.0-r1.ebuild create mode 100644 gui-wm/gamescope/gamescope-3.14.2.ebuild (limited to 'gui-wm/gamescope') diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest index 17f0a6f2eac3..11dd9b1d0639 100644 --- a/gui-wm/gamescope/Manifest +++ b/gui-wm/gamescope/Manifest @@ -1,5 +1,5 @@ -AUX gamescope-3.14.0-deprecated-stb.patch 634 BLAKE2B 33bd10dc41f9fdbbec12ea0bdec1cf8af8fc9bc499324f5f2f329c72273109fd82495a0f3d3ffb2954ee91eb106f7e36479716af6e8d2cfd76ef58c9074003d3 SHA512 56aceec2552868749a21c9ca06ac6b41da3bd901692b376e5691155c58861f941dbd5359f1e22bbe54fd14e061cd586fe06d0109a8a45a0ecf6049ea3a79663b -DIST gamescope-3.14.0.tar.gz 474625 BLAKE2B 4065cf0957bd6e68eb31eff20ccfae3bb3a599f7398b97411c4bea3734fbf555e5d2326de434d1faf437571ec162f4e5d270ef7b48f23e3ca6806f2dac1703c5 SHA512 b2bcd9a4154db6380d29e9f3536ca73ed3e09d589c6446f80f373674dfa3cbb4b9b77ccb82209cc68258fc0f887bb15ebf479acc7091d14073a1c2bd65632d00 +AUX gamescope-deprecated-stb.patch 634 BLAKE2B 33bd10dc41f9fdbbec12ea0bdec1cf8af8fc9bc499324f5f2f329c72273109fd82495a0f3d3ffb2954ee91eb106f7e36479716af6e8d2cfd76ef58c9074003d3 SHA512 56aceec2552868749a21c9ca06ac6b41da3bd901692b376e5691155c58861f941dbd5359f1e22bbe54fd14e061cd586fe06d0109a8a45a0ecf6049ea3a79663b +DIST gamescope-3.14.2.tar.gz 486053 BLAKE2B 21433465da95e6b03b87d76c2fcb36f7f93bb9294903c6728c4b0e87916c61559a9328976eb4bfdb5bcb52dfa13265b748e924fd2e8b4701a37c63ce7a36a263 SHA512 bbdf403da8665b0dc3df6cddb6b5acf96f2af9ff8febda1a3d2c4ca5a6cd75b8580063fc6fe8d94c5cf96c9c560ead7b0870558ebefaaea87dc5b2a19d3fcc24 DIST reshade-9fdbea6892f9959fdc18095d035976c574b268b7.tar.gz 1543894 BLAKE2B 5e2b643ffbbda3ad078deb075a6fada1d0a560c6d865b7febee6a8eaade83ec90db3c5a8f4130d27b6dfaa8ee7b899edd214c23c947678eed28fb8e7165d9bd2 SHA512 4565d094e1c2d53d5073b4976874665d38dcf7ca86e982e569cc76923eaa9187fa32a4385fc577a3a867d2917596e6377e5a023a34bc2d389ff899d5b69764fb -EBUILD gamescope-3.14.0-r1.ebuild 2691 BLAKE2B 206d6f56bca3345f2cf06483f6efae4f8ebc4fab9c858aebb7ae48271d37b488ca10115a84fbd722d8e006bb956c179bcead3774c8e7e79917ff115f695ab5db SHA512 5a874cbcf7c10e2981afb65992fb37d36db6331ecfe09566a0cc775bde099464de8d1c48daf315ac7e8ce6ca136f8e31a5896f2001ccfbfec7f9ddd240b7a422 +EBUILD gamescope-3.14.2.ebuild 2424 BLAKE2B 8555cff6ae1e60dcb58e2bac084c7573fcf9d07628c823f2c3fd9e807e72fa8155883a0ea9ebbc73182e3df5e4b09ccd000aff73218a8a7240a6a767307730e9 SHA512 65796fd8d6796307c4639c75e7a9eb80c0f447e6b2cf5fab1ebe2ed64e0eb59b01545c98abacdee7b0265ef6cda735686a942182a3f3cf771efaef580b4ee3fb MISC metadata.xml 489 BLAKE2B 6930da0ca2827741a902e064b3bca71266ac5c2e61d7cf6d566c37e971efd04b2fcd2381659e1d5babe6fd05dd4d06979c0d82b3ac5e2702bb5d3311ef30df79 SHA512 419f4a3f3dc7a940d0f157323b9afd116b4a4d2efc718eb5979d84677b770a606c532d0777dbed1b6598afa393894e5dc9982dbaf7e31c90a9e0b433938d4e55 diff --git a/gui-wm/gamescope/files/gamescope-3.14.0-deprecated-stb.patch b/gui-wm/gamescope/files/gamescope-3.14.0-deprecated-stb.patch deleted file mode 100644 index 9168ed94aa6b..000000000000 --- a/gui-wm/gamescope/files/gamescope-3.14.0-deprecated-stb.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/reshade_effect_manager.cpp -+++ b/src/reshade_effect_manager.cpp -@@ -14,7 +14,7 @@ - - #include - #define STB_IMAGE_RESIZE_IMPLEMENTATION --#include -+#include - - #include - #include ---- a/src/steamcompmgr.cpp -+++ b/src/steamcompmgr.cpp -@@ -108,7 +108,7 @@ static const int g_nBaseCursorScale = 36; - #define STB_IMAGE_WRITE_IMPLEMENTATION - #include - #include --#include -+#include - - #define GPUVIS_TRACE_IMPLEMENTATION - #include "gpuvis_trace_utils.h" diff --git a/gui-wm/gamescope/files/gamescope-deprecated-stb.patch b/gui-wm/gamescope/files/gamescope-deprecated-stb.patch new file mode 100644 index 000000000000..9168ed94aa6b --- /dev/null +++ b/gui-wm/gamescope/files/gamescope-deprecated-stb.patch @@ -0,0 +1,22 @@ +--- a/src/reshade_effect_manager.cpp ++++ b/src/reshade_effect_manager.cpp +@@ -14,7 +14,7 @@ + + #include + #define STB_IMAGE_RESIZE_IMPLEMENTATION +-#include ++#include + + #include + #include +--- a/src/steamcompmgr.cpp ++++ b/src/steamcompmgr.cpp +@@ -108,7 +108,7 @@ static const int g_nBaseCursorScale = 36; + #define STB_IMAGE_WRITE_IMPLEMENTATION + #include + #include +-#include ++#include + + #define GPUVIS_TRACE_IMPLEMENTATION + #include "gpuvis_trace_utils.h" diff --git a/gui-wm/gamescope/gamescope-3.14.0-r1.ebuild b/gui-wm/gamescope/gamescope-3.14.0-r1.ebuild deleted file mode 100644 index bacc3a1b2891..000000000000 --- a/gui-wm/gamescope/gamescope-3.14.0-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2024 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.17*[X,libinput(+)] - >=media-libs/libavif-1.0.0:= - >=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/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - 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-libs/stb-20240201-r1 - dev-util/vulkan-headers - =media-libs/vkroots-0_p20231108 ) -" -BDEPEND=" - dev-util/glslang - dev-util/wayland-scanner - virtual/pkgconfig -" - -S="${WORKDIR}/${PN}-${MY_PV}" - -PATCHES=( "${FILESDIR}/${P}-deprecated-stb.patch" ) - -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= - -Dbenchmark=disabled - -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.14.2.ebuild b/gui-wm/gamescope/gamescope-3.14.2.ebuild new file mode 100644 index 000000000000..15019e57277d --- /dev/null +++ b/gui-wm/gamescope/gamescope-3.14.2.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 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.17*[X,libinput(+)] + >=media-libs/libavif-1.0.0:= + >=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/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + 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-libs/stb-20240201-r1 + dev-util/vulkan-headers + =media-libs/vkroots-0_p20231108 ) +" +BDEPEND=" + dev-util/glslang + dev-util/wayland-scanner + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +PATCHES=( + "${FILESDIR}"/${PN}-deprecated-stb.patch +) + +FILECAPS=( + cap_sys_nice usr/bin/${PN} +) + +src_prepare() { + default + + # 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= + -Dbenchmark=disabled + -Denable_openvr_support=false + $(meson_feature pipewire) + $(meson_use wsi-layer enable_gamescope_wsi_layer) + ) + meson_src_configure +} -- cgit v1.2.3