summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-08-22 15:02:19 +0200
committerMike Gilbert <floppym@gentoo.org>2017-08-22 10:20:16 -0400
commitd2c7c6eddfda15f34c511ae1407ae2225105fe43 (patch)
tree4bdc10d65988187897b31c9d47b793315891679e /app-i18n/fcitx-libpinyin
parentprofiles/arch/powerpc: Mask app-i18n/fcitx-libpinyin[dictmanager]. (diff)
downloadgentoo-d2c7c6eddfda15f34c511ae1407ae2225105fe43.tar.gz
gentoo-d2c7c6eddfda15f34c511ae1407ae2225105fe43.tar.bz2
gentoo-d2c7c6eddfda15f34c511ae1407ae2225105fe43.zip
app-i18n/fcitx-libpinyin: Version bump (0.5.1).
Diffstat (limited to 'app-i18n/fcitx-libpinyin')
-rw-r--r--app-i18n/fcitx-libpinyin/Manifest1
-rw-r--r--app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/app-i18n/fcitx-libpinyin/Manifest b/app-i18n/fcitx-libpinyin/Manifest
index 2173172d2387..d2e50d9752d8 100644
--- a/app-i18n/fcitx-libpinyin/Manifest
+++ b/app-i18n/fcitx-libpinyin/Manifest
@@ -1,3 +1,4 @@
DIST fcitx-libpinyin-0.2.1_dict.tar.xz 10007544 SHA256 1ec33b2c56f98079fa5383b5fffcbe095ec64ffaa07eefebbc5d609136a2fab8 SHA512 7e446ac1e07301d6671f3de1059d099237aeeb46fdb9f68fce40a205cdcb17542345334b13f45b19f356743f92601492d178e6e2d578567c2506bed9c808ccbd WHIRLPOOL 598341a001d4cbb544bf3e3fc4449b1a323fc9ae6d3fc5fe8217b9a15bc2db22fb937e61bae32b3420a6b33d235368d6bd31fecfd1a845d1edd3acda320cb6f3
DIST fcitx-libpinyin-0.3.1_dict.tar.xz 15143832 SHA256 0b553c90d37c36e82ad692803519cb3cf82ae3597ed2f74b1f5251e942c272ae SHA512 3b7501a75dab2f5b83541c71ccac93709f3354f390f322d7b95e4b94e0c4dc6963522759ab52eb77203d787d6d14d3ce1c838dd92ecd0db041a3b7a25008eaa4 WHIRLPOOL 1f655dc2a4439b8ff0583fa88f3d75f2472a8abdeff9132a98d242f2007d3abaf582f8ae31ec18ef693754bdf29788a37f4dda96bd1777d6a43eb1ac8eb6c194
DIST fcitx-libpinyin-0.3.3_dict.tar.xz 15145448 SHA256 cac02fb2ac19d9072d58e2d9383297e21942caf71b528aee8fa36c55c899d1e1 SHA512 1d77bb0a73ef2f94058ad8f991c628097c87b0ea9c7c4480d23c972ff20ea8ea2653113c8100f1611911606fe84a470650e1a2e9cc6d596d3e80960bb00900c2 WHIRLPOOL ea9f470a92ad55fbdc561d0df1ba51414c716fac158c8db28cccd18d2f106339ee8dc9eba03067f2473289f485dd1118ffedee6ea5b0fbcd0517f6ef5e68abb8
+DIST fcitx-libpinyin-0.5.1_dict.tar.xz 15147796 SHA256 9464ff6bcff8ff5f89059845a26ece5fe2659b66f65fd0c4a092ee818752adc7 SHA512 85d26e5c036f5fb82005c677d8924e68236f52fab2ddf0e19472e84ca4ae66d9e8e7ec7a84cc7b7cb1da796df2e51f267336640b7957b5caf91ea13e273da411 WHIRLPOOL 676d9f71e2daf76a2b7677f381b32adb28cf3c4034ba949008b95b0fd9df9cd55ec5dfd86a3ae289e86b7e0758d72586e5d6e93267309e49ed1b2627dadb4ec7
diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild
new file mode 100644
index 000000000000..abc1b717a0cf
--- /dev/null
+++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.5.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 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://github.com/fcitx/fcitx-libpinyin"
+fi
+
+DESCRIPTION="Chinese LibPinyin input methods for Fcitx"
+HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-libpinyin"
+if [[ "${PV}" == "9999" ]]; then
+ SRC_URI=""
+else
+ SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
+fi
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="dictmanager"
+
+RDEPEND=">=app-i18n/fcitx-4.2.8
+ >=app-i18n/libpinyin-1.9.91:=
+ dev-libs/glib:2
+ sys-apps/dbus
+ virtual/libintl
+ dictmanager? (
+ >=app-i18n/fcitx-qt5-1.1
+ >=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"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_QT=$(usex dictmanager)
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}