commit:     949378874686ca453390768c0c8af98293ee3669
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 20 22:01:44 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Aug 20 22:01:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94937887

gui-wm/gamescope: Patch to allow libdisplay-info 0.3

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../files/gamescope-libdisplay-info-0.3.0.patch       | 19 +++++++++++++++++++
 ...ope-3.16.15.ebuild => gamescope-3.16.15-r1.ebuild} |  3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/gui-wm/gamescope/files/gamescope-libdisplay-info-0.3.0.patch 
b/gui-wm/gamescope/files/gamescope-libdisplay-info-0.3.0.patch
new file mode 100644
index 000000000000..a70527dc6a8a
--- /dev/null
+++ b/gui-wm/gamescope/files/gamescope-libdisplay-info-0.3.0.patch
@@ -0,0 +1,19 @@
+From 13e56464c86c6abb0c6a2c2785d473c6528a6488 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <[email protected]>
+Date: Fri, 15 Aug 2025 23:17:59 +0100
+Subject: [PATCH] subprojects: Bump libdisplay-info to 0.3.0
+
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -33,7 +33,7 @@ wlroots_dep = dependency(
+ 
+ displayinfo_dep = dependency(
+   'libdisplay-info',
+-  version: ['>= 0.0.0', '< 0.3.0'],
++  version: ['>= 0.0.0', '< 0.4.0'],
+   fallback: ['libdisplay-info', 'di_dep'],
+   default_options: ['default_library=static'],
+ )
+-- 
+2.50.1
+

diff --git a/gui-wm/gamescope/gamescope-3.16.15.ebuild 
b/gui-wm/gamescope/gamescope-3.16.15-r1.ebuild
similarity index 98%
rename from gui-wm/gamescope/gamescope-3.16.15.ebuild
rename to gui-wm/gamescope/gamescope-3.16.15-r1.ebuild
index f67528722743..e3bdabc4b43e 100644
--- a/gui-wm/gamescope/gamescope-3.16.15.ebuild
+++ b/gui-wm/gamescope/gamescope-3.16.15-r1.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
        >=dev-libs/libinput-1.14.0:=
        >=dev-libs/wayland-1.23.1
        gui-libs/libdecor
-       <media-libs/libdisplay-info-0.3:=
+       <media-libs/libdisplay-info-0.4:=
        media-libs/vulkan-loader
        sys-apps/hwdata
        sys-libs/libcap
@@ -97,6 +97,7 @@ BDEPEND="
 PATCHES=(
        "${FILESDIR}"/${PN}-deprecated-stb.patch
        "${FILESDIR}"/${PN}-subprojects.patch
+       "${FILESDIR}"/${PN}-libdisplay-info-0.3.0.patch
 )
 
 FILECAPS=(

Reply via email to