From 6e1fc32629c46e29012a7e22b07085307d65ac96 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 14 Jan 2025 06:41:38 +0000 Subject: gentoo auto-resync : 14:01:2025 - 06:41:37 --- gui-wm/Manifest.gz | Bin 1214 -> 1213 bytes gui-wm/gamescope/Manifest | 4 +- gui-wm/gamescope/gamescope-3.15.13.ebuild | 149 ----------------------------- gui-wm/gamescope/gamescope-3.16.1.ebuild | 150 ++++++++++++++++++++++++++++++ 4 files changed, 152 insertions(+), 151 deletions(-) delete mode 100644 gui-wm/gamescope/gamescope-3.15.13.ebuild create mode 100644 gui-wm/gamescope/gamescope-3.16.1.ebuild (limited to 'gui-wm') diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz index 9b980ddfe587..5d5dcc130091 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 c3eaf2f5b1e3..6ac8d5338809 100644 --- a/gui-wm/gamescope/Manifest +++ b/gui-wm/gamescope/Manifest @@ -1,8 +1,8 @@ AUX gamescope-deprecated-stb.patch 634 BLAKE2B 33bd10dc41f9fdbbec12ea0bdec1cf8af8fc9bc499324f5f2f329c72273109fd82495a0f3d3ffb2954ee91eb106f7e36479716af6e8d2cfd76ef58c9074003d3 SHA512 56aceec2552868749a21c9ca06ac6b41da3bd901692b376e5691155c58861f941dbd5359f1e22bbe54fd14e061cd586fe06d0109a8a45a0ecf6049ea3a79663b -DIST gamescope-3.15.13.tar.gz 575288 BLAKE2B 295b510611495f96f31c8e350a2ff592ac45497e5e2393a44c375729e106f06ab006a58eea34f9cc748a3f7c082b618122570338c17614493e0cc6d90d26d25e SHA512 f85da5a4cc3893d2f7d9a0d817ead0f314b5c2852409954349955cc4e7c19c32946822b12ca0824696186c2e9789412c659027b2a20eeb1e0ab1a2b559db15c2 +DIST gamescope-3.16.1.tar.gz 748201 BLAKE2B 9ad60fa0387baa6a182590d4289f6fc0ae8d4e3d25e3df6906a6ff0000d5e5ffe297ff5a09d541765edbf4b35828cbd156689fd8abc13e4e02850d510b1222b0 SHA512 c47629a6ebd15f0d62ba7283bf0df6d92344d9c7a4b4ea42f2974ad46db60caf0a71b668939b175188b762ee456d54756eb8c64114d779d7efa25773f675efee DIST libliftoff-0.5.0.tar.gz 39076 BLAKE2B a5c35c734a5ba4049661ce336401bd88d393001d7c49786d486146998d39530c364f7752b53968f5ab48f5eb774fa9c4245087bdb016f459a729991377023f61 SHA512 ce808f6a087f1f629cfebef95bfc7e216a09fb409b96b3c9f6b84d9d986ce50c5d7bf5b45c68e8baa99566b3627d754c269855b6f4ec3be63ae7b9f5109d5f08 DIST reshade-696b14cd6006ae9ca174e6164450619ace043283.tar.gz 1684777 BLAKE2B 3b2fcd1ed53dd6a8c459cf716697eec8a21f6fd9c25e4f6baa752e4226eaf35837e0f1595eef065a064bb0d76b1b067f643cd14ef896875448c99f57e10e6fb9 SHA512 7fe1fe07622efd90bd94e1755019ca47657acd07137669e00b97bf70017a58c1f699e3dec1c720caafd1296275c7a25fd2f4d6e478cebbdf48bd69f985a00cdf DIST vkroots-5106d8a0df95de66cc58dc1ea37e69c99afc9540.tar.gz 352651 BLAKE2B bc6c7a4f5b4f810c4d87a6cef46e73adb292bc22ae9a40666a6c7c8ab0cbc1973af405b32a5c7a3d38623c92e5d41e8472dabb744fcf31cf29118b9684dcfc32 SHA512 726e65dd0bb322d537e985ba2e504c68ef1b474574f11a5b102edcb8a7b74a6d86dea132c3b11417399a00beff9163e7aad413a389cf6073ec44d5ce6175ffc5 DIST wlroots-4bc5333a2cbba0b0b88559f281dbde04b849e6ef.tar.gz 629328 BLAKE2B c48ff80616a82529ea0b503204557a41be8f8ad8fb60d0f5ae155a237d97117f3551f7992957a03c08fec6374e2087483052712a173fd422c5236f619a16bc64 SHA512 60731f5ce90e061d674168d42c2d4e02766f85b8b1566611022fc930feb181d16906ac23e92f999c90fa6b48c769279520de12a9abeae20c5553b6ccdd31427e -EBUILD gamescope-3.15.13.ebuild 4194 BLAKE2B 277e26cb9e247c01a3ea7e2a169cfbce2cad4dab6f7f61bf1fb4247ea12520dad8e1c7bbdca61dedd0020b78fd21fb5fbc519dcd530523e3392bb838a5b7aad1 SHA512 264475c4a1e2808181128c16c672be0cb54de22629d2d8f6005e36e18281d197a42b6301545dd34b667f79b86df90f645ed4d4c3a4b218f9c93153249c907da3 +EBUILD gamescope-3.16.1.ebuild 4214 BLAKE2B bbd122fe346897fbb9c055975ec315e1b491a1dadc945b2e1585eac60bd3244147d9a87238017fe9110876280e1044e6668966053db0f1c0cd1a6b2f0f4d77f0 SHA512 1367915159d48d2b4759c913d9f5cb445f325e8504a8f072a2bc655e773e143256a428b2fa229c6cd82774f9597aadd450a298aa4bcfc5df3d04e1ba5034b671 MISC metadata.xml 571 BLAKE2B 43906c35ed17ecb23361a342b4f935f39efa62db4ef2f4185bb49dca701304efa735e8785d6960cf9f0ce8ffd6a7b78f40cd7d7aaa843a914f220e988a122dec SHA512 ad4e74f9fdc00121e9c5fb5ed79d5cc3d271b4ff4c653f5791ebd26810a9c833a4e5d80e8a69cebb4c753caadc6284e1afa1ad826040e8fb3560985400c6b25f diff --git a/gui-wm/gamescope/gamescope-3.15.13.ebuild b/gui-wm/gamescope/gamescope-3.15.13.ebuild deleted file mode 100644 index ea1b20937239..000000000000 --- a/gui-wm/gamescope/gamescope-3.15.13.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2024 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" -EGIT_SUBMODULES=( src/reshade subprojects/{libliftoff,vkroots,wlroots} ) - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/ValveSoftware/${PN}.git" - inherit git-r3 -else - RESHADE_COMMIT="696b14cd6006ae9ca174e6164450619ace043283" - LIBLIFTOFF_COMMIT="0.5.0" # Upstream points at this release. - VKROOTS_COMMIT="5106d8a0df95de66cc58dc1ea37e69c99afc9540" - WLROOTS_COMMIT="4bc5333a2cbba0b0b88559f281dbde04b849e6ef" - SRC_URI=" - https://github.com/ValveSoftware/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz - https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v${LIBLIFTOFF_COMMIT}/downloads/libliftoff-${LIBLIFTOFF_COMMIT}.tar.gz - https://github.com/Joshua-Ashton/reshade/archive/${RESHADE_COMMIT}.tar.gz -> reshade-${RESHADE_COMMIT}.tar.gz - https://github.com/Joshua-Ashton/vkroots/archive/${VKROOTS_COMMIT}.tar.gz -> vkroots-${VKROOTS_COMMIT}.tar.gz - https://github.com/Joshua-Ashton/wlroots/archive/${WLROOTS_COMMIT}.tar.gz -> wlroots-${WLROOTS_COMMIT}.tar.gz - " - KEYWORDS="~amd64" -fi - -S="${WORKDIR}/${PN}-${MY_PV}" -LICENSE="BSD-2" -SLOT="0" -IUSE="avif libei pipewire +sdl +wsi-layer" - -RDEPEND=" - >=dev-libs/wayland-1.23 - gui-libs/libdecor - =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 - avif? ( >=media-libs/libavif-1.0.0:= ) - libei? ( dev-libs/libei ) - pipewire? ( >=media-video/pipewire-0.3:= ) - sdl? ( media-libs/libsdl2[video,vulkan] ) - wsi-layer? ( x11-libs/libxcb ) -" -# For bundled wlroots. -RDEPEND+=" - >=dev-libs/libinput-1.14.0:= - media-libs/libglvnd - media-libs/mesa[egl(+),gles2(+)] - sys-auth/seatd:= - virtual/libudev - x11-base/xwayland - x11-libs/libxcb:= - >=x11-libs/pixman-0.42.0 - x11-libs/xcb-util-wm -" -DEPEND=" - ${RDEPEND} - >=dev-libs/wayland-protocols-1.34 - >=dev-libs/stb-20240201-r1 - dev-util/vulkan-headers - media-libs/glm - dev-util/spirv-headers - wsi-layer? ( >=media-libs/vkroots-0_p20240430 ) -" -BDEPEND=" - dev-util/glslang - dev-util/wayland-scanner - virtual/pkgconfig -" - -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. Upstream have requested that we do not - # unbundle libliftoff, vkroots, or wlroots. Symlink to the extracted sources - # when not using the git submodules in 9999. - if [[ ${PV} != "9999" ]]; then - local dir name commit - for dir in "${EGIT_SUBMODULES[@]}"; do - rmdir "${dir}" || die - name=${dir##*/} - commit=${name^^}_COMMIT - ln -snfT "../../${name}-${!commit}" "${dir}" || die - done - fi - - # 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. - # For 9999, this submodule is not included. - mkdir -p thirdparty/SPIRV-Headers/include || die - ln -snf "${ESYSROOT}"/usr/include/spirv thirdparty/SPIRV-Headers/include/ || die -} - -src_configure() { - # Disabling DRM backend is currently broken. - # https://github.com/ValveSoftware/gamescope/issues/1347 - local emesonargs=( - $(meson_feature pipewire) - -Ddrm_backend=enabled - $(meson_feature sdl sdl2_backend) - $(meson_feature avif avif_screenshots) - $(meson_feature libei input_emulation) - $(meson_use wsi-layer enable_gamescope_wsi_layer) - -Denable_openvr_support=false - -Dbenchmark=disabled - - -Dwlroots:xcb-errors=disabled - -Dwlroots:examples=false - -Dwlroots:renderers=gles2,vulkan - -Dwlroots:xwayland=enabled - -Dwlroots:backends=libinput - -Dwlroots:session=enabled - ) - meson_src_configure -} - -src_install() { - meson_src_install --skip-subprojects -} diff --git a/gui-wm/gamescope/gamescope-3.16.1.ebuild b/gui-wm/gamescope/gamescope-3.16.1.ebuild new file mode 100644 index 000000000000..6fae2a06c02b --- /dev/null +++ b/gui-wm/gamescope/gamescope-3.16.1.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2025 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" +EGIT_SUBMODULES=( src/reshade subprojects/{libliftoff,vkroots,wlroots} ) + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/ValveSoftware/${PN}.git" + inherit git-r3 +else + RESHADE_COMMIT="696b14cd6006ae9ca174e6164450619ace043283" + LIBLIFTOFF_COMMIT="0.5.0" # Upstream points at this release. + VKROOTS_COMMIT="5106d8a0df95de66cc58dc1ea37e69c99afc9540" + WLROOTS_COMMIT="4bc5333a2cbba0b0b88559f281dbde04b849e6ef" + SRC_URI=" + https://github.com/ValveSoftware/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz + https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v${LIBLIFTOFF_COMMIT}/downloads/libliftoff-${LIBLIFTOFF_COMMIT}.tar.gz + https://github.com/Joshua-Ashton/reshade/archive/${RESHADE_COMMIT}.tar.gz -> reshade-${RESHADE_COMMIT}.tar.gz + https://github.com/Joshua-Ashton/vkroots/archive/${VKROOTS_COMMIT}.tar.gz -> vkroots-${VKROOTS_COMMIT}.tar.gz + https://github.com/Joshua-Ashton/wlroots/archive/${WLROOTS_COMMIT}.tar.gz -> wlroots-${WLROOTS_COMMIT}.tar.gz + " + KEYWORDS="~amd64" +fi + +S="${WORKDIR}/${PN}-${MY_PV}" +LICENSE="BSD-2" +SLOT="0" +IUSE="avif libei pipewire +sdl +wsi-layer" + +RDEPEND=" + dev-lang/luajit:2= + >=dev-libs/wayland-1.23 + gui-libs/libdecor + =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 + avif? ( >=media-libs/libavif-1.0.0:= ) + libei? ( dev-libs/libei ) + pipewire? ( >=media-video/pipewire-0.3:= ) + sdl? ( media-libs/libsdl2[video,vulkan] ) + wsi-layer? ( x11-libs/libxcb ) +" +# For bundled wlroots. +RDEPEND+=" + >=dev-libs/libinput-1.14.0:= + media-libs/libglvnd + media-libs/mesa[egl(+),gles2(+)] + sys-auth/seatd:= + virtual/libudev + x11-base/xwayland + x11-libs/libxcb:= + >=x11-libs/pixman-0.42.0 + x11-libs/xcb-util-wm +" +DEPEND=" + ${RDEPEND} + >=dev-libs/wayland-protocols-1.34 + >=dev-libs/stb-20240201-r1 + dev-util/vulkan-headers + media-libs/glm + dev-util/spirv-headers + wsi-layer? ( >=media-libs/vkroots-0_p20240430 ) +" +BDEPEND=" + dev-util/glslang + dev-util/wayland-scanner + virtual/pkgconfig +" + +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. Upstream have requested that we do not + # unbundle libliftoff, vkroots, or wlroots. Symlink to the extracted sources + # when not using the git submodules in 9999. + if [[ ${PV} != "9999" ]]; then + local dir name commit + for dir in "${EGIT_SUBMODULES[@]}"; do + rmdir "${dir}" || die + name=${dir##*/} + commit=${name^^}_COMMIT + ln -snfT "../../${name}-${!commit}" "${dir}" || die + done + fi + + # 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. + # For 9999, this submodule is not included. + mkdir -p thirdparty/SPIRV-Headers/include || die + ln -snf "${ESYSROOT}"/usr/include/spirv thirdparty/SPIRV-Headers/include/ || die +} + +src_configure() { + # Disabling DRM backend is currently broken. + # https://github.com/ValveSoftware/gamescope/issues/1347 + local emesonargs=( + $(meson_feature pipewire) + -Ddrm_backend=enabled + $(meson_feature sdl sdl2_backend) + $(meson_feature avif avif_screenshots) + $(meson_feature libei input_emulation) + $(meson_use wsi-layer enable_gamescope_wsi_layer) + -Denable_openvr_support=false + -Dbenchmark=disabled + + -Dwlroots:xcb-errors=disabled + -Dwlroots:examples=false + -Dwlroots:renderers=gles2,vulkan + -Dwlroots:xwayland=enabled + -Dwlroots:backends=libinput + -Dwlroots:session=enabled + ) + meson_src_configure +} + +src_install() { + meson_src_install --skip-subprojects +} -- cgit v1.2.3