diff options
| author | Nicolas PARLANT <nicolas.parlant@parhuet.fr> | 2025-11-27 22:59:04 +0100 |
|---|---|---|
| committer | Matthew Thode <prometheanfire@gentoo.org> | 2025-11-27 18:26:08 -0600 |
| commit | cf3fbf41a2f0e7c083e9932904d934db236cdbc0 (patch) | |
| tree | 183a36da6fdde50847047310afc920ac174e689e /gui-apps | |
| parent | 9f013c6362a684fdc5d77995f527fe810ef5d8c5 (diff) | |
| download | gentoo-cf3fbf41a2f0e7c083e9932904d934db236cdbc0.tar.gz gentoo-cf3fbf41a2f0e7c083e9932904d934db236cdbc0.tar.bz2 gentoo-cf3fbf41a2f0e7c083e9932904d934db236cdbc0.zip | |
gui-apps/swaylock: add 1.8.4
sync with live
Closes: https://bugs.gentoo.org/921584
Closes: https://bugs.gentoo.org/963938
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44803
Closes: https://github.com/gentoo/gentoo/pull/44803
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'gui-apps')
| -rw-r--r-- | gui-apps/swaylock/Manifest | 1 | ||||
| -rw-r--r-- | gui-apps/swaylock/swaylock-1.8.4.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/gui-apps/swaylock/Manifest b/gui-apps/swaylock/Manifest index 64a29b059eca..383ee303e423 100644 --- a/gui-apps/swaylock/Manifest +++ b/gui-apps/swaylock/Manifest @@ -1,2 +1,3 @@ DIST swaylock-1.8.0.tar.gz 33073 BLAKE2B ab93ec0f5274de623f8c75ad174d7799d36471761234afc7697194483253d201978d8d977a5a80f8f8c926382b2eab5ab36c7be9c30e5dc26a3d0e1c747f7be6 SHA512 950b608d3af010d4c68efb3468859e6b45632220cfb1597084eed457c1afc31afb7f75d49d316aae2b20c9849e8c7f1d37a288b6ca0c27f53994c2e43f97789f DIST swaylock-1.8.3.tar.gz 33540 BLAKE2B 4e0440625f3908ca5018266d9979b218200fbabf754c0b6dbef80c54c14fc80ddb14bb480ed0f2eb4fe9a7b07f137399a5a75f7186f8da376fa3778716fc3f54 SHA512 3ae69de30faf3056ad0d814d57445b1797d006c8494e4b3a0fd5ad06778b89c1ec86407ab18d30bdef0b277a23c5f5ff4597d3c0703e04a217d9aa5c966f8d89 +DIST swaylock-1.8.4.tar.gz 33819 BLAKE2B 586c4500e0a1f523a757648f47fd631ede78fad7409f0d2d7007c0ab30715c278d52894a599ebfb593c8913f6f26f52736ff3e96500754c2359a456f82c3e510 SHA512 6f8fd52fe94dfcafc6faa976a4933594c1714d21c6d0b78f0ba903222be07456db44c9c51b852c4a2175ca4c1b0cce1f71027edfffca9d7fffa2a32aecab2c61 diff --git a/gui-apps/swaylock/swaylock-1.8.4.ebuild b/gui-apps/swaylock/swaylock-1.8.4.ebuild new file mode 100644 index 000000000000..e4a0ea6d42cd --- /dev/null +++ b/gui-apps/swaylock/swaylock-1.8.4.ebuild @@ -0,0 +1,57 @@ +# 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 +pam" + +DEPEND=" + dev-libs/wayland + x11-libs/cairo + x11-libs/libxkbcommon + gdk-pixbuf? ( + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + ) + pam? ( sys-libs/pam ) + !pam? ( virtual/libcrypt:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/scdoc + >=dev-libs/wayland-protocols-1.25 + >=dev-util/wayland-scanner-1.15 + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_feature pam) + $(meson_feature gdk-pixbuf) + -Dman-pages=enabled + -Dfish-completions=true + -Dzsh-completions=true + -Dbash-completions=true + ) + + meson_src_configure +} + +pkg_postinst() { + use !pam && fcaps -m u+s cap_dac_read_search usr/bin/swaylock +} |
