From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3535E1581EC for ; Thu, 21 Nov 2024 20:46:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5526BE07C5; Thu, 21 Nov 2024 20:46:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D159E07C5 for ; Thu, 21 Nov 2024 20:46:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8287A340B57 for ; Thu, 21 Nov 2024 20:46:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E5FD1E74 for ; Thu, 21 Nov 2024 20:46:19 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1732221976.e223a90d08b9ad77ad5c0afcf977256cd38637af.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/seatd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/seatd/Manifest sys-auth/seatd/seatd-0.9.1.ebuild X-VCS-Directories: sys-auth/seatd/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: e223a90d08b9ad77ad5c0afcf977256cd38637af X-VCS-Branch: master Date: Thu, 21 Nov 2024 20:46:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fec7ea4a-8257-47c2-b654-3748eae6377b X-Archives-Hash: a8dcdba41318efe0a68ca0774f37fed5 commit: e223a90d08b9ad77ad5c0afcf977256cd38637af Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Nov 1 10:23:59 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 21 20:46:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e223a90d sys-auth/seatd: add 0.9.1 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/39177 Signed-off-by: Arthur Zamarin gentoo.org> sys-auth/seatd/Manifest | 1 + sys-auth/seatd/seatd-0.9.1.ebuild | 62 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest index 6af47d778a2b..5d4f96af4f6d 100644 --- a/sys-auth/seatd/Manifest +++ b/sys-auth/seatd/Manifest @@ -1,2 +1,3 @@ DIST seatd-0.8.0.tar.gz 39349 BLAKE2B 920270808f28c85badb173af22edb03960f2b9cdce5af3124c64fe68c52a77f002272d2f19e97d107303c55ad6de498d279f6b05311793270c6ee84565fc435e SHA512 93b1e5c170564ce9654e4df9985af95cb505274b36e950998bb1f16803d2d46712140eded2bdd8d5e85aec62070afd9c224184276d79a0ff0813408dfc472db7 DIST seatd-0.9.0.tar.gz 41606 BLAKE2B 17d366fd44541404cd675561d3d22b3f2a45dcb29fc2636f4019df7b2d58f4d90745645ec906d4e2a7325c02ca78029b017106671520b653fb3f96e73e1fb9bc SHA512 531ae25f67ae2c11fc45700391dd6bc38c1213379da6a0867735315595dc760ea89d94eb37d9efce8049bd427c898d33aa54f1c36ccb5286c840e011fc78d264 +DIST seatd-0.9.1.tar.gz 41968 BLAKE2B f935165c00bf0e35d73809d408ae1e0500a8d5be286fba2d14ee30704d0e8555f67f964bf06fb71245eed090b1d1a00abdb26406e0a617e9a592546401f653d2 SHA512 15d24a6646fa82a2bcc21d2a99693e1c54e71b9da24a0ba5c847a72c53d803410cbcee31fc847fef468b18d941d9685391bebf745819d4b24d056cd67e08c3fb diff --git a/sys-auth/seatd/seatd-0.9.1.ebuild b/sys-auth/seatd/seatd-0.9.1.ebuild new file mode 100644 index 000000000000..1d71f62aae4a --- /dev/null +++ b/sys-auth/seatd/seatd-0.9.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2020-2024 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 '