mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-07 00:05:47 +03:00
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>
This commit is contained in:
committed by
Matthew Thode
parent
9f013c6362
commit
cf3fbf41a2
@@ -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
|
||||
|
||||
57
gui-apps/swaylock/swaylock-1.8.4.ebuild
Normal file
57
gui-apps/swaylock/swaylock-1.8.4.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user