From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 005AE158094 for ; Mon, 8 Aug 2022 22:57:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89610E0BE6; Mon, 8 Aug 2022 22:57:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58521E0BE8 for ; Mon, 8 Aug 2022 22:57:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 20E40340FCC for ; Mon, 8 Aug 2022 22:57:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EF7B553 for ; Mon, 8 Aug 2022 22:57:06 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1659999159.f42a55759f7c5dd2837b7a66fc8c86d9a96c09f0.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/gamescope/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-wm/gamescope/Manifest gui-wm/gamescope/gamescope-3.11.33_beta1.ebuild gui-wm/gamescope/metadata.xml X-VCS-Directories: gui-wm/gamescope/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: f42a55759f7c5dd2837b7a66fc8c86d9a96c09f0 X-VCS-Branch: master Date: Mon, 8 Aug 2022 22:57:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 83b2e7f5-cc77-4015-885d-1fcccfdc2771 X-Archives-Hash: 4c9f5879a5302c58b38f681809340b91 commit: f42a55759f7c5dd2837b7a66fc8c86d9a96c09f0 Author: James Le Cuirot gentoo org> AuthorDate: Mon Aug 8 22:52:39 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Mon Aug 8 22:52:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f42a5575 gui-wm/gamescope: New package at 3.11.33_beta1 Signed-off-by: James Le Cuirot gentoo.org> gui-wm/gamescope/Manifest | 1 + gui-wm/gamescope/gamescope-3.11.33_beta1.ebuild | 69 +++++++++++++++++++++++++ gui-wm/gamescope/metadata.xml | 11 ++++ 3 files changed, 81 insertions(+) diff --git a/gui-wm/gamescope/Manifest b/gui-wm/gamescope/Manifest new file mode 100644 index 000000000000..c2fbded56d82 --- /dev/null +++ b/gui-wm/gamescope/Manifest @@ -0,0 +1 @@ +DIST gamescope-3.11.33_beta1.tar.gz 188791 BLAKE2B 9866d6131f7ab4bfa90e564d8cde21ae3fa3913fec9a22bc5fa83e418379814a087adf24207e67b737af243523725108958a3a8c34f245031683710b436144d7 SHA512 0842e52e6e9bac154b6256852866f8bb861256e07fa8b78535f2b8e2946c0ff5379c645fcfae710bd7168be2ddc9e48e77aaf49fc65f4b061e225fbb16b8b78c diff --git a/gui-wm/gamescope/gamescope-3.11.33_beta1.ebuild b/gui-wm/gamescope/gamescope-3.11.33_beta1.ebuild new file mode 100644 index 000000000000..d236ff8e6802 --- /dev/null +++ b/gui-wm/gamescope/gamescope-3.11.33_beta1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps meson + +MY_PV="${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" + +RDEPEND=" + =dev-libs/libliftoff-0.2* + dev-libs/wayland + >=dev-libs/wayland-protocols-1.17 + =gui-libs/wlroots-0.15*[X] + media-libs/libsdl2[video] + media-libs/vulkan-loader + sys-libs/libcap + x11-libs/libdrm + 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:= ) +" +DEPEND=" + ${RDEPEND} + dev-libs/stb + dev-util/vulkan-headers +" +BDEPEND=" + dev-util/glslang + dev-util/wayland-scanner +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +FILECAPS=( + cap_sys_nice usr/bin/${PN} +) + +src_prepare() { + default + + # Normally uses stb from a git submodule. Upstream does not ship a + # pkg-config file so we don't install one. Work around this using symlinks. + mkdir subprojects/stb || die + ln -snf "${ESYSROOT}"/usr/include/stb/* "${S}"/subprojects/packagefiles/stb/* subprojects/stb/ || die +} + +src_configure() { + local emesonargs=( + --force-fallback-for= + $(meson_feature pipewire) + ) + meson_src_configure +} diff --git a/gui-wm/gamescope/metadata.xml b/gui-wm/gamescope/metadata.xml new file mode 100644 index 000000000000..c218716acb8a --- /dev/null +++ b/gui-wm/gamescope/metadata.xml @@ -0,0 +1,11 @@ + + + + + chewi@gentoo.org + James Le Cuirot + + + Enable screen capture via PipeWire + +