mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-05-01 06:32:12 +02:00
Add KConfig recipe
Summary: Based on Johan's work branch. This also disables unit tests for all frameworks, tests aren't executable for cross-builds anyway, and KConfig tries to run the target kconfig_compiler there. The native version can still further improved by allowing a QtCore-only build of KConfig, as we are only interested in the kconfig_compiler. Reviewers: cordlandwehr Reviewed By: cordlandwehr Differential Revision: https://phabricator.kde.org/D6987
This commit is contained in:
@@ -3,6 +3,7 @@ inherit cmake_qt5
|
||||
EXTRA_OECMAKE += " \
|
||||
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST} \
|
||||
-DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/usr/lib/cmake \
|
||||
-DBUILD_TESTING=OFF \
|
||||
"
|
||||
|
||||
DEPENDS += "ecm"
|
||||
|
||||
21
recipes-kf5/tier1/kconfig.inc
Normal file
21
recipes-kf5/tier1/kconfig.inc
Normal file
@@ -0,0 +1,21 @@
|
||||
# requires session management support in QtGui
|
||||
# eg. via PACKAGECONFIG_append_pn-qtbase = "sm" in local.conf
|
||||
|
||||
DESCRIPTION = "KConfig"
|
||||
HOMEPAGE = "https://api.kde.org/frameworks/kconfig/html/index.html"
|
||||
LICENSE = "LGPL-2.1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS = "qtbase"
|
||||
|
||||
SRC_URI = "git://anongit.kde.org/kconfig;nobranch=1"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake_kf5
|
||||
|
||||
FILES_${PN}-dev += " \
|
||||
${libdir}/cmake/KF5Config/*.cmake \
|
||||
${prefix}/mkspecs/modules/qt_KConfig*.pri \
|
||||
"
|
||||
2
recipes-kf5/tier1/kconfig_5.36.0.bb
Normal file
2
recipes-kf5/tier1/kconfig_5.36.0.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
require ${PN}.inc
|
||||
SRCREV = "v${PV}"
|
||||
Reference in New Issue
Block a user