commit: 92023522bbdc8ac4f1c4943398d80b08f6015efc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 13:08:53 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 13:10:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92023522
sys-auth/rtkit: add 0.14
It has been revived and moved into the PipeWire umbrella.
Note that we do need xxd now as while the patch from Marecki was merged
upstream, there isn't a dist tarball available. But xxd is now a standalone
package so it's not so bad.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-auth/rtkit/Manifest | 1 +
sys-auth/rtkit/metadata.xml | 2 +-
sys-auth/rtkit/rtkit-0.14.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 56 insertions(+), 1 deletion(-)
diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
index 85ac152341da..4ff270c992d3 100644
--- a/sys-auth/rtkit/Manifest
+++ b/sys-auth/rtkit/Manifest
@@ -1 +1,2 @@
DIST rtkit-0.13.tar.xz 130796 BLAKE2B
842d04556a47c199bed9fc6bc9281c0d88f83e183f01ef57ecbd80ce72949a301d6682a3aab96e996e71b82d8e8c7a85e1d44524f2ed6fbdffc6bf236cdcadaa
SHA512
c058d770a4ccfdf4e2e3a713748b6a705b6d3e148a903b9dbba4bba9d3ded2b819d7dfbfa37b9fad78e57c0a5f10f2f94226f8738f666e692a085ab297a36b36
+DIST rtkit-v0.14.tar.bz2 41311 BLAKE2B
824bd873e09138ad0b8bac9509db81db5d777310a5d6709e3cc9816befef2e88403ec6e576114b397086c414c048a29a0ba567d0407f28cb433b33e68da877a6
SHA512
ad2cf2b850536ed8e9d03768ce5073fa42da0b1244ea1e70705b9244513b87512918549b8657a4a2132345c8b74e9dc452eca628bb252b1a621a7ab7ccb38c7b
diff --git a/sys-auth/rtkit/metadata.xml b/sys-auth/rtkit/metadata.xml
index 29358ddb98c2..830a84a5a4ac 100644
--- a/sys-auth/rtkit/metadata.xml
+++ b/sys-auth/rtkit/metadata.xml
@@ -8,6 +8,6 @@
rlimits, etc.
</longdescription>
<upstream>
- <remote-id type="github">heftig/rtkit</remote-id>
+ <remote-id type="freedesktop-gitlab">pipewire/rtkit</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sys-auth/rtkit/rtkit-0.14.ebuild b/sys-auth/rtkit/rtkit-0.14.ebuild
new file mode 100644
index 000000000000..aa879b2834df
--- /dev/null
+++ b/sys-auth/rtkit/rtkit-0.14.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info meson systemd
+
+MY_P=${PN}-v${PV}
+DESCRIPTION="Realtime Policy and Watchdog Daemon"
+HOMEPAGE="https://gitlab.freedesktop.org/pipewire/rtkit"
+SRC_URI="https://gitlab.freedesktop.org/pipewire/rtkit/-/archive/v${PV}/${MY_P}.tar.bz2"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-3 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc
~x86"
+IUSE="selinux systemd"
+
+DEPEND="
+ acct-group/rtkit
+ acct-user/rtkit
+ sys-apps/dbus
+ sys-auth/polkit
+ sys-libs/libcap
+ systemd? ( sys-apps/systemd )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-rtkit )
+"
+BDEPEND="
+ dev-util/xxd
+ virtual/pkgconfig
+"
+
+pkg_pretend() {
+ if use kernel_linux; then
+ CONFIG_CHECK="~!RT_GROUP_SCHED"
+ ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled.
rtkit-daemon (or any other "
+ ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run
as root. Please consider "
+ ERROR_RT_GROUP_SCHED+="unsetting this option."
+ check_extra_config
+ fi
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dinstalled_tests=false
+ $(meson_feature systemd libsystemd)
+ -Dsystemd_systemunitdir="$(systemd_get_systemunitdir)"
+ )
+
+ meson_src_configure
+}