net-misc/megasync: add 5.10.0.2

Reintroduce dolphin USE flag with Qt6 support.

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2025-04-03 23:48:21 +09:00
parent a7c04ef30a
commit 4eeffbe6e9
4 changed files with 204 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
Add missing zlib links.
```
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: src/MEGASync/mega/tools/gfxworker/liblibgfxworker.a(logger.cpp.o): undefined reference to symbol 'gzputs'
```
--- a/src/MEGASync/control/control.cmake
+++ b/src/MEGASync/control/control.cmake
@@ -100,6 +100,9 @@ set(DESKTOP_APP_CONTROL_SOURCES
${CMAKE_CURRENT_LIST_DIR}/UsersUpdateListener.cpp
)
+find_package(ZLIB REQUIRED)
+target_link_libraries(${ExecutableTarget} PRIVATE ZLIB::ZLIB)
+
target_sources(${ExecutableTarget}
PRIVATE
${DESKTOP_APP_CONTROL_HEADERS}
--- a/src/MEGASync/mega/tools/gfxworker/CMakeLists.txt
+++ b/src/MEGASync/mega/tools/gfxworker/CMakeLists.txt
@@ -70,9 +70,11 @@ add_executable(gfxworker
src/main.cpp
)
+find_package(ZLIB REQUIRED)
target_link_libraries(gfxworker
PRIVATE
libgfxworker
+ ZLIB::ZLIB
)
# Adjust compilation flags for warnings and errors for gfxworker