ustreamer: add systemd support

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2024-12-24 12:36:51 +01:00
parent 6fc23f57fb
commit 5f5f70d192
+8
View File
@@ -14,6 +14,8 @@
jansson,
libopus,
nixosTests,
systemdLibs,
withSystemd ? true,
withJanus ? true,
}:
stdenv.mkDerivation rec {
@@ -34,6 +36,9 @@ stdenv.mkDerivation rec {
libjpeg
libdrm
]
++ lib.optionals withSystemd [
systemdLibs
]
++ lib.optionals withJanus [
janus-gateway
glib
@@ -50,6 +55,9 @@ stdenv.mkDerivation rec {
"PREFIX=${placeholder "out"}"
"WITH_V4P=1"
]
++ lib.optionals withSystemd [
"WITH_SYSTEMD=1"
]
++ lib.optionals withJanus [
"WITH_JANUS=1"
# Workaround issues with Janus C Headers