gentoo-ebuilds/app-i18n/fcitx-configtool/files/fcitx-configtool-remove-unused-xkbfile.patch
jinqiang zhang 0e207efb77
app-i18n/fcitx-configtool: fix build with USE="-X"
Closes: https://github.com/gentoo/gentoo/pull/44371
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2025-10-29 10:24:17 +00:00

14 lines
647 B
Diff

xkbfile looks like an unused dependency, remove it to fix USE="-X" build
diff --git a/src/lib/configlib/CMakeLists.txt b/src/lib/configlib/CMakeLists.txt
index 6c257c6..1c204d7 100644
--- a/src/lib/configlib/CMakeLists.txt
+++ b/src/lib/configlib/CMakeLists.txt
@@ -19,6 +19,6 @@ target_include_directories(configlib INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${CMA
target_link_libraries(configlib
Qt${QT_MAJOR_VERSION}::Core Qt${QT_MAJOR_VERSION}::Gui Fcitx5Qt${QT_MAJOR_VERSION}::DBusAddons
Fcitx5::Core Fcitx5::Utils
- Fcitx5Qt${QT_MAJOR_VERSION}::WidgetsAddons PkgConfig::XkbFile
+ Fcitx5Qt${QT_MAJOR_VERSION}::WidgetsAddons
)