ustreamer: add systemd support
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user