summaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-01 08:00:51 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-01 08:00:51 +0100
commitd1c14e94a73fba924761cdad7298f3e48c6bc160 (patch)
tree60b97f0d81b3b06b06acc48ff8856d7c4afa2989 /gui-wm
parentd5ee59790ee8298b8599b0aa0fa21a98b972a44d (diff)
gentoo auto-resync : 01:07:2024 - 08:00:50
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/Manifest.gzbin1386 -> 1381 bytes
-rw-r--r--gui-wm/gamescope/Manifest10
-rw-r--r--gui-wm/gamescope/gamescope-3.14.22.ebuild (renamed from gui-wm/gamescope/gamescope-3.14.18.ebuild)63
-rw-r--r--gui-wm/gamescope/metadata.xml1
-rw-r--r--gui-wm/hyprland/Manifest2
-rw-r--r--gui-wm/hyprland/hyprland-9999.ebuild2
6 files changed, 43 insertions, 35 deletions
diff --git a/gui-wm/Manifest.gz b/gui-wm/Manifest.gz
index 84b187737269..fbf86686b746 100644
--- a/gui-wm/Manifest.gz
+++ b/gui-wm/Manifest.gz
Binary files differ
diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest
index 3ec8f993696c..45f93aca117b 100644
--- a/gui-wm/gamescope/Manifest
+++ b/gui-wm/gamescope/Manifest
@@ -1,6 +1,8 @@
AUX gamescope-deprecated-stb.patch 634 BLAKE2B 33bd10dc41f9fdbbec12ea0bdec1cf8af8fc9bc499324f5f2f329c72273109fd82495a0f3d3ffb2954ee91eb106f7e36479716af6e8d2cfd76ef58c9074003d3 SHA512 56aceec2552868749a21c9ca06ac6b41da3bd901692b376e5691155c58861f941dbd5359f1e22bbe54fd14e061cd586fe06d0109a8a45a0ecf6049ea3a79663b
-DIST gamescope-3.14.18.tar.gz 520343 BLAKE2B 098dc152980c62a7386528378a5c0ad48923324dead15a2ed4be77d34a711065388c96edf8c9707ff13e595b82ca5f5463b489a9b521960f9be3eb744948cc6f SHA512 9b6774665b29fd84884ec057f66218e1e1810bc099d6a2e100a814fbc6250f8de9857b53e75400044b3cd77a958d6f03fcf9b8e65cb4a42e769ad0f9cda7394b
-DIST reshade-9fdbea6892f9959fdc18095d035976c574b268b7.tar.gz 1543894 BLAKE2B 5e2b643ffbbda3ad078deb075a6fada1d0a560c6d865b7febee6a8eaade83ec90db3c5a8f4130d27b6dfaa8ee7b899edd214c23c947678eed28fb8e7165d9bd2 SHA512 4565d094e1c2d53d5073b4976874665d38dcf7ca86e982e569cc76923eaa9187fa32a4385fc577a3a867d2917596e6377e5a023a34bc2d389ff899d5b69764fb
+DIST gamescope-3.14.22.tar.gz 536052 BLAKE2B f0d8efbaa02c70c810e59b4bc18e46a01205ccfb190a50796a22aefd19689f796406ff4eafd8974ea805843d08fbf14dabf0441fe83cbcc14ad219a04de1f67a SHA512 7c11f8df21f1938a605b9648187f4a115b89397a1dfb11066af3ffa9fed05b95d9656c5e0794ff8c3f9eddaf05602369e0e5bac803b7655f21135a01cd073ab3
+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-a5c9826e6d7d8b504b07d1c02425e6f62b020791.tar.gz 620424 BLAKE2B 83630b77983009a36fa4f168bbe2eceb73f634f9dd149cc5e6b18fbf647245a32a5d31dc3fbd0d1bed1d0dafc4cbb2fcea3ee4b4f5660a35ca37eff4679b80a2 SHA512 6857ded750fda91d55e53edfc270eb4e7bf44d7330d17c8fcd13c248c71abba685f34260d1e6d20cdb302a8d4f9158fb43421943cca74630fd780a4048aed07b
-EBUILD gamescope-3.14.18.ebuild 3638 BLAKE2B 0500cec60dc29770555353befd34f5b19d5094eb91e7088c823c9c391348ab64dc6bdd967769b86bf72191851f37c1dc55cd204fa042d14b2ce1d5be4d72971a SHA512 8a66c21f1db16abb0030d44e516ad959301ca24e55bfe21c3b86f6c440876a5e2dc96b8048ab91cc7b8275d972b29856ff1823a9015c4b1e38a6effa01312838
-MISC metadata.xml 489 BLAKE2B 6930da0ca2827741a902e064b3bca71266ac5c2e61d7cf6d566c37e971efd04b2fcd2381659e1d5babe6fd05dd4d06979c0d82b3ac5e2702bb5d3311ef30df79 SHA512 419f4a3f3dc7a940d0f157323b9afd116b4a4d2efc718eb5979d84677b770a606c532d0777dbed1b6598afa393894e5dc9982dbaf7e31c90a9e0b433938d4e55
+EBUILD gamescope-3.14.22.ebuild 4195 BLAKE2B acd5ab83aa863b7a374b74757d43c279ba19ec74c08a80c60afaf651e941209832ff61be1fd13e4e8b857c3b16b715a36c7b6a73e7257c7622c6ef5d5ffec9dc SHA512 a9d8e010542a70d15fac1ca9aedd934b52d64d384cf27a9812725d3e096845ab1175d8c51dc48dae5dd1a30b77b856ca75915c95502919c8b660e963e850ed36
+MISC metadata.xml 571 BLAKE2B 43906c35ed17ecb23361a342b4f935f39efa62db4ef2f4185bb49dca701304efa735e8785d6960cf9f0ce8ffd6a7b78f40cd7d7aaa843a914f220e988a122dec SHA512 ad4e74f9fdc00121e9c5fb5ed79d5cc3d271b4ff4c653f5791ebd26810a9c833a4e5d80e8a69cebb4c753caadc6284e1afa1ad826040e8fb3560985400c6b25f
diff --git a/gui-wm/gamescope/gamescope-3.14.18.ebuild b/gui-wm/gamescope/gamescope-3.14.22.ebuild
index 069182a94bc9..0a4ac07347a7 100644
--- a/gui-wm/gamescope/gamescope-3.14.18.ebuild
+++ b/gui-wm/gamescope/gamescope-3.14.22.ebuild
@@ -5,43 +5,40 @@ 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"
+EGIT_SUBMODULES=( src/reshade subprojects/{libliftoff,vkroots,wlroots} )
+
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
+ RESHADE_COMMIT="696b14cd6006ae9ca174e6164450619ace043283"
+ LIBLIFTOFF_COMMIT="0.5.0" # Upstream points at this release.
+ VKROOTS_COMMIT="5106d8a0df95de66cc58dc1ea37e69c99afc9540"
+ WLROOTS_COMMIT="a5c9826e6d7d8b504b07d1c02425e6f62b020791"
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="pipewire +wsi-layer"
-
-# For when wlroots 0.18 is released.
-# =gui-libs/wlroots-0.18*[X,libinput(+)]
+IUSE="avif libei pipewire +sdl +wsi-layer"
RDEPEND="
>=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/libdisplay-info-0.1*:=
media-libs/vulkan-loader
sys-apps/hwdata
sys-libs/libcap
@@ -59,9 +56,14 @@ RDEPEND="
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(+)]
@@ -74,7 +76,6 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- =dev-libs/libliftoff-0.5*
>=dev-libs/wayland-protocols-1.34
>=dev-libs/stb-20240201-r1
dev-util/vulkan-headers
@@ -82,9 +83,6 @@ DEPEND="
dev-util/spirv-headers
wsi-layer? ( >=media-libs/vkroots-0_p20240430 )
"
-RDEPEND+="
- dev-libs/libliftoff
-"
BDEPEND="
dev-util/glslang
dev-util/wayland-scanner
@@ -103,11 +101,17 @@ 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.
+ # 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
- rmdir src/reshade || die
- ln -snfT ../../reshade-${RESHADE_COMMIT} src/reshade || die
+ 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
@@ -115,19 +119,20 @@ 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() {
+ # Disabling DRM backend is currently broken.
+ # https://github.com/ValveSoftware/gamescope/issues/1347
local emesonargs=(
- --force-fallback-for=
- -Dbenchmark=disabled
- -Denable_openvr_support=false
$(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
diff --git a/gui-wm/gamescope/metadata.xml b/gui-wm/gamescope/metadata.xml
index cc171105f9d8..1a847c302a36 100644
--- a/gui-wm/gamescope/metadata.xml
+++ b/gui-wm/gamescope/metadata.xml
@@ -9,6 +9,7 @@
<remote-id type="github">ValveSoftware/gamescope</remote-id>
</upstream>
<use>
+ <flag name="libei">Enable emulated input using <pkg>dev-libs/libei</pkg></flag>
<flag name="pipewire">Enable screen capture via PipeWire</flag>
<flag name="wsi-layer">Enable the WSI layer (required for HDR)</flag>
</use>
diff --git a/gui-wm/hyprland/Manifest b/gui-wm/hyprland/Manifest
index 3d693dea285f..75a512468d1b 100644
--- a/gui-wm/hyprland/Manifest
+++ b/gui-wm/hyprland/Manifest
@@ -8,5 +8,5 @@ EBUILD hyprland-0.37.1-r1.ebuild 3776 BLAKE2B 695ad287b51c217d6b6cf340e9737de64d
EBUILD hyprland-0.39.1-r3.ebuild 3967 BLAKE2B 2d469c0a319227b1ce83fd1ab8be9cc04cfeb43737ee717ec0f163afb0c3f162332760c5c5cedea089303e6d913a20ac91719cb37ff1f36aa3c290085527af9c SHA512 038d6297db31571f67cf3b4181012ab29625d13d2a3952bb4214539dede9dfdafc7ea4429523fb47e2fb407cb6c7bc5f8c4ecd6d3328e01aa5e5f75184464830
EBUILD hyprland-0.40.0-r1.ebuild 4009 BLAKE2B 129b4d55aa26fbc9f282a1b2de230a1431770aaec9c088a28874dfb08de81871774df26f3571494dfa62c3ed9631aa0af739e169e95269ba416edae2344ee01a SHA512 2be06355e9fb98a187e9aa3754cae800eab0fa91ffaac7ce69f0f8cf955a67bf3affc6a73b7c3d78af5ed8da1b2ba0150f323dbea5940c855c7398eb20799224
EBUILD hyprland-0.41.1.ebuild 3451 BLAKE2B 21286db4b04d32cbb340069a44f022c3fb8ae65fa83fe5d7bd8891980bedc7cf7984bf6c8a9be91b57853818d96a7e151b0b40afec1bc65d8f8c5bef7d37ea91 SHA512 b9c860711a669f7c80472485effb254d841735043911255b72ac5d8b6af14b7f1df4dfcb708e6b137c73131b86ab498e6822fa9de5686b799e8f6217bacfa381
-EBUILD hyprland-9999.ebuild 3853 BLAKE2B 72460f5f6206184ed62efa8c61422974cf9f64dee590b384ead1dd33ebcf77aa8ff78f5f0dfdfa79b26f230294075ce725f4b7ab6d758965f2ead5120dd8f2cc SHA512 09f59f97783b4e550aea0962bae2c9ca1b38a64b9f93c87a4189a3d3e8177ca438d2bf2a5cb24cac135e4f6769729cd6164a9f96936e8417440530b3f637d93c
+EBUILD hyprland-9999.ebuild 3855 BLAKE2B ff90716f20b3d7519fc9a76663ab6f9b0dfdd51b31a4e4c706350aedbb1a05d169c17fe513c97ea51894a357b73d139b1ec47b60309ff353fd03996ee831d292 SHA512 52a0d5078f5ea5398822828acfab73af26184f8895a362638d5a8c3849ae09700b1c5532250d5f94c469f94f189cbbbdb11621f0fd4d66247cdd9c7539bde2b9
MISC metadata.xml 716 BLAKE2B fc5248c809b9b5bf1002e3d82ff80f595b8e613d09e5541f1a0151c3ea2c117376d25fa5a40c85d254533708d9eff5339bd329b42118e87ca49e22e55c0c5d7b SHA512 31252ced2546f3686f17259aabfe9273af14f7efaf3fa0bfb446c65c6d9478be3a23c531e0ac463f27fe1d50842f6f126f32e47a8a03a345306297e182952e98
diff --git a/gui-wm/hyprland/hyprland-9999.ebuild b/gui-wm/hyprland/hyprland-9999.ebuild
index 8165be18f238..1b9ccde49fd6 100644
--- a/gui-wm/hyprland/hyprland-9999.ebuild
+++ b/gui-wm/hyprland/hyprland-9999.ebuild
@@ -45,7 +45,7 @@ WLROOTS_DEPEND="
>=x11-libs/libdrm-2.4.114
x11-libs/libxkbcommon
>=x11-libs/pixman-0.42.0
- media-libs/libdisplay-info
+ media-libs/libdisplay-info:=
sys-apps/hwdata
>=dev-libs/libinput-1.14.0:=
sys-auth/seatd:=