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 29712158041 for ; Sat, 24 Feb 2024 19:07:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70D25E29BB; Sat, 24 Feb 2024 19:07:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58AF8E29BB for ; Sat, 24 Feb 2024 19:07:36 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D3E8343062 for ; Sat, 24 Feb 2024 19:07:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FA5F131B for ; Sat, 24 Feb 2024 19:07:34 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1708801597.cc8a661a762039423faff1c4ca01e182616ca6ee.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/sway/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-wm/sway/sway-9999.ebuild X-VCS-Directories: gui-wm/sway/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: cc8a661a762039423faff1c4ca01e182616ca6ee X-VCS-Branch: master Date: Sat, 24 Feb 2024 19:07:34 +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: 1d3f9068-7a3c-491f-8a8f-25652cdfad63 X-Archives-Hash: 413b676ea725ec81ddbc2c8a0dd603d4 commit: cc8a661a762039423faff1c4ca01e182616ca6ee Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 24 19:06:37 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 24 19:06:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8a661a gui-wm/sway: sync live Signed-off-by: Arthur Zamarin gentoo.org> gui-wm/sway/sway-9999.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild index a3202673f8d0..905df0af237e 100644 --- a/gui-wm/sway/sway-9999.ebuild +++ b/gui-wm/sway/sway-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit meson optfeature +inherit fcaps meson optfeature DESCRIPTION="i3-compatible Wayland window manager" HOMEPAGE="https://swaywm.org" @@ -21,6 +21,7 @@ fi LICENSE="MIT" SLOT="0" IUSE="+man +swaybar +swaynag tray wallpapers X" +REQUIRED_USE="tray? ( swaybar )" DEPEND=" >=dev-libs/json-c-0.13:0= @@ -69,7 +70,10 @@ if [[ ${PV} == 9999 ]]; then else BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )" fi -REQUIRED_USE="tray? ( swaybar )" + +FILECAPS=( + cap_sys_nice usr/bin/${PN} # bug 919298 +) src_configure() { local emesonargs=( @@ -95,6 +99,8 @@ src_install() { } pkg_postinst() { + fcaps_pkg_postinst + optfeature_header "There are several packages that may be useful with sway:" optfeature "wallpaper utility" gui-apps/swaybg optfeature "idle management utility" gui-apps/swayidle @@ -102,7 +108,7 @@ pkg_postinst() { optfeature "lightweight notification daemon" gui-apps/mako echo einfo "For a list of additional addons and tools usable with sway please" - einfo "visit the offical wiki at:" + einfo "visit the official wiki at:" einfo "https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway" einfo "Please note that some of them might not (yet) available on gentoo" }