mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
kdoctools: fix cross-build
This commit is contained in:
parent
b66feedd77
commit
0332ada3bf
2 changed files with 13 additions and 1 deletions
11
srcpkgs/kdoctools/patches/cross.patch
Normal file
11
srcpkgs/kdoctools/patches/cross.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/src/CMakeLists.txt
|
||||||
|
+++ b/src/CMakeLists.txt
|
||||||
|
@@ -232,7 +232,7 @@ else()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_custom_command( TARGET docbookl10nhelper POST_BUILD
|
||||||
|
- COMMAND $<TARGET_FILE:KF5::docbookl10nhelper>
|
||||||
|
+ COMMAND KF5::docbookl10nhelper
|
||||||
|
"${DOCBOOKXSL_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/customization/xsl"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/customization/xsl"
|
||||||
|
)
|
|
@ -10,7 +10,8 @@ hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
||||||
qt6-declarative-host-tools gettext kf6-kconfig"
|
qt6-declarative-host-tools gettext kf6-kconfig"
|
||||||
makedepends="kf6-kconfigwidgets-devel kf6-kcoreaddons-devel kf6-kio-devel
|
makedepends="kf6-kconfigwidgets-devel kf6-kcoreaddons-devel kf6-kio-devel
|
||||||
kf6-kxmlgui-devel kf6-kconfig-devel"
|
kf6-kxmlgui-devel kf6-kconfig-devel"
|
||||||
checkdepends="kf6-kirigami"
|
# Disable until kirigami added into repo
|
||||||
|
# checkdepends="kf6-kirigami"
|
||||||
short_desc="Utilities for interacting with KCModules"
|
short_desc="Utilities for interacting with KCModules"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
|
|
Loading…
Add table
Reference in a new issue