From 17526f133d487034bbb29fd8fdd2fb8636d5fd7e Mon Sep 17 00:00:00 2001 From: lujianhua <35170954+lujianhua@users.noreply.github.com> Date: Sat, 30 Jul 2022 22:26:48 +0800 Subject: [PATCH] app-i18n/wlpinyin: new package (#2386) --- .github/workflows/overlay.toml | 6 ++++++ app-i18n/wlpinyin/metadata.xml | 8 ++++++++ app-i18n/wlpinyin/wlpinyin-9999.ebuild | 28 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 app-i18n/wlpinyin/metadata.xml create mode 100644 app-i18n/wlpinyin/wlpinyin-9999.ebuild diff --git a/.github/workflows/overlay.toml b/.github/workflows/overlay.toml index 068c3b3dae..dc18acd435 100644 --- a/.github/workflows/overlay.toml +++ b/.github/workflows/overlay.toml @@ -182,6 +182,12 @@ source = "regex" url = "https://pinyin.sogou.com/linux" regex = "sogoupinyin_([\\d.]+)_amd64.deb" +["app-i18n/wlpinyin"] +source = "github" +github = "xhebox/wlpinyin" +use_latest_tag = true +github_account = "lujianhua" + ["app-i18n/zh-autoconvert"] source = "regex" url = "https://packages.debian.org/stable/source/zh-autoconvert" diff --git a/app-i18n/wlpinyin/metadata.xml b/app-i18n/wlpinyin/metadata.xml new file mode 100644 index 0000000000..78c95d038c --- /dev/null +++ b/app-i18n/wlpinyin/metadata.xml @@ -0,0 +1,8 @@ + + + + + lujianhua000@gmail.com + lujianhua + + diff --git a/app-i18n/wlpinyin/wlpinyin-9999.ebuild b/app-i18n/wlpinyin/wlpinyin-9999.ebuild new file mode 100644 index 0000000000..8a1d81d414 --- /dev/null +++ b/app-i18n/wlpinyin/wlpinyin-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Experimental chinese wayland input method(IME)" +HOMEPAGE="https://github.com/xhebox/wlpinyin" +LICENSE="MIT" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xhebox/wlpinyin" +else + SRC_URI="" + KEYWORDS="~amd64 ~x86" +fi + +SLOT="0" +IUSE="" + +DEPEND=" + app-i18n/librime + dev-libs/wayland + dev-libs/wayland-protocols + x11-libs/libxkbcommon[wayland] +"