diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-21 03:42:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-21 03:42:55 +0100 |
commit | 855f2ab2714a36dd2d3b757890b2449d3e9155f2 (patch) | |
tree | 21996677d9df011c406a514a9487ee25e7a5fe48 /gui-wm/gamescope/gamescope-3.12.3.ebuild | |
parent | 90a3be9d71a22834f9bc82c072f1b993f9a10e31 (diff) |
gentoo auto-resync : 21:08:2023 - 03:42:55
Diffstat (limited to 'gui-wm/gamescope/gamescope-3.12.3.ebuild')
-rw-r--r-- | gui-wm/gamescope/gamescope-3.12.3.ebuild | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/gui-wm/gamescope/gamescope-3.12.3.ebuild b/gui-wm/gamescope/gamescope-3.12.3.ebuild new file mode 100644 index 000000000000..8de18f8b6b60 --- /dev/null +++ b/gui-wm/gamescope/gamescope-3.12.3.ebuild @@ -0,0 +1,80 @@ +# 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/ValveSoftware/gamescope" +SRC_URI="https://github.com/ValveSoftware/${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.4* + >=dev-libs/wayland-1.21 + >=dev-libs/wayland-protocols-1.17 + =gui-libs/wlroots-0.16*[X] + >=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/libXdamage + x11-libs/libXext + x11-libs/libXfixes + 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 ) +" +DEPEND=" + ${RDEPEND} + dev-cpp/benchmark + dev-libs/stb + dev-util/vulkan-headers + media-libs/glm + wsi-layer? ( >=media-libs/vkroots-0_p20230103 ) +" +BDEPEND=" + dev-util/glslang + dev-util/wayland-scanner + virtual/pkgconfig +" + +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 +} |