[oe] [meta-openembedded][PATCH v5 4/7] ibus-pinyin: add ibus-pinyin recipe
Khem Raj
raj.khem at gmail.com
Thu Jul 25 14:53:45 UTC 2019
On Wed, Jul 24, 2019 at 7:59 AM Pablo Saavedra <psaavedra at igalia.com> wrote:
>
> PinYin engine for IBus.
>
> Requires: pyzy
>
> Signed-off-by: Pablo Saavedra <psaavedra at igalia.com>
> ---
> meta-oe/recipes-support/ibus/ibus-pinyin_1.5.0.bb | 30 +++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 meta-oe/recipes-support/ibus/ibus-pinyin_1.5.0.bb
>
> diff --git a/meta-oe/recipes-support/ibus/ibus-pinyin_1.5.0.bb b/meta-oe/recipes-support/ibus/ibus-pinyin_1.5.0.bb
> new file mode 100644
> index 000000000..a91ed33cb
> --- /dev/null
> +++ b/meta-oe/recipes-support/ibus/ibus-pinyin_1.5.0.bb
> @@ -0,0 +1,30 @@
> +DESCRIPTION = "PinYin engine for IBus."
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> +SECTION = "inputmethods"
> +
> +SRC_URI = "https://github.com/ibus/${PN}/archive/${PV}.tar.gz \
causes
WARNING: ibus-pinyin-1.5.0-r0 do_package_qa: QA Issue:
https://github.com/ibus/ibus-pinyin/archive/1.5.0.tar.gz :
SRC_URI uses unstable GitHub archives [src-uri-bad]
Lets use git:// fetcher instead of archive
> + "
> +SRC_URI[md5sum] = "9a794c76f3e8fa888c7a0a097de2ebf0"
> +SRC_URI[sha256sum] = "79fc51517ab8dec696cbbbca9526459b59f4eb045492ea88e5f9e01160b905db"
> +
> +inherit distro_features_check autotools lib_package
> +
> +REQUIRED_DISTRO_FEATURES = "x11"
> +
> +DEPENDS = "ibus enchant hunspell pyzy pyxdg"
> +DEPENDS_append_class-target = " intltool-native glib-2.0-native"
> +RDEPENDS_${PN} += " ibus enchant hunspell pyzy pyxdg"
> +
> +BBCLASSEXTEND = "native"
> +
> +EXTRA_OECONF += "--disable-static \
> + --disable-boost \
> +"
> +
> +FILES_${PN} += "${datadir}/ibus/component/pinyin.xml \
> +"
> +
> +do_configure_prepend() {
> + export PYTHON=python3
> +}
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list