From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7CE515FA50 for ; Fri, 03 Oct 2025 05:00:47 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B1BCC343196 for ; Fri, 03 Oct 2025 05:00:47 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0A7C411313C; Fri, 03 Oct 2025 05:00:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0242811313B for ; Fri, 03 Oct 2025 05:00:32 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADD1C343185 for ; Fri, 03 Oct 2025 05:00:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22DB73A94 for ; Fri, 03 Oct 2025 05:00:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1759467398.1fd5bfcd866570dbb3b7268f9a5fa79f33f79ea5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/swaylock/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-apps/swaylock/Manifest gui-apps/swaylock/swaylock-1.8.3.ebuild X-VCS-Directories: gui-apps/swaylock/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1fd5bfcd866570dbb3b7268f9a5fa79f33f79ea5 X-VCS-Branch: master Date: Fri, 03 Oct 2025 05:00:30 +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: 1bd1d86b-daa8-4ece-a319-fb5f1859e73e X-Archives-Hash: 41260d378dac98abb0a9920d96c2fca6 commit: 1fd5bfcd866570dbb3b7268f9a5fa79f33f79ea5 Author: Thomas Matthijs selckin be> AuthorDate: Tue Aug 12 21:31:35 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 3 04:56:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd5bfcd gui-apps/swaylock: add 1.8.3 Signed-off-by: Thomas Matthijs selckin.be> Part-of: https://github.com/gentoo/gentoo/pull/43424 Closes: https://github.com/gentoo/gentoo/pull/43424 Signed-off-by: Sam James gentoo.org> gui-apps/swaylock/Manifest | 1 + gui-apps/swaylock/swaylock-1.8.3.ebuild | 54 +++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/gui-apps/swaylock/Manifest b/gui-apps/swaylock/Manifest index ee772394e091..64a29b059eca 100644 --- a/gui-apps/swaylock/Manifest +++ b/gui-apps/swaylock/Manifest @@ -1 +1,2 @@ DIST swaylock-1.8.0.tar.gz 33073 BLAKE2B ab93ec0f5274de623f8c75ad174d7799d36471761234afc7697194483253d201978d8d977a5a80f8f8c926382b2eab5ab36c7be9c30e5dc26a3d0e1c747f7be6 SHA512 950b608d3af010d4c68efb3468859e6b45632220cfb1597084eed457c1afc31afb7f75d49d316aae2b20c9849e8c7f1d37a288b6ca0c27f53994c2e43f97789f +DIST swaylock-1.8.3.tar.gz 33540 BLAKE2B 4e0440625f3908ca5018266d9979b218200fbabf754c0b6dbef80c54c14fc80ddb14bb480ed0f2eb4fe9a7b07f137399a5a75f7186f8da376fa3778716fc3f54 SHA512 3ae69de30faf3056ad0d814d57445b1797d006c8494e4b3a0fd5ad06778b89c1ec86407ab18d30bdef0b277a23c5f5ff4597d3c0703e04a217d9aa5c966f8d89 diff --git a/gui-apps/swaylock/swaylock-1.8.3.ebuild b/gui-apps/swaylock/swaylock-1.8.3.ebuild new file mode 100644 index 000000000000..3effa2c9ab4a --- /dev/null +++ b/gui-apps/swaylock/swaylock-1.8.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps meson + +DESCRIPTION="Screen locker for Wayland" +HOMEPAGE="https://github.com/swaywm/swaylock" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/swaywm/${PN}.git" +else + SRC_URI="https://github.com/swaywm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+gdk-pixbuf +man +pam" + +DEPEND=" + dev-libs/wayland + x11-libs/cairo + x11-libs/libxkbcommon + virtual/libcrypt:= + gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) + pam? ( sys-libs/pam ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-libs/wayland-protocols-1.25 + >=dev-util/wayland-scanner-1.15 + virtual/pkgconfig + man? ( app-text/scdoc ) +" + +src_configure() { + local emesonargs=( + $(meson_feature man man-pages) + $(meson_feature pam) + $(meson_feature gdk-pixbuf) + -Dfish-completions=true + -Dzsh-completions=true + -Dbash-completions=true + ) + + meson_src_configure +} + +pkg_postinst() { + use !pam && fcaps cap_sys_admin usr/bin/swaylock +}