1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add rtkit.

* gnu/packages/freedesktop.scm (rtkit): New variable.

Change-Id: I2d0015de7e5806311f19e17952f2fe852fb90bb6
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
陈功
2026-03-12 08:49:53 -07:00
committed by Liliana Marie Prikler
parent cc4c1633ff
commit 9bfbf735b9

View File

@@ -147,6 +147,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages video)
#:use-module (gnu packages vim)
#:use-module (gnu packages virtualization)
#:use-module (gnu packages vulkan)
#:use-module (gnu packages w3m)
@@ -3604,3 +3605,37 @@ implements the decoration drawing.")
(description
"@code{iio-sensor-proxy} is a daemon which passes IIO sensor data to D-Bus.")
(license license:gpl3+)))
(define-public rtkit
(package
(name "rtkit")
(version "0.14")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.freedesktop.org/pipewire/rtkit.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "07swd78aglawfddc1zjx5v8scm85q1qpmahjskh8hn6lfr47dpnb"))))
(build-system meson-build-system)
(inputs (list dbus libcap polkit xxd))
(native-inputs (list pkg-config))
(arguments
(list
#:configure-flags
#~(list (string-append "-Ddbus_interfacedir="
#$output "/share/dbus-1/interfaces")
(string-append "-Ddbus_systemservicedir="
#$output "/share/dbus-1/system-services")
(string-append "-Dpolkit_actiondir="
#$output "/share/polkit-1/actions"))))
(home-page "https://gitlab.freedesktop.org/pipewire/rtkit")
(synopsis "Realtime Policy and Watchdog Daemon")
(description
"RealtimeKit is a D-Bus system service that changes the scheduling policy
of user processes and threads to SCHED_RR (i.e. realtime scheduling mode) on
request. It is intended to be used as a secure mechanism to allow real-time
scheduling to be used by normal user processes.")
(license license:gpl3)))