From f0b7e281f57b9a38e55dce861f44a4a843a8d217 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 6 Sep 2022 23:07:01 +0200 Subject: [PATCH] Use static gstreamer plugins --- CMakeLists.txt | 6 +++++- io.github.NhekoReborn.Nheko.yaml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a2989880..b4bacdb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -593,7 +593,11 @@ endif() if (VOIP) include(FindPkgConfig) - pkg_check_modules(GSTREAMER REQUIRED IMPORTED_TARGET gstreamer-sdp-1.0>=1.18 gstreamer-webrtc-1.0>=1.18) + if (FLATPAK) + pkg_check_modules(GSTREAMER REQUIRED IMPORTED_TARGET gstreamer-full-1.0>=1.20) + else() + pkg_check_modules(GSTREAMER REQUIRED IMPORTED_TARGET gstreamer-sdp-1.0>=1.18 gstreamer-webrtc-1.0>=1.18) + endif() if (SCREENSHARE_X11 AND NOT WIN32 AND NOT APPLE) pkg_check_modules(XCB REQUIRED IMPORTED_TARGET xcb xcb-ewmh) endif() diff --git a/io.github.NhekoReborn.Nheko.yaml b/io.github.NhekoReborn.Nheko.yaml index 241036c4..3edeba88 100644 --- a/io.github.NhekoReborn.Nheko.yaml +++ b/io.github.NhekoReborn.Nheko.yaml @@ -175,6 +175,7 @@ modules: - -Dgst-plugins-bad:srtp=enabled - -Dgst-plugins-bad:webrtc=enabled - -Dgst-plugins-bad:flite=disabled + - --default-library=static - buildsystem: qmake name: qt-jdenticon no-make-install: true