From abf711032c7b4efeafaed1f34c5a8627d2637618 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 16 Aug 2020 21:19:03 +0200 Subject: [PATCH] telegram-desktop: fix build --- .../patches/cmake-pkgconfig-rlottie.patch | 17 ----------------- srcpkgs/telegram-desktop/template | 3 ++- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/telegram-desktop/patches/cmake-pkgconfig-rlottie.patch diff --git a/srcpkgs/telegram-desktop/patches/cmake-pkgconfig-rlottie.patch b/srcpkgs/telegram-desktop/patches/cmake-pkgconfig-rlottie.patch deleted file mode 100644 index 2da8e5b8f6b..00000000000 --- a/srcpkgs/telegram-desktop/patches/cmake-pkgconfig-rlottie.patch +++ /dev/null @@ -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) diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template index aed3f99d96f..0ad53f6cfdb 100644 --- a/srcpkgs/telegram-desktop/template +++ b/srcpkgs/telegram-desktop/template @@ -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