mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-auth/seatd: add 0.9.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST seatd-0.9.1.tar.gz 41968 BLAKE2B f935165c00bf0e35d73809d408ae1e0500a8d5be286fba2d14ee30704d0e8555f67f964bf06fb71245eed090b1d1a00abdb26406e0a617e9a592546401f653d2 SHA512 15d24a6646fa82a2bcc21d2a99693e1c54e71b9da24a0ba5c847a72c53d803410cbcee31fc847fef468b18d941d9685391bebf745819d4b24d056cd67e08c3fb
|
||||
DIST seatd-0.9.2.tar.gz 41920 BLAKE2B e3ad02dd0c7ec452aea8729bbf9bfec3d18aa63fe6eea5d323e7f4d8fc76770fbfe14088f3480fba48811f51aefdc52262a7060bd5a7c8fd44deb8a89dc3562a SHA512 a17703d39c4191e6c63e6f2b2b073e2b28c60f2059e9317a6dbe500a046bc2b059a7ce506a74c024d376a34459c5a1339e8c859cbce8dc919cdc09287c0c058c
|
||||
|
||||
62
sys-auth/seatd/seatd-0.9.2.ebuild
Normal file
62
sys-auth/seatd/seatd-0.9.2.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 2020-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson systemd
|
||||
|
||||
DESCRIPTION="Minimal seat management daemon and universal library"
|
||||
HOMEPAGE="https://sr.ht/~kennylevinsen/seatd"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd"
|
||||
else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
LICENSE="MIT"
|
||||
SLOT="0/1"
|
||||
IUSE="builtin elogind server systemd"
|
||||
REQUIRED_USE="?? ( elogind systemd )"
|
||||
|
||||
DEPEND="
|
||||
elogind? ( sys-auth/elogind )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
server? ( acct-group/seat )
|
||||
"
|
||||
BDEPEND=">=app-text/scdoc-1.9.7"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dman-pages=enabled
|
||||
$(meson_feature builtin libseat-builtin)
|
||||
$(meson_feature server)
|
||||
)
|
||||
|
||||
if use elogind ; then
|
||||
emesonargs+=( -Dlibseat-logind=elogind )
|
||||
elif use systemd; then
|
||||
emesonargs+=( -Dlibseat-logind=systemd )
|
||||
else
|
||||
emesonargs+=( -Dlibseat-logind=disabled )
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use server; then
|
||||
newinitd "${FILESDIR}/seatd.initd-r1" seatd
|
||||
systemd_dounit contrib/systemd/seatd.service
|
||||
|
||||
if has_version '<sys-auth/seatd-0.7.0-r2'; then
|
||||
elog "For OpenRC users: seatd is now using the 'seat' group instead of the 'video' group"
|
||||
elog "Make sure your user(s) are in the 'seat' group."
|
||||
elog "Note: 'video' is still needed for GPU access like OpenGL"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user