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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71B0813835A for ; Wed, 11 Nov 2020 17:03:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97655E0BC5; Wed, 11 Nov 2020 17:03:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D3EAE0BC5 for ; Wed, 11 Nov 2020 17:03:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 07E7D340CFE for ; Wed, 11 Nov 2020 17:03:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49A9C334 for ; Wed, 11 Nov 2020 17:03:25 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1605114192.ad89812116856f42661b9eb30569364ddbf1bb47.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/seatd/, sys-auth/seatd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/seatd/Manifest sys-auth/seatd/files/seatd.initd sys-auth/seatd/metadata.xml sys-auth/seatd/seatd-0.4.0.ebuild sys-auth/seatd/seatd-9999.ebuild X-VCS-Directories: sys-auth/seatd/ sys-auth/seatd/files/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: ad89812116856f42661b9eb30569364ddbf1bb47 X-VCS-Branch: master Date: Wed, 11 Nov 2020 17:03:25 +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: e1b43cb2-5780-4bc8-bfe0-d0e844e8157f X-Archives-Hash: c0604c2c7a30f1b1468953ed2c039fab commit: ad89812116856f42661b9eb30569364ddbf1bb47 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Sun Sep 13 12:06:53 2020 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Wed Nov 11 17:03:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad898121 sys-auth/seatd: New package Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Signed-off-by: Aaron Bauman gentoo.org> sys-auth/seatd/Manifest | 1 + sys-auth/seatd/files/seatd.initd | 4 ++++ sys-auth/seatd/metadata.xml | 12 ++++++++++ sys-auth/seatd/seatd-0.4.0.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ sys-auth/seatd/seatd-9999.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 111 insertions(+) diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest new file mode 100644 index 00000000000..031dd4e115e --- /dev/null +++ b/sys-auth/seatd/Manifest @@ -0,0 +1 @@ +DIST seatd-0.4.0.tar.gz 34242 BLAKE2B 295ee18736b5f7e1b06013d00514321aad5fb09c285690cfbd78833a9efbfeb2cfaef69c075fb096fedaac42ff249ee1a43593dbd03132770c1be293ffe7ddc1 SHA512 498ab4040c19ff90842bf82f580ba24c2c98e0aded7ba636dcffc80f6bfd8869eec3e87e784455b66e2b69786b2fc6e7315b2867effa825440759d58e391378c diff --git a/sys-auth/seatd/files/seatd.initd b/sys-auth/seatd/files/seatd.initd new file mode 100644 index 00000000000..f95a52f1563 --- /dev/null +++ b/sys-auth/seatd/files/seatd.initd @@ -0,0 +1,4 @@ +#!/sbin/openrc-run +supervisor=supervise-daemon +command="seatd" +command_args="-g video" diff --git a/sys-auth/seatd/metadata.xml b/sys-auth/seatd/metadata.xml new file mode 100644 index 00000000000..fa389813e2d --- /dev/null +++ b/sys-auth/seatd/metadata.xml @@ -0,0 +1,12 @@ + + + + + contact@hacktivis.me + Haelwenn (lanodan) Monnier + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/sys-auth/seatd/seatd-0.4.0.ebuild b/sys-auth/seatd/seatd-0.4.0.ebuild new file mode 100644 index 00000000000..53deb000533 --- /dev/null +++ b/sys-auth/seatd/seatd-0.4.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +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="~amd64" + SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi +LICENSE="MIT" +SLOT="0/1" +IUSE="elogind systemd" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + elogind? ( sys-auth/elogind ) + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND}" +BDEPEND=">=app-text/scdoc-1.9.7" + +src_configure() { + local emesonargs=( + -Dman-pages=enabled + ) + + if use elogind || use systemd; then + emesonargs+=( -Dlogind=enabled ) + else + emesonargs+=( -Dlogind=disabled ) + fi + + meson_src_configure +} + +src_install() { + meson_src_install + newinitd "${FILESDIR}/seatd.initd" seatd +} diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild new file mode 100644 index 00000000000..53deb000533 --- /dev/null +++ b/sys-auth/seatd/seatd-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +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="~amd64" + SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi +LICENSE="MIT" +SLOT="0/1" +IUSE="elogind systemd" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + elogind? ( sys-auth/elogind ) + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND}" +BDEPEND=">=app-text/scdoc-1.9.7" + +src_configure() { + local emesonargs=( + -Dman-pages=enabled + ) + + if use elogind || use systemd; then + emesonargs+=( -Dlogind=enabled ) + else + emesonargs+=( -Dlogind=disabled ) + fi + + meson_src_configure +} + +src_install() { + meson_src_install + newinitd "${FILESDIR}/seatd.initd" seatd +}