1 |
commit: 176ce89284de2a37bbb373e07a2c617d0f17117b |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Thu Sep 16 06:47:30 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 17 01:52:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176ce892 |
7 |
|
8 |
sys-auth/seatd: Version bump, 0.6.2 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/813282 |
11 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
12 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
13 |
|
14 |
sys-auth/seatd/Manifest | 1 + |
15 |
sys-auth/seatd/seatd-0.6.2.ebuild | 55 +++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 56 insertions(+) |
17 |
|
18 |
diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest |
19 |
index a45cc62360b..45d117f4e12 100644 |
20 |
--- a/sys-auth/seatd/Manifest |
21 |
+++ b/sys-auth/seatd/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST seatd-0.5.0.tar.gz 34762 BLAKE2B 054bd64800b734f6092f856540217e5ea4872c5a363960bac6c5aa7dac5355bdbd982232efd2f8078ad326ec0e6257f3ee7643384c88a3bbe15255d65f02540c SHA512 a6b1f11313411fe99e8bdd64aa493fc19bde7b0b927f21e2c3ec8a7fadc6cf2f04fcefa73fa033d971d1dc482665d3dc927ec168026289fe88b2593a45adbc0f |
24 |
DIST seatd-0.6.0.tar.gz 37418 BLAKE2B 0598191cd5988ec24506a5b70f2011b1ec1691f5e32108c4c44e79d5527527cae4da8bfbe934ca64efbb1a1dd8471b35589c33399cf85dc89b4cec92d2ef1192 SHA512 9b0b67a028cf9bba63a6c4630c66b21dd2cb87de0d290bfc51245727cda72964fbd0ffee709eded1e81c28f403db6bae8926a257fdd9267e154fbe8697d22a2b |
25 |
+DIST seatd-0.6.2.tar.gz 37713 BLAKE2B 001c6269bcc83488099f9237a3412b61f89cf653fcb5b0d1ada3f5fbdb17ec604d881ce3d835ff1ea3bc683bb143bab75de88d67b55f508e6a9dd2e958347567 SHA512 47e3aec819f43e72913be1cac2c0db26287f1ef8ecc738845d3591b3e2b4fee3441ac50ea45ac75a5da774e5305a18a02b8375f76f71644c8c07e95bcad52762 |
26 |
|
27 |
diff --git a/sys-auth/seatd/seatd-0.6.2.ebuild b/sys-auth/seatd/seatd-0.6.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8513ea78566 |
30 |
--- /dev/null |
31 |
+++ b/sys-auth/seatd/seatd-0.6.2.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 2020-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit meson systemd |
39 |
+ |
40 |
+DESCRIPTION="Minimal seat management daemon and universal library" |
41 |
+HOMEPAGE="https://sr.ht/~kennylevinsen/seatd" |
42 |
+if [[ ${PV} == 9999 ]]; then |
43 |
+ inherit git-r3 |
44 |
+ EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd" |
45 |
+else |
46 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" |
47 |
+ SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+fi |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0/1" |
51 |
+IUSE="builtin elogind +server systemd" |
52 |
+REQUIRED_USE="?? ( elogind systemd )" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ elogind? ( sys-auth/elogind ) |
56 |
+ systemd? ( sys-apps/systemd ) |
57 |
+" |
58 |
+RDEPEND="${DEPEND}" |
59 |
+BDEPEND=">=app-text/scdoc-1.9.7" |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local emesonargs=( |
63 |
+ -Dman-pages=enabled |
64 |
+ -Dwerror=false |
65 |
+ $(meson_feature builtin libseat-builtin) |
66 |
+ $(meson_feature server) |
67 |
+ ) |
68 |
+ |
69 |
+ if use elogind ; then |
70 |
+ emesonargs+=( -Dlibseat-logind=elogind ) |
71 |
+ elif use systemd; then |
72 |
+ emesonargs+=( -Dlibseat-logind=systemd ) |
73 |
+ else |
74 |
+ emesonargs+=( -Dlibseat-logind=disabled ) |
75 |
+ fi |
76 |
+ |
77 |
+ meson_src_configure |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ meson_src_install |
82 |
+ |
83 |
+ if use server; then |
84 |
+ newinitd "${FILESDIR}/seatd.initd" seatd |
85 |
+ systemd_dounit contrib/systemd/seatd.service |
86 |
+ fi |
87 |
+} |