summaryrefslogtreecommitdiff
path: root/gui-wm/gamescope
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-05 00:00:45 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-05 00:00:45 +0100
commitb594445f39d99066071d80fc8efeba5c8f72cc35 (patch)
tree9bf469821b12ac103807e30a6f7751d955648125 /gui-wm/gamescope
parent7f3fecbb5b871825fe9632f46659869cab6a3769 (diff)
gentoo auto-resync : 05:05:2024 - 00:00:45
Diffstat (limited to 'gui-wm/gamescope')
-rw-r--r--gui-wm/gamescope/Manifest5
-rw-r--r--gui-wm/gamescope/gamescope-3.14.12-r2.ebuild (renamed from gui-wm/gamescope/gamescope-3.14.2-r1.ebuild)34
2 files changed, 35 insertions, 4 deletions
diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest
index ea1d2db85259..004402af1beb 100644
--- a/gui-wm/gamescope/Manifest
+++ b/gui-wm/gamescope/Manifest
@@ -1,5 +1,6 @@
AUX gamescope-deprecated-stb.patch 634 BLAKE2B 33bd10dc41f9fdbbec12ea0bdec1cf8af8fc9bc499324f5f2f329c72273109fd82495a0f3d3ffb2954ee91eb106f7e36479716af6e8d2cfd76ef58c9074003d3 SHA512 56aceec2552868749a21c9ca06ac6b41da3bd901692b376e5691155c58861f941dbd5359f1e22bbe54fd14e061cd586fe06d0109a8a45a0ecf6049ea3a79663b
-DIST gamescope-3.14.2.tar.gz 486053 BLAKE2B 21433465da95e6b03b87d76c2fcb36f7f93bb9294903c6728c4b0e87916c61559a9328976eb4bfdb5bcb52dfa13265b748e924fd2e8b4701a37c63ce7a36a263 SHA512 bbdf403da8665b0dc3df6cddb6b5acf96f2af9ff8febda1a3d2c4ca5a6cd75b8580063fc6fe8d94c5cf96c9c560ead7b0870558ebefaaea87dc5b2a19d3fcc24
+DIST gamescope-3.14.12.tar.gz 511675 BLAKE2B 3a60989486ee2f92c97b54fb77fa38dfa59e713ef0c3207e92aed8bae97b71da536e73ebce735a29ef2707d5278eb7312ecaf138fc6dbb9043483ff7247fbfb5 SHA512 13a3e7a7f84c8de55731ec84b389b579c2ec2e1cb51d690cc24758cedffe848c3f6dfbaf2b40bec2bed9692c6980d3bab6fa44350a452fd8d46ebe59e1309ec5
DIST reshade-9fdbea6892f9959fdc18095d035976c574b268b7.tar.gz 1543894 BLAKE2B 5e2b643ffbbda3ad078deb075a6fada1d0a560c6d865b7febee6a8eaade83ec90db3c5a8f4130d27b6dfaa8ee7b899edd214c23c947678eed28fb8e7165d9bd2 SHA512 4565d094e1c2d53d5073b4976874665d38dcf7ca86e982e569cc76923eaa9187fa32a4385fc577a3a867d2917596e6377e5a023a34bc2d389ff899d5b69764fb
-EBUILD gamescope-3.14.2-r1.ebuild 2791 BLAKE2B 9d5eada20df1053169456b7b993cd616d2717ee2c1446472666cf836a8e4e96587d9421f9f82b754ee78275969642ea8c8d589351b57709c053725d22162d296 SHA512 102a4aefb0e12e18f5e01f8f8006933ccd8fda5a3d90ebcee3d7fa5b4b99d86ddbccacac12e71ee17e43550e4ef30ab1c8a1e273708fabfec0e8b5485506c667
+DIST wlroots-a5c9826e6d7d8b504b07d1c02425e6f62b020791.tar.gz 620424 BLAKE2B 83630b77983009a36fa4f168bbe2eceb73f634f9dd149cc5e6b18fbf647245a32a5d31dc3fbd0d1bed1d0dafc4cbb2fcea3ee4b4f5660a35ca37eff4679b80a2 SHA512 6857ded750fda91d55e53edfc270eb4e7bf44d7330d17c8fcd13c248c71abba685f34260d1e6d20cdb302a8d4f9158fb43421943cca74630fd780a4048aed07b
+EBUILD gamescope-3.14.12-r2.ebuild 3608 BLAKE2B e304f67f0f6c9f168dea8cf8d8dad679c46362ec5c60b48dcdf0cdfedf4d385048f09efe8b5e21f4ce4a97759d4dc8fb680745f56106faa64b4b5bdc5a5ef4c4 SHA512 9f2d53abffd25a92ab85bce7615352e363a72632045d69b659bf7111148dd6185af643a5d79f052183a8a83289acdd180353074b982bbb73bc75be4e9b757d6d
MISC metadata.xml 489 BLAKE2B 6930da0ca2827741a902e064b3bca71266ac5c2e61d7cf6d566c37e971efd04b2fcd2381659e1d5babe6fd05dd4d06979c0d82b3ac5e2702bb5d3311ef30df79 SHA512 419f4a3f3dc7a940d0f157323b9afd116b4a4d2efc718eb5979d84677b770a606c532d0777dbed1b6598afa393894e5dc9982dbaf7e31c90a9e0b433938d4e55
diff --git a/gui-wm/gamescope/gamescope-3.14.2-r1.ebuild b/gui-wm/gamescope/gamescope-3.14.12-r2.ebuild
index ad468106e2c1..dd27cbde375a 100644
--- a/gui-wm/gamescope/gamescope-3.14.2-r1.ebuild
+++ b/gui-wm/gamescope/gamescope-3.14.12-r2.ebuild
@@ -6,6 +6,7 @@ EAPI=8
inherit fcaps meson
RESHADE_COMMIT="9fdbea6892f9959fdc18095d035976c574b268b7"
+WLROOTS_COMMIT="a5c9826e6d7d8b504b07d1c02425e6f62b020791"
MY_PV=$(ver_rs 3 -)
MY_PV="${MY_PV//_/-}"
@@ -21,6 +22,7 @@ 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
@@ -31,10 +33,13 @@ 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/wlroots-0.17*[X,libinput(+)]
+ gui-libs/libdecor
>=media-libs/libavif-1.0.0:=
>=media-libs/libdisplay-info-0.1.1
media-libs/libsdl2[video,vulkan]
@@ -57,6 +62,16 @@ RDEPEND="
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}
@@ -65,7 +80,7 @@ DEPEND="
dev-util/vulkan-headers
media-libs/glm
dev-util/spirv-headers
- wsi-layer? ( >=media-libs/vkroots-0_p20231108 )
+ wsi-layer? ( >=media-libs/vkroots-0_p20240430 )
"
BDEPEND="
dev-util/glslang
@@ -97,6 +112,10 @@ src_prepare() {
# 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() {
@@ -106,6 +125,17 @@ src_configure() {
-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
+}