From fb6990d15652c3760a5896d20238637c130f0208 Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Sat, 18 Jan 2020 01:40:11 +0100 Subject: [PATCH] telegram-desktop: add patch for rlottie detection --- .../patches/rlottie-pkgconfig.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/telegram-desktop/patches/rlottie-pkgconfig.patch diff --git a/srcpkgs/telegram-desktop/patches/rlottie-pkgconfig.patch b/srcpkgs/telegram-desktop/patches/rlottie-pkgconfig.patch new file mode 100644 index 0000000000..63eef05402 --- /dev/null +++ b/srcpkgs/telegram-desktop/patches/rlottie-pkgconfig.patch @@ -0,0 +1,14 @@ +--- cmake/external/rlottie/CMakeLists.txt 2020-01-17 18:21:17.000000000 +0100 ++++ - 2020-01-18 00:37:40.280438388 +0100 +@@ -8,8 +8,9 @@ + add_library(external_rlottie INTERFACE IMPORTED GLOBAL) + add_library(desktop-app::external_rlottie ALIAS external_rlottie) + +- find_package(rlottie REQUIRED) +- target_link_libraries(external_rlottie INTERFACE rlottie::rlottie) ++ find_package(PkgConfig REQUIRED) ++ pkg_check_modules(RLOTTIE REQUIRED rlottie) ++ target_link_libraries(external_rlottie INTERFACE ${RLOTTIE_LIBRARIES}) + else() + add_library(external_rlottie OBJECT) + add_library(desktop-app::external_rlottie ALIAS external_rlottie)