From 189ee44e580f3163dcaafee8954c0f446048b7ee Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 23 Dec 2023 21:58:59 +0000 Subject: gui-wm/gamescope: Bump to 3.13.19, drop old 3.13.17 Signed-off-by: James Le Cuirot --- gui-wm/gamescope/Manifest | 2 +- gui-wm/gamescope/gamescope-3.13.17.ebuild | 95 ------------------------------- gui-wm/gamescope/gamescope-3.13.19.ebuild | 95 +++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 96 deletions(-) delete mode 100644 gui-wm/gamescope/gamescope-3.13.17.ebuild create mode 100644 gui-wm/gamescope/gamescope-3.13.19.ebuild (limited to 'gui-wm') diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest index 443e8fd4c30d..480ac0010105 100644 --- a/gui-wm/gamescope/Manifest +++ b/gui-wm/gamescope/Manifest @@ -1,2 +1,2 @@ -DIST gamescope-3.13.17.tar.gz 466053 BLAKE2B 95ab1e010518094f98165c1318a551977c7c3ef44148f0ab21da1e05bb91e5155462176631c4547ccfc7c2586bfd7fe4160f4424481b8b7db03e663c026fde23 SHA512 c28ec651877c7635d5459296de99dd1665e7b908f931f88586014dc1e437c4401fcc9315e64adaebaba5ef3f07643f0ca75757b9ce9ce9cd0c5ee51dd3ad4ebb +DIST gamescope-3.13.19.tar.gz 468811 BLAKE2B 1995ac01776902d83bccb105f0e3dedf6c3711764a611d15a77bc4f8941db4b4cde64cdd2d2cb6032ebfc7173ff018d49b73d1c5d72e9c2eab597acb127b7c37 SHA512 42a86a253e86de899b6dc9c45bfc7ad762930e1a785e78e8c9ee8de834eb2c2be0532ea50bd7433cc483c2a45c92fc6c8fdd5ee4bd5dfcc9166b0aaaca8d15a8 DIST reshade-9fdbea6892f9959fdc18095d035976c574b268b7.tar.gz 1543894 BLAKE2B 5e2b643ffbbda3ad078deb075a6fada1d0a560c6d865b7febee6a8eaade83ec90db3c5a8f4130d27b6dfaa8ee7b899edd214c23c947678eed28fb8e7165d9bd2 SHA512 4565d094e1c2d53d5073b4976874665d38dcf7ca86e982e569cc76923eaa9187fa32a4385fc577a3a867d2917596e6377e5a023a34bc2d389ff899d5b69764fb diff --git a/gui-wm/gamescope/gamescope-3.13.17.ebuild b/gui-wm/gamescope/gamescope-3.13.17.ebuild deleted file mode 100644 index 6d97f26169ff..000000000000 --- a/gui-wm/gamescope/gamescope-3.13.17.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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.17*[X,libinput(+)] - >=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/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 - dev-util/vulkan-headers - media-libs/glm - dev-util/spirv-headers - wsi-layer? ( >=media-libs/vkroots-0_p20231108 ) -" -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= - -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.13.19.ebuild b/gui-wm/gamescope/gamescope-3.13.19.ebuild new file mode 100644 index 000000000000..6d97f26169ff --- /dev/null +++ b/gui-wm/gamescope/gamescope-3.13.19.ebuild @@ -0,0 +1,95 @@ +# 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.17*[X,libinput(+)] + >=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/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 + dev-util/vulkan-headers + media-libs/glm + dev-util/spirv-headers + wsi-layer? ( >=media-libs/vkroots-0_p20231108 ) +" +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= + -Dbenchmark=disabled + -Denable_openvr_support=false + $(meson_feature pipewire) + $(meson_use wsi-layer enable_gamescope_wsi_layer) + ) + meson_src_configure +} -- cgit v1.2.3-65-gdbad