From 068424b26532f3551a81421a9be67ed206e5c11a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Aug 2021 07:02:28 +0100 Subject: gentoo resync : 11.08.2021 --- sys-auth/seatd/seatd-9999.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'sys-auth/seatd/seatd-9999.ebuild') 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 } -- cgit v1.2.3