kcmutils: fix cross
This commit is contained in:
parent
dc11529c36
commit
6ac6616a4d
2 changed files with 12 additions and 4 deletions
11
srcpkgs/kcmutils/patches/cross.patch
Normal file
11
srcpkgs/kcmutils/patches/cross.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/CMakeLists.txt 2022-08-07 15:19:37.000000000 +0200
|
||||
+++ - 2022-09-11 10:33:06.432528721 +0200
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
|
||||
include(CMakeDependentOption)
|
||||
-cmake_dependent_option(TOOLS_ONLY "Only build the tools and not the rest of KCMUtils" OFF "NOT CMAKE_CROSSCOMPILING" ON)
|
||||
+option(TOOLS_ONLY "Only build the tools and not the rest of KCMUtils" OFF)
|
||||
if (TOOLS_ONLY)
|
||||
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core)
|
||||
add_subdirectory(tools)
|
|
@ -3,6 +3,7 @@ pkgname=kcmutils
|
|||
version=5.97.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
build_helper=qemu
|
||||
hostmakedepends="kcoreaddons extra-cmake-modules
|
||||
kpackage kconfig qt5-host-tools qt5-qmake python3 gettext"
|
||||
makedepends="kdeclarative-devel"
|
||||
|
@ -13,10 +14,6 @@ homepage="https://invent.kde.org/frameworks/kcmutils"
|
|||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=ad1907b5347a907cfa2ff0ef37432d4f1f6b6abbaac2866b75a590b8926a5a75
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
broken="https://build.voidlinux.org/builders/armv7l-musl_builder/builds/41314/steps/shell_3/logs/stdio"
|
||||
fi
|
||||
|
||||
kcmutils-devel_package() {
|
||||
short_desc+=" - development"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue