Warning, /packaging/yocto-meta-kf5/recipes-kf5/tier1/syntax-highlighting.inc is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2017-2020 Volker Krause <vkrause@kde.org>
0002 # SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org>
0003 #
0004 # SPDX-License-Identifier: MIT
0005 
0006 LICENSE = "MIT & LGPL-2.0-or-later"
0007 PR = "r0"
0008 
0009 # licenses only contained in autotests
0010 REUSE_LICENSECHECK_WHITELIST = "LGPL-2.1-or-later GPL-2.0-only"
0011 
0012 DEPENDS = " \
0013     qtbase \
0014     ${BPN}-native \
0015 "
0016 
0017 require syntax-highlighting_metainfo.inc
0018 inherit cmake_kf5
0019 inherit perlnative
0020 inherit reuse_license_checksums
0021 
0022 EXTRA_OECMAKE:class-native = " -DKSYNTAXHIGHLIGHTING_USE_GUI=OFF"
0023 EXTRA_OECMAKE:class-target = " -DKATEHIGHLIGHTINGINDEXER_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/katehighlightingindexer"
0024 
0025 sysroot_stage_all:append:class-native () {
0026     mkdir -p ${SYSROOT_DESTDIR}/${bindir}
0027     cp ${B}/bin/katehighlightingindexer ${SYSROOT_DESTDIR}/${bindir}
0028 }
0029 
0030 FILES:${PN} += " \
0031     ${libdir}/qml/org/kde/syntaxhighlighting/ \
0032 "