telegram-desktop/0001-use-bundled-webrtc.patch
Xu Zhao 9a881aade6 - Remove patches
* 0001-use-bundled-webrtc.patch
  * 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch
  * 0003-revert-webrtc-cmake-target-file.patch
  * 0004-use-dynamic-x-libraries.patch
  * 0005-use-bundled-ada.patch
  * 0006-tdesktop-disable-h264.patch
  * 0007-tg_owt-h264-dlopen.patch
- Add patches
  * 0001-dynamic-link-x.patch
  * 0002-tg_owt-h264-dlopen.patch

OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=344
2025-01-18 14:19:29 +00:00

14 lines
582 B
Diff

Index: tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt
===================================================================
--- tdesktop-4.4.0-full.orig/cmake/external/webrtc/CMakeLists.txt
+++ tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt
@@ -7,7 +7,7 @@
add_library(external_webrtc INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_webrtc ALIAS external_webrtc)
-if (DESKTOP_APP_USE_PACKAGED)
+if (NOT DESKTOP_APP_USE_PACKAGED)
find_package(tg_owt REQUIRED)
target_link_libraries(external_webrtc INTERFACE tg_owt::tg_owt)
return()