telegram-desktop: fix build
This commit is contained in:
parent
cd79ca42af
commit
abf711032c
2 changed files with 2 additions and 18 deletions
|
@ -1,17 +0,0 @@
|
|||
--- cmake/external/rlottie/CMakeLists.txt 2020-06-17 18:07:24.000000000 +0200
|
||||
+++ - 2020-06-19 10:17:31.071247004 +0200
|
||||
@@ -8,14 +8,9 @@
|
||||
add_library(external_rlottie INTERFACE IMPORTED GLOBAL)
|
||||
add_library(desktop-app::external_rlottie ALIAS external_rlottie)
|
||||
|
||||
- find_package(rlottie)
|
||||
- if (rlottie_FOUND)
|
||||
- target_link_libraries(external_rlottie INTERFACE rlottie::rlottie)
|
||||
- else()
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(RLOTTIE REQUIRED IMPORTED_TARGET rlottie)
|
||||
target_link_libraries(external_rlottie INTERFACE PkgConfig::RLOTTIE)
|
||||
- endif()
|
||||
else()
|
||||
add_library(external_rlottie OBJECT)
|
||||
add_library(desktop-app::external_rlottie ALIAS external_rlottie)
|
|
@ -15,7 +15,8 @@ configure_args="-DTDESKTOP_API_ID=209235
|
|||
-DDESKTOP_APP_USE_PACKAGED_EXPECTED=OFF
|
||||
-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF
|
||||
-DDESKTOP_APP_USE_PACKAGED_GSL=OFF
|
||||
-DDESKTOP_APP_DISABLE_SPELLCHECK=$(vopt_if spellcheck 'false' 'true')"
|
||||
-DDESKTOP_APP_DISABLE_SPELLCHECK=$(vopt_if spellcheck 'false' 'true')
|
||||
-DDESKTOP_APP_DISABLE_WEBRTC_INTEGRATION=ON"
|
||||
hostmakedepends="pkg-config qt5-qmake qt5-host-tools python"
|
||||
makedepends="alsa-lib-devel ffmpeg-devel libdbusmenu-glib-devel libopenal-devel
|
||||
minizip-devel opus-devel xxHash-devel pulseaudio-devel qt5-devel range-v3
|
||||
|
|
Loading…
Reference in a new issue