From 2176826e6f30c99d95d60851715ff946e80b045c Mon Sep 17 00:00:00 2001 From: John Date: Sun, 16 Aug 2020 21:25:09 +0200 Subject: [PATCH] telegram-desktop: fix cross builds --- srcpkgs/telegram-desktop/patches/rlottie.patch | 10 ++++++++++ srcpkgs/telegram-desktop/template | 4 ---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/telegram-desktop/patches/rlottie.patch diff --git a/srcpkgs/telegram-desktop/patches/rlottie.patch b/srcpkgs/telegram-desktop/patches/rlottie.patch new file mode 100644 index 00000000000..0bf968499fb --- /dev/null +++ b/srcpkgs/telegram-desktop/patches/rlottie.patch @@ -0,0 +1,10 @@ +--- cmake/external/rlottie/CMakeLists.txt 2020-08-11 15:21:17.000000000 +0200 ++++ - 2020-08-16 21:24:45.680173438 +0200 +@@ -8,7 +8,6 @@ + add_library(desktop-app::external_rlottie ALIAS external_rlottie) + + if (DESKTOP_APP_USE_PACKAGED) +- find_package(rlottie QUIET) + + if (rlottie_FOUND) + target_link_libraries(external_rlottie INTERFACE rlottie::rlottie) diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template index 0ad53f6cfdb..cb6c593e019 100644 --- a/srcpkgs/telegram-desktop/template +++ b/srcpkgs/telegram-desktop/template @@ -58,8 +58,4 @@ post_extract() { msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n" exit 1 fi - if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then - vsed -e '/desktop-app::external_openal/ a atomic' \ - -i Telegram/CMakeLists.txt - fi }