diff options
author | Greg Depoire--Ferrer <greg.depoire@gmail.com> | 2021-08-04 12:37:52 +0200 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-08-07 04:24:50 -0400 |
commit | 9968e5f499f170ea40abe8996cb63f94e2e52a8c (patch) | |
tree | 20b27d6e94192ee1afe5252c672457773179df1b /sys-auth/seatd/seatd-9999.ebuild | |
parent | www-client/opera: remove old (diff) | |
download | gentoo-9968e5f499f170ea40abe8996cb63f94e2e52a8c.tar.gz gentoo-9968e5f499f170ea40abe8996cb63f94e2e52a8c.tar.bz2 gentoo-9968e5f499f170ea40abe8996cb63f94e2e52a8c.zip |
sys-auth/seatd: Add builtin and server IUSE flags
The builtin flag is for enabling the embedded server backend in libseat that
doesn't require starting a standalone server. It was disabled in the package
previously but some users might want to enable it.
The `server` flag is for enabling the standalone server. It was enabled in
the package previously but some users might want to disable it.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Greg Depoire--Ferrer <greg.depoire@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21877
Acked-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'sys-auth/seatd/seatd-9999.ebuild')
-rw-r--r-- | sys-auth/seatd/seatd-9999.ebuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild index ab311a6c5986..c826e115f27c 100644 --- a/sys-auth/seatd/seatd-9999.ebuild +++ b/sys-auth/seatd/seatd-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ else fi LICENSE="MIT" SLOT="0/1" -IUSE="elogind systemd" +IUSE="builtin elogind +server systemd" REQUIRED_USE="?? ( elogind systemd )" DEPEND=" @@ -30,6 +30,8 @@ src_configure() { local emesonargs=( -Dman-pages=enabled -Dwerror=false + $(meson_feature builtin libseat-builtin) + $(meson_feature server) ) if use elogind || use systemd; then @@ -43,6 +45,9 @@ src_configure() { src_install() { meson_src_install - newinitd "${FILESDIR}/seatd.initd" seatd - systemd_dounit contrib/systemd/seatd.service + + if use server; then + newinitd "${FILESDIR}/seatd.initd" seatd + systemd_dounit contrib/systemd/seatd.service + fi } |