forked from pool/telegram-desktop
ce16fa07ed
- Update to 2.4.1 * Move by PageUp and PageDown in channel comments. * Several layout bugfixes. * Several crashfixes. - Update to 2.4.0 * Turn on "Remain Anonymous" in an admin's Permissions to let them post on behalf of the group and become invisible in the list of members. * Comment on posts in channels that have a discussion group. * Get notified about replies to your comments via the new Replies chat (if you are not a member of the discussion group). - Remove check_if_xcb-screensaver_present.patch, obsolete - Update tg_owt and patches OBS-URL: https://build.opensuse.org/request/show/839130 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=157
67 lines
2.7 KiB
Diff
67 lines
2.7 KiB
Diff
diff --git a/tdesktop-2.3.2-full/cmake/external/expected/CMakeLists.txt b/tdesktop-2.3.2-full-patched/cmake/external/expected/CMakeLists.txt
|
|
index 10c2c26..fddfbb4 100644
|
|
--- a/tdesktop-2.3.2-full/cmake/external/expected/CMakeLists.txt
|
|
+++ b/tdesktop-2.3.2-full-patched/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()
|
|
diff --git a/tdesktop-2.3.2-full/cmake/external/gsl/CMakeLists.txt b/tdesktop-2.3.2-full-patched/cmake/external/gsl/CMakeLists.txt
|
|
index b03be4f..80c0e07 100644
|
|
--- a/tdesktop-2.3.2-full/cmake/external/gsl/CMakeLists.txt
|
|
+++ b/tdesktop-2.3.2-full-patched/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()
|
|
diff --git a/tdesktop-2.3.2-full/cmake/external/ranges/CMakeLists.txt b/tdesktop-2.3.2-full-patched/cmake/external/ranges/CMakeLists.txt
|
|
index 5a584dd..9b9049f 100644
|
|
--- a/tdesktop-2.3.2-full/cmake/external/ranges/CMakeLists.txt
|
|
+++ b/tdesktop-2.3.2-full-patched/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()
|
|
@@ -32,4 +32,4 @@ if (NOT range-v3_FOUND)
|
|
/wd5105 # needed for `/Zc:preprocessor`, suppressing C5105 "macro expansion producing 'defined' has undefined behavior"
|
|
)
|
|
endif()
|
|
-endif()
|
|
\ No newline at end of file
|
|
+endif()
|
|
diff --git a/tdesktop-2.3.2-full/cmake/external/webrtc/CMakeLists.txt b/tdesktop-2.3.2-full-patched/cmake/external/webrtc/CMakeLists.txt
|
|
index 1273291..1dd8ae6 100644
|
|
--- a/tdesktop-2.3.2-full/cmake/external/webrtc/CMakeLists.txt
|
|
+++ b/tdesktop-2.3.2-full-patched/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)
|
|
else()
|
|
@@ -98,5 +98,6 @@ else()
|
|
INTERFACE
|
|
${webrtc_libs_list}
|
|
desktop-app::external_openssl
|
|
+ jpeg
|
|
)
|
|
endif()
|