From 64b098882bcf4739f37ed487ca09cc414629f333 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Mon, 5 Jan 2026 21:50:07 +0200 Subject: [PATCH] sys-auth/seatd: add 0.9.2 Signed-off-by: Arthur Zamarin --- sys-auth/seatd/Manifest | 1 + sys-auth/seatd/seatd-0.9.2.ebuild | 62 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 sys-auth/seatd/seatd-0.9.2.ebuild diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest index b90d6c8b8942c..774413ad7c377 100644 --- a/sys-auth/seatd/Manifest +++ b/sys-auth/seatd/Manifest @@ -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 diff --git a/sys-auth/seatd/seatd-0.9.2.ebuild b/sys-auth/seatd/seatd-0.9.2.ebuild new file mode 100644 index 0000000000000..7e0cb83471d3e --- /dev/null +++ b/sys-auth/seatd/seatd-0.9.2.ebuild @@ -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 '