mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-24 14:16:15 +00:00
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
diff -uNr ki18n-5.99.0/CMakeLists.txt ki18n-5.99.0.mod/CMakeLists.txt
|
|
--- ki18n-5.99.0/CMakeLists.txt 2022-10-01 22:18:23.000000000 +0800
|
|
+++ ki18n-5.99.0.mod/CMakeLists.txt 2022-11-12 17:23:45.468158748 +0800
|
|
@@ -44,9 +44,6 @@
|
|
if (BUILD_WITH_QML)
|
|
find_package(Qt${QT_MAJOR_VERSION}Qml ${REQUIRED_QT_VERSION} CONFIG REQUIRED)
|
|
endif()
|
|
-if (ANDROID AND QT_MAJOR_VERSION EQUAL "5")
|
|
- find_package(Qt5AndroidExtras ${REQUIRED_QT_VERSION} CONFIG REQUIRED)
|
|
-endif()
|
|
|
|
find_package(LibIntl)
|
|
set_package_properties(LibIntl PROPERTIES TYPE REQUIRED
|
|
diff -uNr ki18n-5.99.0/src/i18n/CMakeLists.txt ki18n-5.99.0.mod/src/i18n/CMakeLists.txt
|
|
--- ki18n-5.99.0/src/i18n/CMakeLists.txt 2022-10-01 22:18:23.000000000 +0800
|
|
+++ ki18n-5.99.0.mod/src/i18n/CMakeLists.txt 2022-11-12 17:24:30.248158731 +0800
|
|
@@ -47,9 +47,6 @@
|
|
# This is only required for platforms which don't use glibc (with glibc LibIntl_LIBRARIES will be empty)
|
|
target_link_libraries(KF5I18n PRIVATE ${LibIntl_LIBRARIES})
|
|
if (ANDROID)
|
|
- if (QT_MAJOR_VERSION EQUAL "5")
|
|
- target_link_libraries(KF5I18n PRIVATE Qt5::AndroidExtras)
|
|
- endif()
|
|
target_link_libraries(KF5I18n PRIVATE android)
|
|
endif()
|
|
target_compile_options(KF5I18n PRIVATE -DTRANSLATION_DOMAIN=\"ki18n5\")
|