telegram-desktop: fix cross builds

This commit is contained in:
John 2020-08-16 21:25:09 +02:00
parent abf711032c
commit 2176826e6f
2 changed files with 10 additions and 4 deletions

View File

@ -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)

View File

@ -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
}