Warning, /packaging/yocto-meta-kf5/recipes-kf5/tier2/kdoctools.inc is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2018-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 = "LGPL-2.1-only" 0007 PR = "r0" 0008 0009 DEPENDS = " \ 0010 karchive \ 0011 ki18n \ 0012 libxslt \ 0013 libxml2 \ 0014 libxml2-native \ 0015 docbook-xml-dtd4 \ 0016 docbook-xsl-stylesheets \ 0017 liburi-perl-native \ 0018 kdoctools-native \ 0019 docbook-xsl-stylesheets-native \ 0020 " 0021 0022 require kdoctools_metainfo.inc 0023 inherit cmake_kf5 0024 inherit gettext 0025 inherit python3native 0026 inherit perlnative 0027 inherit reuse_license_checksums 0028 0029 EXTRA_OECMAKE:class-native = " -DINSTALL_INTERNAL_TOOLS=ON" 0030 0031 EXTRA_OECMAKE:class-target = " \ 0032 -DMEINPROC5_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/meinproc5 \ 0033 -DDOCBOOKL10NHELPER_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/docbookl10nhelper \ 0034 -DCHECKXML5_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/checkXML5 \ 0035 " 0036 0037 sysroot_stage_all:append:class-native () { 0038 mkdir -p ${SYSROOT_DESTDIR}${bindir} 0039 cp ${B}/bin/docbookl10nhelper ${SYSROOT_DESTDIR}${bindir} 0040 } 0041 0042 sysroot_stage_all:append:class-target () { 0043 mkdir -p ${SYSROOT_DESTDIR}${bindir} 0044 cp ${STAGING_BINDIR_NATIVE}/checkXML5 ${SYSROOT_DESTDIR}${bindir} 0045 cp ${STAGING_BINDIR_NATIVE}/meinproc5 ${SYSROOT_DESTDIR}${bindir} 0046 } 0047 0048 0049 FILES:${PN} += " \ 0050 ${datadir}/kf5/kdoctools/customization/* \ 0051 ${datadir}/kf5/kdoctools/customization/*/* \ 0052 ${datadir}/kf5/kdoctools/customization/*/*/* \ 0053 "