Warning, /packaging/yocto-meta-kde/recipes-support/libpinyin.inc is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org> 0002 # 0003 # SPDX-License-Identifier: MIT 0004 0005 LICENSE = "GPL-3.0" 0006 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 0007 SUMMARY = "Library to deal with pinyin." 0008 0009 SRC_URI = " \ 0010 git://github.com/libpinyin/libpinyin.git;nobranch=1;protocol=https \ 0011 https://downloads.sourceforge.net/project/libpinyin/models/model19.text.tar.gz;sha256sum=56422a4ee5966c2c809dd065692590ee8def934e52edbbe249b8488daaa1f50b;subdir=git;unpack=0 \ 0012 file://0000-Utilize-bitbake-download-and-use-tools-from-PATH.patch \ 0013 file://0001-Optionally-install-utilities.patch \ 0014 file://0002-Provide-option-to-use-pre-downloaded-archive.patch \ 0015 file://0003-Add-option-to-disable-data-generation.patch \ 0016 " 0017 SRC_URI:class-native = " \ 0018 git://github.com/libpinyin/libpinyin.git;nobranch=1;protocol=https \ 0019 file://0001-Optionally-install-utilities.patch \ 0020 file://0002-Provide-option-to-use-pre-downloaded-archive.patch \ 0021 file://0003-Add-option-to-disable-data-generation.patch \ 0022 " 0023 0024 S = "${WORKDIR}/git" 0025 0026 DEPENDS = " \ 0027 db \ 0028 glib-2.0 \ 0029 libpinyin-native \ 0030 " 0031 DEPENDS:class-native = " \ 0032 db-native \ 0033 glib-2.0-native \ 0034 " 0035 0036 inherit cmake 0037 0038 EXTRA_OECMAKE += "-DDOWNLOAD_MODEL_DATA_ARCHIVE=OFF" 0039 EXTRA_OECMAKE:class-native += "-DINSTALL_UTILS=ON -DDISABLE_DATA_GENERATION=ON" 0040 0041 # workaround for generator that can be executed only once: 0042 # https://github.com/libpinyin/libpinyin/issues/128 0043 do_install:prepend() { 0044 rm -f ${WORKDIR}/build/data/*.bin 0045 rm -f ${WORKDIR}/build/data/*.db 0046 } 0047 0048 BBCLASSEXTEND = "native"