mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
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>
This commit is contained in:
parent
821402ed1a
commit
0e207efb77
@ -55,7 +55,10 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-make-x11-dependencies-optional.patch )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-make-x11-dependencies-optional.patch
|
||||
"${FILESDIR}"/${PN}-remove-unused-xkbfile.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
|
||||
@ -0,0 +1,14 @@
|
||||
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
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user