From 59c2499e0c9720169c9d5a02168c51c807a21467 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 14 May 2024 00:01:24 +0100 Subject: gentoo auto-resync : 14:05:2024 - 00:01:24 --- gui-wm/gamescope/Manifest | 4 +- gui-wm/gamescope/gamescope-3.14.12-r2.ebuild | 141 --------------------------- gui-wm/gamescope/gamescope-3.14.14.ebuild | 141 +++++++++++++++++++++++++++ 3 files changed, 143 insertions(+), 143 deletions(-) delete mode 100644 gui-wm/gamescope/gamescope-3.14.12-r2.ebuild create mode 100644 gui-wm/gamescope/gamescope-3.14.14.ebuild (limited to 'gui-wm/gamescope') diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest index 004402af1beb..be404b5942a6 100644 --- a/gui-wm/gamescope/Manifest +++ b/gui-wm/gamescope/Manifest @@ -1,6 +1,6 @@ AUX gamescope-deprecated-stb.patch 634 BLAKE2B 33bd10dc41f9fdbbec12ea0bdec1cf8af8fc9bc499324f5f2f329c72273109fd82495a0f3d3ffb2954ee91eb106f7e36479716af6e8d2cfd76ef58c9074003d3 SHA512 56aceec2552868749a21c9ca06ac6b41da3bd901692b376e5691155c58861f941dbd5359f1e22bbe54fd14e061cd586fe06d0109a8a45a0ecf6049ea3a79663b -DIST gamescope-3.14.12.tar.gz 511675 BLAKE2B 3a60989486ee2f92c97b54fb77fa38dfa59e713ef0c3207e92aed8bae97b71da536e73ebce735a29ef2707d5278eb7312ecaf138fc6dbb9043483ff7247fbfb5 SHA512 13a3e7a7f84c8de55731ec84b389b579c2ec2e1cb51d690cc24758cedffe848c3f6dfbaf2b40bec2bed9692c6980d3bab6fa44350a452fd8d46ebe59e1309ec5 +DIST gamescope-3.14.14.tar.gz 512146 BLAKE2B 908c8e02a55c454d4442c135769b59287568121c60e4e7a95266e09b42cdd78db5676dd691d0c58a2430d046de93947d2ef8b54ed93ea6820240ab7a21599ac4 SHA512 dfafa32ac736c50bf146bffbbe8288827047ae87a6f0d55038f5bd6705096133f384d940dfa5adf2bdd70991bd6469f4a083eb88273df447d253676cb3f2726c DIST reshade-9fdbea6892f9959fdc18095d035976c574b268b7.tar.gz 1543894 BLAKE2B 5e2b643ffbbda3ad078deb075a6fada1d0a560c6d865b7febee6a8eaade83ec90db3c5a8f4130d27b6dfaa8ee7b899edd214c23c947678eed28fb8e7165d9bd2 SHA512 4565d094e1c2d53d5073b4976874665d38dcf7ca86e982e569cc76923eaa9187fa32a4385fc577a3a867d2917596e6377e5a023a34bc2d389ff899d5b69764fb DIST wlroots-a5c9826e6d7d8b504b07d1c02425e6f62b020791.tar.gz 620424 BLAKE2B 83630b77983009a36fa4f168bbe2eceb73f634f9dd149cc5e6b18fbf647245a32a5d31dc3fbd0d1bed1d0dafc4cbb2fcea3ee4b4f5660a35ca37eff4679b80a2 SHA512 6857ded750fda91d55e53edfc270eb4e7bf44d7330d17c8fcd13c248c71abba685f34260d1e6d20cdb302a8d4f9158fb43421943cca74630fd780a4048aed07b -EBUILD gamescope-3.14.12-r2.ebuild 3608 BLAKE2B e304f67f0f6c9f168dea8cf8d8dad679c46362ec5c60b48dcdf0cdfedf4d385048f09efe8b5e21f4ce4a97759d4dc8fb680745f56106faa64b4b5bdc5a5ef4c4 SHA512 9f2d53abffd25a92ab85bce7615352e363a72632045d69b659bf7111148dd6185af643a5d79f052183a8a83289acdd180353074b982bbb73bc75be4e9b757d6d +EBUILD gamescope-3.14.14.ebuild 3608 BLAKE2B e304f67f0f6c9f168dea8cf8d8dad679c46362ec5c60b48dcdf0cdfedf4d385048f09efe8b5e21f4ce4a97759d4dc8fb680745f56106faa64b4b5bdc5a5ef4c4 SHA512 9f2d53abffd25a92ab85bce7615352e363a72632045d69b659bf7111148dd6185af643a5d79f052183a8a83289acdd180353074b982bbb73bc75be4e9b757d6d MISC metadata.xml 489 BLAKE2B 6930da0ca2827741a902e064b3bca71266ac5c2e61d7cf6d566c37e971efd04b2fcd2381659e1d5babe6fd05dd4d06979c0d82b3ac5e2702bb5d3311ef30df79 SHA512 419f4a3f3dc7a940d0f157323b9afd116b4a4d2efc718eb5979d84677b770a606c532d0777dbed1b6598afa393894e5dc9982dbaf7e31c90a9e0b433938d4e55 diff --git a/gui-wm/gamescope/gamescope-3.14.12-r2.ebuild b/gui-wm/gamescope/gamescope-3.14.12-r2.ebuild deleted file mode 100644 index dd27cbde375a..000000000000 --- a/gui-wm/gamescope/gamescope-3.14.12-r2.ebuild +++ /dev/null @@ -1,141 +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" -WLROOTS_COMMIT="a5c9826e6d7d8b504b07d1c02425e6f62b020791" -MY_PV=$(ver_rs 3 -) -MY_PV="${MY_PV//_/-}" - -DESCRIPTION="Efficient micro-compositor for running games" -HOMEPAGE="https://github.com/ValveSoftware/gamescope" -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/ValveSoftware/${PN}.git" - # Prevent wlroots and other submodule from being pull - # Not messing with system packages - EGIT_SUBMODULES=( src/reshade ) - inherit git-r3 -else - 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 - 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="pipewire +wsi-layer" - -# For when wlroots 0.18 is released. -# =gui-libs/wlroots-0.18*[X,libinput(+)] - -RDEPEND=" - =dev-libs/libliftoff-0.4* - >=dev-libs/wayland-1.21 - gui-libs/libdecor - >=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 ) - - >=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. Symlink to its extracted sources. - # For 9999, use the bundled submodule. - if [[ ${PV} != "9999" ]]; then - rmdir src/reshade || die - ln -snfT ../../reshade-${RESHADE_COMMIT} src/reshade || die - 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 - - # Until wlroots 0.18 is released. - rmdir subprojects/wlroots || die - ln -snfT ../../wlroots-${WLROOTS_COMMIT} subprojects/wlroots || 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) - - -Dwlroots:xcb-errors=disabled - -Dwlroots:examples=false - -Dwlroots:renderers=gles2,vulkan - -Dwlroots:xwayland=enabled - -Dwlroots:backends=drm,libinput - -Dwlroots:session=enabled - ) - meson_src_configure -} - -src_install() { - meson_src_install --skip-subprojects -} diff --git a/gui-wm/gamescope/gamescope-3.14.14.ebuild b/gui-wm/gamescope/gamescope-3.14.14.ebuild new file mode 100644 index 000000000000..dd27cbde375a --- /dev/null +++ b/gui-wm/gamescope/gamescope-3.14.14.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps meson + +RESHADE_COMMIT="9fdbea6892f9959fdc18095d035976c574b268b7" +WLROOTS_COMMIT="a5c9826e6d7d8b504b07d1c02425e6f62b020791" +MY_PV=$(ver_rs 3 -) +MY_PV="${MY_PV//_/-}" + +DESCRIPTION="Efficient micro-compositor for running games" +HOMEPAGE="https://github.com/ValveSoftware/gamescope" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/ValveSoftware/${PN}.git" + # Prevent wlroots and other submodule from being pull + # Not messing with system packages + EGIT_SUBMODULES=( src/reshade ) + inherit git-r3 +else + 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 + 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="pipewire +wsi-layer" + +# For when wlroots 0.18 is released. +# =gui-libs/wlroots-0.18*[X,libinput(+)] + +RDEPEND=" + =dev-libs/libliftoff-0.4* + >=dev-libs/wayland-1.21 + gui-libs/libdecor + >=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 ) + + >=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. Symlink to its extracted sources. + # For 9999, use the bundled submodule. + if [[ ${PV} != "9999" ]]; then + rmdir src/reshade || die + ln -snfT ../../reshade-${RESHADE_COMMIT} src/reshade || die + 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 + + # Until wlroots 0.18 is released. + rmdir subprojects/wlroots || die + ln -snfT ../../wlroots-${WLROOTS_COMMIT} subprojects/wlroots || 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) + + -Dwlroots:xcb-errors=disabled + -Dwlroots:examples=false + -Dwlroots:renderers=gles2,vulkan + -Dwlroots:xwayland=enabled + -Dwlroots:backends=drm,libinput + -Dwlroots:session=enabled + ) + meson_src_configure +} + +src_install() { + meson_src_install --skip-subprojects +} -- cgit v1.2.3