diff options
author | Esteve Varela Colominas <esteve.varela@gmail.com> | 2021-08-13 09:41:55 +0200 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-08-13 16:29:50 -0700 |
commit | 1e74d5871b7aff2cd35b2fce381aa65b7df39fac (patch) | |
tree | ff35f304f69d66f6bbd74cfa297ea2d002665562 /net-im/telegram-desktop/files | |
parent | media-video/mjpg-streamer: fix IncorrectCopyright (diff) | |
download | gentoo-1e74d5871b7aff2cd35b2fce381aa65b7df39fac.tar.gz gentoo-1e74d5871b7aff2cd35b2fce381aa65b7df39fac.tar.bz2 gentoo-1e74d5871b7aff2cd35b2fce381aa65b7df39fac.zip |
net-im/telegram-desktop: Fix building with tg_owt[-screencast]
Removed a patch from tg_owt forgetting it actually refused to build
without. Upstream's current solution is a patch in telegram-desktop
itself.
Closes: https://bugs.gentoo.org/807907
Thanks-to: Teun Blok <gomezloper@msn.com>
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21974
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop/files')
-rw-r--r-- | net-im/telegram-desktop/files/tdesktop-2.8.11-fix-build-without-pipewire.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/tdesktop-2.8.11-fix-build-without-pipewire.patch b/net-im/telegram-desktop/files/tdesktop-2.8.11-fix-build-without-pipewire.patch new file mode 100644 index 000000000000..ecfc63abeb58 --- /dev/null +++ b/net-im/telegram-desktop/files/tdesktop-2.8.11-fix-build-without-pipewire.patch @@ -0,0 +1,26 @@ +Fix build without pipewire + +set_allow_pipewire isn't available if WEBRTC_USE_PIPEWIRE isn't set + +--- tdesktop-2.8.11-full.orig/Telegram/ThirdParty/tgcalls/tgcalls/desktop_capturer/DesktopCaptureSourceHelper.cpp ++++ tdesktop-2.8.11-full/Telegram/ThirdParty/tgcalls/tgcalls/desktop_capturer/DesktopCaptureSourceHelper.cpp +@@ -286,7 +286,7 @@ + options.set_allow_use_magnification_api(false); + #elif defined WEBRTC_MAC + options.set_allow_iosurface(true); +-#elif defined WEBRTC_LINUX ++#elif defined WEBRTC_USE_PIPEWIRE + options.set_allow_pipewire(true); + #endif // WEBRTC_WIN || WEBRTC_MAC + +--- tdesktop-2.8.11-full.orig/Telegram/ThirdParty/tgcalls/tgcalls/desktop_capturer/DesktopCaptureSourceManager.cpp ++++ tdesktop-2.8.11-full/Telegram/ThirdParty/tgcalls/tgcalls/desktop_capturer/DesktopCaptureSourceManager.cpp +@@ -33,7 +33,7 @@ + result.set_allow_use_magnification_api(false); + #elif defined WEBRTC_MAC + result.set_allow_iosurface(type == DesktopCaptureType::Screen); +-#elif defined WEBRTC_LINUX ++#elif defined WEBRTC_USE_PIPEWIRE + result.set_allow_pipewire(true); + #endif // WEBRTC_WIN || WEBRTC_MAC + result.set_detect_updated_region(true); |