diff options
Diffstat (limited to 'sys-auth/seatd')
-rw-r--r-- | sys-auth/seatd/Manifest | 2 | ||||
-rw-r--r-- | sys-auth/seatd/files/seatd.initd-r1 | 4 | ||||
-rw-r--r-- | sys-auth/seatd/seatd-0.7.0.ebuild | 56 | ||||
-rw-r--r-- | sys-auth/seatd/seatd-0.8.0.ebuild (renamed from sys-auth/seatd/seatd-0.7.0-r1.ebuild) | 14 | ||||
-rw-r--r-- | sys-auth/seatd/seatd-9999.ebuild | 14 |
5 files changed, 25 insertions, 65 deletions
diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest index cbad969e380b..a5d51ded54e6 100644 --- a/sys-auth/seatd/Manifest +++ b/sys-auth/seatd/Manifest @@ -1 +1 @@ -DIST seatd-0.7.0.tar.gz 39198 BLAKE2B eddae25b353a5ff4da8aa8b41ead6e6ebab6ffa321376887769cbaf22c3c1b8448d84758749714b82d6ca2d602f2140042634bbeb9312449d8ac207b3774851e SHA512 c81c43994b92672a388bf255edb1fe24d3dba7ece2eb35f9fedc05cc0b8e464e9167ffed037645c4072430fe7b3b8fc80cc99f21fb5100654b5dd23a94742e66 +DIST seatd-0.8.0.tar.gz 39349 BLAKE2B 920270808f28c85badb173af22edb03960f2b9cdce5af3124c64fe68c52a77f002272d2f19e97d107303c55ad6de498d279f6b05311793270c6ee84565fc435e SHA512 93b1e5c170564ce9654e4df9985af95cb505274b36e950998bb1f16803d2d46712140eded2bdd8d5e85aec62070afd9c224184276d79a0ff0813408dfc472db7 diff --git a/sys-auth/seatd/files/seatd.initd-r1 b/sys-auth/seatd/files/seatd.initd-r1 new file mode 100644 index 000000000000..a71a9c480aca --- /dev/null +++ b/sys-auth/seatd/files/seatd.initd-r1 @@ -0,0 +1,4 @@ +#!/sbin/openrc-run +supervisor=supervise-daemon +command="seatd" +command_args="-g seat" diff --git a/sys-auth/seatd/seatd-0.7.0.ebuild b/sys-auth/seatd/seatd-0.7.0.ebuild deleted file mode 100644 index 38a16a371fb9..000000000000 --- a/sys-auth/seatd/seatd-0.7.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 arm arm64 ~loong ppc64 ~riscv x86" - SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" -fi -LICENSE="MIT" -SLOT="0/1" -IUSE="builtin elogind +server systemd" -REQUIRED_USE="?? ( elogind systemd )" - -DEPEND=" - elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) -" -RDEPEND="${DEPEND} - server? ( acct-group/seat ) -" -BDEPEND=">=app-text/scdoc-1.9.7" - -src_configure() { - local emesonargs=( - -Dman-pages=enabled - $(meson_feature builtin libseat-builtin) - $(meson_feature server) - ) - - if use elogind ; then - emesonargs+=( -Dlibseat-logind=elogind ) - elif use systemd; then - emesonargs+=( -Dlibseat-logind=systemd ) - else - emesonargs+=( -Dlibseat-logind=disabled ) - fi - - meson_src_configure -} - -src_install() { - meson_src_install - - if use server; then - newinitd "${FILESDIR}/seatd.initd" seatd - systemd_dounit contrib/systemd/seatd.service - fi -} diff --git a/sys-auth/seatd/seatd-0.7.0-r1.ebuild b/sys-auth/seatd/seatd-0.8.0.ebuild index a3351b9b2463..53eba7e7658c 100644 --- a/sys-auth/seatd/seatd-0.7.0-r1.ebuild +++ b/sys-auth/seatd/seatd-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd" else - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86" SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" fi LICENSE="MIT" @@ -21,7 +21,7 @@ REQUIRED_USE="?? ( elogind systemd )" DEPEND=" elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) + systemd? ( sys-apps/systemd:= ) " RDEPEND="${DEPEND} server? ( acct-group/seat ) @@ -50,7 +50,13 @@ src_install() { meson_src_install if use server; then - newinitd "${FILESDIR}/seatd.initd" seatd + newinitd "${FILESDIR}/seatd.initd-r1" seatd systemd_dounit contrib/systemd/seatd.service + + if has_version '<sys-auth/seatd-0.7.0-r2'; then + elog "For OpenRC users: seatd is now using the 'seat' group instead of the 'video' group" + elog "Make sure your user(s) are in the 'seat' group." + elog "Note: 'video' is still needed for GPU access like OpenGL" + fi fi } diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild index a3351b9b2463..a9bfcfa000ff 100644 --- a/sys-auth/seatd/seatd-9999.ebuild +++ b/sys-auth/seatd/seatd-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd" else - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" fi LICENSE="MIT" @@ -21,7 +21,7 @@ REQUIRED_USE="?? ( elogind systemd )" DEPEND=" elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) + systemd? ( sys-apps/systemd:= ) " RDEPEND="${DEPEND} server? ( acct-group/seat ) @@ -50,7 +50,13 @@ src_install() { meson_src_install if use server; then - newinitd "${FILESDIR}/seatd.initd" seatd + newinitd "${FILESDIR}/seatd.initd-r1" seatd systemd_dounit contrib/systemd/seatd.service + + if has_version '<sys-auth/seatd-0.7.0-r2'; then + elog "For OpenRC users: seatd is now using the 'seat' group instead of the 'video' group" + elog "Make sure your user(s) are in the 'seat' group." + elog "Note: 'video' is still needed for GPU access like OpenGL" + fi fi } |