mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
Add kdoctools recipe
This commit is contained in:
@@ -37,6 +37,7 @@ RDEPENDS_${PN} = " \
|
||||
kactivities \
|
||||
kauth \
|
||||
kcrash \
|
||||
kdoctools \
|
||||
kfilemetadata \
|
||||
kjobwidgets \
|
||||
knotifications \
|
||||
|
||||
52
recipes-kf5/tier2/kdoctools.inc
Normal file
52
recipes-kf5/tier2/kdoctools.inc
Normal file
@@ -0,0 +1,52 @@
|
||||
DESCRIPTION = "KDocTools"
|
||||
HOMEPAGE = "https://api.kde.org/frameworks/kdoctools/html/index.html"
|
||||
LICENSE = "LGPL-2.1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS = " \
|
||||
karchive \
|
||||
ki18n \
|
||||
libxslt \
|
||||
libxml2 \
|
||||
libxml2-native \
|
||||
docbook-xml-dtd4 \
|
||||
docbook-xsl-stylesheets \
|
||||
liburi-perl-native \
|
||||
kdoctools-native \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://anongit.kde.org/kdoctools;nobranch=1 \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake_kf5
|
||||
inherit gettext
|
||||
inherit python3native
|
||||
inherit perlnative
|
||||
|
||||
EXTRA_OECMAKE_class-target += " \
|
||||
-DMEINPROC5_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/meinproc5 \
|
||||
-DDOCBOOKL10NHELPER_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/docbookl10nhelper \
|
||||
-DCHECKXML5_EXECUTABLE=${STAGING_DIR_NATIVE}/${bindir}/checkXML5 \
|
||||
"
|
||||
|
||||
sysroot_stage_all_append_class-native () {
|
||||
mkdir -p ${SYSROOT_DESTDIR}${bindir}
|
||||
cp ${B}/bin/docbookl10nhelper ${SYSROOT_DESTDIR}${bindir}
|
||||
}
|
||||
|
||||
sysroot_stage_all_append_class-target () {
|
||||
mkdir -p ${SYSROOT_DESTDIR}${bindir}
|
||||
cp ${STAGING_BINDIR_NATIVE}/checkXML5 ${SYSROOT_DESTDIR}${bindir}
|
||||
cp ${STAGING_BINDIR_NATIVE}/meinproc5 ${SYSROOT_DESTDIR}${bindir}
|
||||
}
|
||||
|
||||
|
||||
FILES_${PN} += " \
|
||||
${datadir}/kf5/kdoctools/customization/* \
|
||||
${datadir}/kf5/kdoctools/customization/*/* \
|
||||
${datadir}/kf5/kdoctools/customization/*/*/* \
|
||||
"
|
||||
2
recipes-kf5/tier2/kdoctools_5.41.0.bb
Normal file
2
recipes-kf5/tier2/kdoctools_5.41.0.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
require ${PN}.inc
|
||||
SRCREV = "v${PV}"
|
||||
Reference in New Issue
Block a user