84e7062cba
This bump will fix the following build failure of kf5-kcoreaddons with python 3.10 raised since commit25b1fc2898
: CMake Error at /home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/share/ECM/find-modules/FindPythonModuleGeneration.cmake:149 (message): The max python version in PythonModuleGeneration must be updated. Call Stack (most recent call first): src/lib/CMakeLists.txt:208 (find_package) It will also fix the following build failure of kf5-kcoreaddons raised since commit5770a645a3
: In file included from /home/peko/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qchar.h:43, from /home/peko/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qstring.h:49, from /home/peko/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QString:1, from /home/peko/autobuild/instance-0/output-1/build/kf5-kcoreaddons-5.47.0/src/lib/randomness/krandom.h:27, from /home/peko/autobuild/instance-0/output-1/build/kf5-kcoreaddons-5.47.0/src/lib/randomness/krandom.cpp:22: /home/peko/autobuild/instance-0/output-1/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:1274:80: note: declared here 1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand(); | ^~~~~ /home/peko/autobuild/instance-0/output-1/build/kf5-kcoreaddons-5.47.0/src/lib/randomness/krandom.cpp: In function 'QString KRandom::randomString(int)': /home/peko/autobuild/instance-0/output-1/build/kf5-kcoreaddons-5.47.0/src/lib/randomness/krandom.cpp:76:27: error: use of deleted function 'QCharRef& QCharRef::operator=(char)' 76 | str[i++] = char(r); | ^ - Update indentation in hash file (two spaces) - Update licenses due to93480398b5
8ad494d957
fa9ef0d848
Fixes: - http://autobuild.buildroot.org/results/0267ff54ee82d853476ff7d6b14edb4aba308aa2 - http://autobuild.buildroot.org/results/694a2322d9161b55f5db66d1ace57d836360ed84 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
49 lines
1.6 KiB
Makefile
49 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# kf5-kcoreaddons
|
|
#
|
|
################################################################################
|
|
|
|
KF5_KCOREADDONS_VERSION = $(KF5_VERSION)
|
|
KF5_KCOREADDONS_SITE = $(KF5_SITE)
|
|
KF5_KCOREADDONS_SOURCE = kcoreaddons-$(KF5_KCOREADDONS_VERSION).tar.xz
|
|
KF5_KCOREADDONS_LICENSE = \
|
|
LGPL-2.0+, LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \
|
|
MPL.1.1 or GPL-2.0+ or LGPL-2.1+ (posix_fallocate_mac.h), \
|
|
LGPL-2.1 with Qt-LGPL-exception-1.1 or LicenseRef-Qt-Commercial (kprocesslist), \
|
|
GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests)
|
|
KF5_KCOREADDONS_LICENSE_FILES = \
|
|
LICENSES/GPL-2.0-only.txt \
|
|
LICENSES/GPL-2.0-or-later.txt \
|
|
LICENSES/GPL-3.0-only.txt \
|
|
LICENSES/LGPL-2.0-only.txt \
|
|
LICENSES/LGPL-2.0-or-later.txt \
|
|
LICENSES/LGPL-2.1-only.txt \
|
|
LICENSES/LGPL-3.0-only.txt \
|
|
LICENSES/LicenseRef-KDE-Accepted-GPL.txt \
|
|
LICENSES/LicenseRef-KDE-Accepted-LGPL.txt \
|
|
LICENSES/LicenseRef-Qt-Commercial.txt \
|
|
LICENSES/MPL-1.1.txt \
|
|
LICENSES/Qt-LGPL-exception-1.1.txt
|
|
|
|
KF5_KCOREADDONS_DEPENDENCIES = \
|
|
kf5-extra-cmake-modules \
|
|
qt5tools \
|
|
$(if $(BR2_PACKAGE_PYTHON3),python3)
|
|
KF5_KCOREADDONS_INSTALL_STAGING = YES
|
|
|
|
KF5_KCOREADDONS_CXXFLAGS = $(TARGET_CXXFLAGS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
KF5_KCOREADDONS_CXXFLAGS += -latomic
|
|
endif
|
|
|
|
KF5_KCOREADDONS_CONF_OPTS = -DCMAKE_CXX_FLAGS="$(KF5_KCOREADDONS_CXXFLAGS)"
|
|
|
|
ifeq ($(BR2_microblaze),y)
|
|
# Microblaze ld emits warnings, make warnings not to be treated as errors
|
|
KF5_KCOREADDONS_CONF_OPTS += -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-fatal-warnings"
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|