1
0
telegram-desktop/0001-use-bundled-ranged-exptected-gsl.patch
Xu Zhao 2454d5f6e6 Accepting request 951351 from home:tux93:branches:server:messaging
- Update to 3.5.0
  * Use a new type of detailed stickers with smooth animations.
  * Create new sets by sending .webm videos to @stickers.
  * Bring your custom animated stickers from other apps.
  * See smaller, compact animations when reacting to messages.
  * See real-time animations in chat when a user reacts to your message.
  * React with additional emoji expressing love, appreciation,
    anger or surprise.
  * Tap the new button in chats to jump to your messages that have
    unseen reactions.
  * Watch the animations for unseen reactions play when you
    hit the button.
  * The app will warn you before closing if you are uploading
    photos or files to a chat.
  * Enjoy better screencast quality in video chats.
- Update tg_owt
- Rebase patches

OBS-URL: https://build.opensuse.org/request/show/951351
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=213
2022-02-03 17:00:29 +00:00

45 lines
1.5 KiB
Diff

--- a/cmake/external/expected/CMakeLists.txt
+++ b/cmake/external/expected/CMakeLists.txt
@@ -7,7 +7,7 @@
add_library(external_expected INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_expected ALIAS external_expected)
-if (DESKTOP_APP_USE_PACKAGED)
+if (NOT DESKTOP_APP_USE_PACKAGED)
if (DESKTOP_APP_USE_PACKAGED_LAZY)
find_package(tl-expected QUIET)
else()
--- a/cmake/external/gsl/CMakeLists.txt
+++ b/cmake/external/gsl/CMakeLists.txt
@@ -7,7 +7,7 @@
add_library(external_gsl INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_gsl ALIAS external_gsl)
-if (DESKTOP_APP_USE_PACKAGED)
+if (NOT DESKTOP_APP_USE_PACKAGED)
if (DESKTOP_APP_USE_PACKAGED_LAZY)
find_package(Microsoft.GSL QUIET)
else()
--- a/cmake/external/ranges/CMakeLists.txt
+++ b/cmake/external/ranges/CMakeLists.txt
@@ -7,7 +7,7 @@
add_library(external_ranges INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_ranges ALIAS external_ranges)
-if (DESKTOP_APP_USE_PACKAGED)
+if (NOT DESKTOP_APP_USE_PACKAGED)
if (DESKTOP_APP_USE_PACKAGED_LAZY)
find_package(range-v3 QUIET)
else()
--- a/cmake/external/webrtc/CMakeLists.txt
+++ b/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()