app-i18n/fcitx-libpinyin: version bump 0.3.3
authorYixun Lan <dlan@gentoo.org>
Fri, 27 May 2016 09:46:21 +0000 (17:46 +0800)
committerYixun Lan <dlan@gentoo.org>
Fri, 27 May 2016 10:20:30 +0000 (18:20 +0800)
Package-Manager: portage-2.2.28

app-i18n/fcitx-libpinyin/Manifest
app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.3.1.ebuild
app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.3.3.ebuild [new file with mode: 0644]

index 0d0e6d23c53762af10c1936592f4f3a5a7d6db6f..2173172d238755d21944efe3e5f17da32f512200 100644 (file)
@@ -1,2 +1,3 @@
 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
index e28164527ec7b58cf1a2a3d6b2bbb2bb23ea5bd2..5d254ad43b01c9ac5f5940c8b1842d68f76030f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,7 +15,7 @@ KEYWORDS="amd64 ~ppc ppc64 ~x86"
 IUSE="dictmanager"
 
 RDEPEND=">=app-i18n/fcitx-4.2.8
-       app-i18n/libpinyin
+       <app-i18n/libpinyin-1.3.0
        dev-libs/glib:2
        dictmanager? ( >=app-i18n/fcitx-4.2.8[qt4]
                dev-qt/qtcore:4
diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.3.3.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-0.3.3.ebuild
new file mode 100644 (file)
index 0000000..78687db
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Libpinyin module for Fcitx"
+HOMEPAGE="http://fcitx-im.org/"
+SRC_URI="http://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="dictmanager"
+
+RDEPEND=">=app-i18n/fcitx-4.2.8
+       app-i18n/libpinyin
+       dev-libs/glib:2
+       dictmanager? ( >=app-i18n/fcitx-4.2.8[qt4]
+               dev-qt/qtcore:4
+               dev-qt/qtgui:4
+               dev-qt/qtwebkit:4 )"
+DEPEND="${RDEPEND}
+       virtual/libintl
+       virtual/pkgconfig"
+
+src_configure() {
+       local mycmakeargs="$(cmake-utils_use_enable dictmanager QT)"
+       cmake-utils_src_configure
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}