diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/fcitx-libpinyin | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/fcitx-libpinyin')
-rw-r--r-- | app-i18n/fcitx-libpinyin/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild | 68 | ||||
-rw-r--r-- | app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild | 68 | ||||
-rw-r--r-- | app-i18n/fcitx-libpinyin/metadata.xml | 18 |
4 files changed, 159 insertions, 0 deletions
diff --git a/app-i18n/fcitx-libpinyin/Manifest b/app-i18n/fcitx-libpinyin/Manifest new file mode 100644 index 000000000000..78ce2b306c75 --- /dev/null +++ b/app-i18n/fcitx-libpinyin/Manifest @@ -0,0 +1,5 @@ +DIST fcitx-data-model.text.20161206.tar.gz 15099931 BLAKE2B 80e6a6fe5109011d6ea8683658d3fa89fc00e9dacfd140da3e993afc7db088c445da636797fbdac416e70119d37d47bdb0cb18d3865cebb397dbaa8a3055d703 SHA512 26450e347b7a211e5abd94acbb9befc8cee7d8fc20e5161ef11b8b9b1ad47cde4f1add5c41484d9af04e4dde2aa748090e297e799ee7f6d2f9fcec3873eee429 +DIST fcitx-libpinyin-0.5.3_dict.tar.xz 15149856 BLAKE2B 35297477b3a4df9152162b8ad57d536333c5007510f387323d03e862901f17bb337504f20e6edc8d48e338916a6c4543900974027b60f7e87b0005f836677d29 SHA512 d132e0c007bd62286cfa89f6605a5315b6f5ae94a75bdd389fff1061e1547ad64c615fb0b75189d8cf35fa289a53e5d485911e06e368b2bf3af7b5a996fcd08a +EBUILD fcitx-libpinyin-0.5.3.ebuild 1496 BLAKE2B e926edffedae10bffe9fd241c85180470acce7ca467956137750c0873bf63eb8927de10312cc899a0251e505707038f10c2e00e4026749bae1b227f76f9f3c1c SHA512 68d75607aae059a06317c4c5043d53afebfa38f7347c5526b207e045ce813749e6d84d686321fa3609b79b91a9e58b6456f30f5061db4f61b2a6d7a75da47978 +EBUILD fcitx-libpinyin-4.9999.ebuild 1477 BLAKE2B d3b6af1e01ae6d45bd291a63aabc8dad710fdd03a2d881d1f786efb80a1372dedf2f1572bd366e5da02f34fc9ba90a94750b96d15ead6add083dbd0d8a3c7438 SHA512 42d90efa3bcc06cd90543713a793bd9379cc3864e5ecb7e164a6567cf7a0a51cdc72175dc20d794a7edef86a0e8b06dd2653c4447f3fc5efe72c8cd263570062 +MISC metadata.xml 537 BLAKE2B 3430f7078a3ef6b84509da967b2572759bc4a9d53c4dd1ccd07508f92efdb8c4a3a4a2304c2418e815c3307ddc43ccc6fb9f784fde0477e30c5517bfd4c23dd0 SHA512 9fcf161b2ca1d0351f59449d78903790fab673ffb1af913e9a5743d453d776d9f38cf241376ef0731adec728363f524e86ca152d0f87b33217e850a34975130c diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild new file mode 100644 index 000000000000..cfcd437107b6 --- /dev/null +++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils gnome2-utils + +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/fcitx/fcitx-libpinyin.git" +fi + +DESCRIPTION="Chinese LibPinyin input methods for Fcitx" +HOMEPAGE="https://fcitx-im.org/ https://gitlab.com/fcitx/fcitx-libpinyin" +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + SRC_URI="https://download.fcitx-im.org/data/model.text.20161206.tar.gz -> fcitx-data-model.text.20161206.tar.gz" +else + SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz" +fi + +LICENSE="GPL-2+ GPL-3+" +SLOT="4" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="dictionary-manager" + +RDEPEND=">=app-i18n/fcitx-4.2.9:4 + >=app-i18n/libpinyin-2.1.0:= + dev-libs/glib:2 + sys-apps/dbus + virtual/libintl + dictionary-manager? ( + >=app-i18n/fcitx-qt5-1.1:4 + >=dev-qt/qtcore-5.7:5 + >=dev-qt/qtdbus-5.7:5 + >=dev-qt/qtgui-5.7:5 + >=dev-qt/qtnetwork-5.7:5 + >=dev-qt/qtwebengine-5.7:5[widgets] + >=dev-qt/qtwidgets-5.7:5 + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=(AUTHORS) + +src_prepare() { + if [[ "${PV}" =~ (^|\.)9999$ ]]; then + ln -s "${DISTDIR}/fcitx-data-model.text.20161206.tar.gz" data/model.text.20161206.tar.gz || die + fi + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_QT=$(usex dictionary-manager) + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild new file mode 100644 index 000000000000..38b963d8ecc8 --- /dev/null +++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils gnome2-utils + +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.com/fcitx/fcitx-libpinyin.git" +fi + +DESCRIPTION="Chinese LibPinyin input methods for Fcitx" +HOMEPAGE="https://fcitx-im.org/ https://gitlab.com/fcitx/fcitx-libpinyin" +if [[ "${PV}" =~ (^|\.)9999$ ]]; then + SRC_URI="https://download.fcitx-im.org/data/model.text.20161206.tar.gz -> fcitx-data-model.text.20161206.tar.gz" +else + SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz" +fi + +LICENSE="GPL-2+ GPL-3+" +SLOT="4" +KEYWORDS="" +IUSE="dictionary-manager" + +RDEPEND=">=app-i18n/fcitx-4.2.9:4 + >=app-i18n/libpinyin-2.1.0:= + dev-libs/glib:2 + sys-apps/dbus + virtual/libintl + dictionary-manager? ( + >=app-i18n/fcitx-qt5-1.1:4 + >=dev-qt/qtcore-5.7:5 + >=dev-qt/qtdbus-5.7:5 + >=dev-qt/qtgui-5.7:5 + >=dev-qt/qtnetwork-5.7:5 + >=dev-qt/qtwebengine-5.7:5[widgets] + >=dev-qt/qtwidgets-5.7:5 + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=(AUTHORS) + +src_prepare() { + if [[ "${PV}" =~ (^|\.)9999$ ]]; then + ln -s "${DISTDIR}/fcitx-data-model.text.20161206.tar.gz" data/model.text.20161206.tar.gz || die + fi + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_QT=$(usex dictionary-manager) + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-i18n/fcitx-libpinyin/metadata.xml b/app-i18n/fcitx-libpinyin/metadata.xml new file mode 100644 index 000000000000..8cb60642717a --- /dev/null +++ b/app-i18n/fcitx-libpinyin/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>arfrever.fta@gmail.com</email> + <name>Arfrever Frehtes Taifersar Arahesis</name> + </maintainer> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <use> + <flag name="dictionary-manager">Install dictionary manager</flag> + </use> + <upstream> + <remote-id type="gitlab">fcitx/fcitx-libpinyin</remote-id> + </upstream> +</pkgmetadata> |