commit:     dc8edaa92db78c8d861d15f2ee252ed1eb88141f
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon Dec  7 17:37:27 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 07:58:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8edaa9

sys-auth/seatd: Install systemd service file

Closes: https://bugs.gentoo.org/754657
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/18555
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-auth/seatd/{seatd-0.4.0.ebuild => seatd-0.4.0-r1.ebuild} | 4 ++--
 sys-auth/seatd/seatd-9999.ebuild                             | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-auth/seatd/seatd-0.4.0.ebuild 
b/sys-auth/seatd/seatd-0.4.0-r1.ebuild
similarity index 93%
rename from sys-auth/seatd/seatd-0.4.0.ebuild
rename to sys-auth/seatd/seatd-0.4.0-r1.ebuild
index 06bf3fce1be..ab311a6c598 100644
--- a/sys-auth/seatd/seatd-0.4.0.ebuild
+++ b/sys-auth/seatd/seatd-0.4.0-r1.ebuild
@@ -3,13 +3,12 @@
 
 EAPI=7
 
-inherit meson
+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="~amd64 ~arm64 ~ppc64 ~x86"
@@ -45,4 +44,5 @@ src_configure() {
 src_install() {
        meson_src_install
        newinitd "${FILESDIR}/seatd.initd" seatd
+       systemd_dounit contrib/systemd/seatd.service
 }

diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild
index 3d89eb8e867..ab311a6c598 100644
--- a/sys-auth/seatd/seatd-9999.ebuild
+++ b/sys-auth/seatd/seatd-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit meson
+inherit meson systemd
 
 DESCRIPTION="Minimal seat management daemon and universal library"
 HOMEPAGE="https://sr.ht/~kennylevinsen/seatd";
@@ -44,4 +44,5 @@ src_configure() {
 src_install() {
        meson_src_install
        newinitd "${FILESDIR}/seatd.initd" seatd
+       systemd_dounit contrib/systemd/seatd.service
 }

Reply via email to