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