gui-apps/swaylock: add 1.8.3

Signed-off-by: Thomas Matthijs <gentoo@selckin.be>
Part-of: https://github.com/gentoo/gentoo/pull/43424
Closes: https://github.com/gentoo/gentoo/pull/43424
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Thomas Matthijs
2025-10-03 05:56:38 +01:00
committed by Sam James
parent a4b056f54b
commit 1fd5bfcd86
2 changed files with 55 additions and 0 deletions
+1
View File
@@ -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
+54
View File
@@ -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
}