Warning, /packaging/yocto-meta-kde/recipes-support/libqalculate.inc is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2022 Andreas Cord-Landwehr <cordlandwehr@kde.org>
0002 #
0003 # SPDX-License-Identifier: MIT
0004 
0005 LICENSE = "GPL-2.0"
0006 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
0007 SUMMARY = "Qalculate! library and CLI"
0008 HOMEPAGE = "https://qalculate.github.io/"
0009 
0010 SRC_URI = " \
0011     git://github.com/Qalculate/libqalculate.git;nobranch=1;protocol=https \
0012 "
0013 
0014 S = "${WORKDIR}/git"
0015 
0016 DEPENDS = " \
0017     gmp \
0018     mpfr \
0019     curl \
0020     icu \
0021     libxml2 \
0022     intltool-native \
0023 "
0024 
0025 inherit autotools
0026 inherit gettext
0027 inherit pkgconfig
0028 
0029 do_configure:prepend() {
0030     ${S}/autogen.sh ${CONFIGUREOPTS}
0031 }
0032 
0033 FILES:${PN} += " \
0034     ${datadir}/qalculate/rates.json \
0035     ${datadir}/qalculate/prefixes.xml \
0036     ${datadir}/qalculate/elements.xml \
0037     ${datadir}/qalculate/currencies.xml \
0038     ${datadir}/qalculate/variables.xml \
0039     ${datadir}/qalculate/eurofxref-daily.xml \
0040     ${datadir}/qalculate/datasets.xml \
0041     ${datadir}/qalculate/planets.xml \
0042     ${datadir}/qalculate/functions.xml \
0043     ${datadir}/qalculate/units.xml \
0044 "