logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: 72f3dad948f0925c6d89527a0612ccbf0e0d3dc8
parent 39770304d615256fde54a55a918ea99dd3bde38b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 20 Oct 2020 07:30:05 +0200

sys-auth/seatd: Version clean-bump, 0.4.0

Diffstat:

Msys-auth/seatd/Manifest2+-
Dsys-auth/seatd/seatd-0.3.0.ebuild40----------------------------------------
Asys-auth/seatd/seatd-0.4.0.ebuild47+++++++++++++++++++++++++++++++++++++++++++++++
Msys-auth/seatd/seatd-9999.ebuild23+++++++++++++++--------
4 files changed, 63 insertions(+), 49 deletions(-)

diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest @@ -1 +1 @@ -DIST seatd-0.3.0.tar.gz 32678 BLAKE2B fccc3e6247c60d73dcc19c7982fccaf20cb3805e6de2422ef771661ab38bb83c0c2820c1fc83b54787901790e7035c20d2a85a358ded1b79e199bb7c3a2efd4c SHA512 e01294e7ef8aa7c009757f593ca9dfa038e80c66bf2c600a98eb53463bb4869df9253a7b1a9fbb819db1e2f0977aaa448e8e1bb83441adca7d2c0df99e507ab2 +DIST seatd-0.4.0.tar.gz 34242 BLAKE2B 295ee18736b5f7e1b06013d00514321aad5fb09c285690cfbd78833a9efbfeb2cfaef69c075fb096fedaac42ff249ee1a43593dbd03132770c1be293ffe7ddc1 SHA512 498ab4040c19ff90842bf82f580ba24c2c98e0aded7ba636dcffc80f6bfd8869eec3e87e784455b66e2b69786b2fc6e7315b2867effa825440759d58e391378c diff --git a/sys-auth/seatd/seatd-0.3.0.ebuild b/sys-auth/seatd/seatd-0.3.0.ebuild @@ -1,40 +0,0 @@ -# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# 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://git.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="examples logind" - -DEPEND="logind? ( || ( sys-auth/elogind sys-apps/systemd ) )" -RDEPEND="${DEPEND}" -BDEPEND="app-text/scdoc" - -src_configure() { - local emesonargs=( - -Dman-pages=enabled - $(meson_feature examples) - $(meson_feature logind) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - newinitd "${FILESDIR}/seatd.initd" seatd -} diff --git a/sys-auth/seatd/seatd-0.4.0.ebuild 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 @@ -1,4 +1,4 @@ -# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Copyright 2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 inherit meson DESCRIPTION="Minimal seat management daemon and universal library" -HOMEPAGE="https://git.sr.ht/~kennylevinsen/seatd" +HOMEPAGE="https://sr.ht/~kennylevinsen/seatd" if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -17,24 +17,31 @@ else fi LICENSE="MIT" SLOT="0/1" -IUSE="examples logind" +IUSE="elogind systemd" +REQUIRED_USE="?? ( elogind systemd )" -DEPEND="logind? ( || ( sys-auth/elogind sys-apps/systemd ) )" +DEPEND=" + elogind? ( sys-auth/elogind ) + systemd? ( sys-apps/systemd ) +" RDEPEND="${DEPEND}" -BDEPEND="app-text/scdoc" +BDEPEND=">=app-text/scdoc-1.9.7" src_configure() { local emesonargs=( -Dman-pages=enabled - $(meson_feature examples) - $(meson_feature logind) ) + 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 }