summaryrefslogtreecommitdiff
path: root/gui-wm/gamescope
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-13 08:16:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-13 08:16:09 +0000
commit4a74938e510c0dad732ae4c48f815dd0f0cabb46 (patch)
treee8c52cd3619bba6cf0a5c367f6c9d2cff0ac9d80 /gui-wm/gamescope
parentebc282ef4dfa408accac685565b8ee5f6faec119 (diff)
gentoo auto-resync : 13:02:2023 - 08:16:09
Diffstat (limited to 'gui-wm/gamescope')
-rw-r--r--gui-wm/gamescope/Manifest6
-rw-r--r--gui-wm/gamescope/gamescope-3.11.51.ebuild2
-rw-r--r--gui-wm/gamescope/gamescope-3.11.52_beta1.ebuild76
-rw-r--r--gui-wm/gamescope/metadata.xml1
4 files changed, 82 insertions, 3 deletions
diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest
index 9b9364b96c1c..56c042eacf9d 100644
--- a/gui-wm/gamescope/Manifest
+++ b/gui-wm/gamescope/Manifest
@@ -1,3 +1,5 @@
DIST gamescope-3.11.51.tar.gz 209920 BLAKE2B fdccd6659e33a9ae43eaabc5d41cfa6d0a92bda1a283e23f101296713f5094093b7b41135de44abd65ff17c66d70b27baf50685dcd2a47084022fb611e150a5b SHA512 a4ddd96a4fdacd62eee800f6fb331d08fca32c2798d64148529181a0ee8d8af57d5d67bfa28bff8e9cf62047a7572c43b36e2968660ea2984b8e21fa812baf9e
-EBUILD gamescope-3.11.51.ebuild 1811 BLAKE2B 94cb48edfa00c881346c2dbda4ff07f476cf97132364517451b4de85c3193e480be0194c13b7c1046cc083dd8af07fd1019a9c7b8e8891b4941054f16641b5ba SHA512 0b5d06d7fbea7eb144275f8cb345647fd844ff8aa5fa25aefd4718bfdb1f81b2817f57fb4a49a2340179a571fe3742d8fec3c63bf3f64e3d46b5913b3250aab6
-MISC metadata.xml 411 BLAKE2B c6f08c2a8b130c5b5b7085e3b6db62c0a2a9b0965b6e004e6394da7625b2e9430fdedffcddf4dfba50d2c4fa40b20ceda0743294d86229272364e8785c359584 SHA512 ce196e3fee976ea76038e3603ec33da7dbdce267ee2ffd233c29fb7ac6f64fd38b1ad8b421929374a1a2c53f91fa83c243175836ddda4b04f6f3b7f22833ee42
+DIST gamescope-3.11.52_beta1.tar.gz 256753 BLAKE2B b25dc6609ab4f2639c7dfa1d972c41697632cc2fc7afc8bb6eeaa6271bf16fe19f9a4f553395eefbdc92f2d896c2f9e7489bdb664ea679a8b514ac5c8a50b60c SHA512 7fb8e2d45e6eb66bb8dbdac9aa39e4492d27b9b7b6175314877082c83cdf8891eb1bd00d86b9109e392b4c877919956feaa420c0d71e59e34e224f7223050ada
+EBUILD gamescope-3.11.51.ebuild 1824 BLAKE2B a2d3471ce89c79c87c3c1e47007f915b078c319be2cc7309c42a06bc3dc04ac8505f693245f3f18388413b09d1ab1b278efd7641730fdadffac33ffe2a52052a SHA512 4e440dc6c36800b2cf4d93697d54ec1cae3890d1d91a348680ffa54df5770532d04d71bacd98e86a2c1cecb943f74672f55874d7611f8f01e1a0d5c8e8f1854c
+EBUILD gamescope-3.11.52_beta1.ebuild 1737 BLAKE2B d52b65c2bbc071ef9cc99b7c776a8226192209b4cebe642b6615542f0043ee0782795eb223637f9f2069700610a9866993f27a3e4d260a0331f7ffb777581b31 SHA512 8b0baedc0202873d6dc818300b16a4f6be56ed7b5d6e8858a5db709e062e933e4b1d3db107006a4905251ed05bb6001fe24b606b99137cb5a1656afdd4631052
+MISC metadata.xml 483 BLAKE2B 707c65db5f28be5da95a68a7428a33a342aa8689d3021b82e7de006f7bcc9a6a476cf9450c889cef0e922a71e8086ad20a3de885c157840621187956d9d1d8e0 SHA512 6b8392e60e5b651720a678296acfb3ed7f910fecee71f5d756c201eefe7516dcc04ca148d4b0f416fc07acfc70b3e09f553b505106b95d504c63d763b791dd3d
diff --git a/gui-wm/gamescope/gamescope-3.11.51.ebuild b/gui-wm/gamescope/gamescope-3.11.51.ebuild
index a8464a5a2e68..b8dbd943a190 100644
--- a/gui-wm/gamescope/gamescope-3.11.51.ebuild
+++ b/gui-wm/gamescope/gamescope-3.11.51.ebuild
@@ -42,7 +42,7 @@ DEPEND="
${RDEPEND}
dev-libs/stb
dev-util/vulkan-headers
- media-libs/vkroots
+ ~media-libs/vkroots-0_p20221205
"
BDEPEND="
dev-util/glslang
diff --git a/gui-wm/gamescope/gamescope-3.11.52_beta1.ebuild b/gui-wm/gamescope/gamescope-3.11.52_beta1.ebuild
new file mode 100644
index 000000000000..83d9cba188f7
--- /dev/null
+++ b/gui-wm/gamescope/gamescope-3.11.52_beta1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 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/Plagman/gamescope"
+SRC_URI="https://github.com/Plagman/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="pipewire +wsi-layer"
+
+RDEPEND="
+ =dev-libs/libliftoff-0.3*
+ >=dev-libs/wayland-1.21
+ >=dev-libs/wayland-protocols-1.17
+ =gui-libs/wlroots-0.16*[X]
+ media-libs/libdisplay-info
+ 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/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libXrender
+ x11-libs/libXres
+ x11-libs/libXtst
+ x11-libs/libXxf86vm
+ pipewire? ( >=media-video/pipewire-0.3:= )
+ wsi-layer? ( x11-libs/libxcb )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/stb
+ dev-util/vulkan-headers
+ wsi-layer? ( >=media-libs/vkroots-0_p20230103 )
+"
+BDEPEND="
+ dev-util/glslang
+ dev-util/wayland-scanner
+"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+FILECAPS=(
+ cap_sys_nice usr/bin/${PN}
+)
+
+src_prepare() {
+ default
+
+ # Normally wraps stb with Meson. Upstream does not ship a pkg-config file so
+ # we don't install one. Work around this using symlinks.
+ mkdir subprojects/stb || die
+ ln -sn "${ESYSROOT}"/usr/include/stb/* "${S}"/subprojects/packagefiles/stb/* subprojects/stb/ || die
+}
+
+src_configure() {
+ local emesonargs=(
+ --force-fallback-for=
+ -Denable_openvr_support=false
+ $(meson_feature pipewire)
+ $(meson_use wsi-layer enable_gamescope_wsi_layer)
+ )
+ meson_src_configure
+}
diff --git a/gui-wm/gamescope/metadata.xml b/gui-wm/gamescope/metadata.xml
index 97b39dd3f361..f2337907378b 100644
--- a/gui-wm/gamescope/metadata.xml
+++ b/gui-wm/gamescope/metadata.xml
@@ -10,5 +10,6 @@
</upstream>
<use>
<flag name="pipewire">Enable screen capture via PipeWire</flag>
+ <flag name="wsi-layer">Enable the WSI layer (required for HDR)</flag>
</use>
</pkgmetadata>