mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gui-apps/swaylock: drop 1.7, 1.7.2, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST swaylock-1.7.2.tar.gz 37368 BLAKE2B 146d73255a0d1439cf75ccb2fff528e47929718eaa75dc5a1567feeac59e65ebf674679e559dd634f375b5ca1bd44f6fe195f7362441b1979eaa222ba35812b8 SHA512 0593f7dfb258bd77796cb757e2e52d01829e0746306ce7991313a2982feead698c22753db53b00719ac1c82f6573563bcf5815f68c06680aa8ee6d419cac7549
|
||||
DIST swaylock-1.7.tar.gz 37149 BLAKE2B 7675b56a28ce932bd163cd41ce498295b61aff51d204c5323b187ddde9ea17f6ef1ac2777272fd92703e49f44b3f749645b4715a75ed54845590513e7dddd524 SHA512 44c5a4e482674caeb86da78e49d4593128a14adad2d6e46994f984b2b2b893416d6ceeb6b0b5746ad5594892e65c9dab9764bbe4bf617a90d92622a41b791ed0
|
||||
DIST swaylock-1.8.0.tar.gz 33073 BLAKE2B ab93ec0f5274de623f8c75ad174d7799d36471761234afc7697194483253d201978d8d977a5a80f8f8c926382b2eab5ab36c7be9c30e5dc26a3d0e1c747f7be6 SHA512 950b608d3af010d4c68efb3468859e6b45632220cfb1597084eed457c1afc31afb7f75d49d316aae2b20c9849e8c7f1d37a288b6ca0c27f53994c2e43f97789f
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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=(
|
||||
-Dman-pages=$(usex man enabled disabled)
|
||||
-Dpam=$(usex pam enabled disabled)
|
||||
-Dgdk-pixbuf=$(usex gdk-pixbuf enabled disabled)
|
||||
"-Dfish-completions=true"
|
||||
"-Dzsh-completions=true"
|
||||
"-Dbash-completions=true"
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use pam; then
|
||||
fcaps cap_sys_admin usr/bin/swaylock
|
||||
fi
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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/${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=(
|
||||
-Dman-pages=$(usex man enabled disabled)
|
||||
-Dpam=$(usex pam enabled disabled)
|
||||
-Dgdk-pixbuf=$(usex gdk-pixbuf enabled disabled)
|
||||
"-Dfish-completions=true"
|
||||
"-Dzsh-completions=true"
|
||||
"-Dbash-completions=true"
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use pam; then
|
||||
fcaps cap_sys_admin usr/bin/swaylock
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user