app-i18n/ibus-libpinyin: Version bump (1.9.3).
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Wed, 21 Feb 2018 18:55:30 +0000 (19:55 +0100)
committerMike Gilbert <floppym@gentoo.org>
Wed, 21 Feb 2018 20:32:20 +0000 (15:32 -0500)
app-i18n/ibus-libpinyin/Manifest
app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.3.ebuild [new file with mode: 0644]

index 80c59b4737a815f7cbeca6a79589e7d50f137889..b11dec5e3465095587cfd80fdb86afbe4288a72a 100644 (file)
@@ -1 +1,2 @@
 DIST ibus-libpinyin-1.9.2.tar.gz 1693247 BLAKE2B a887be2a11406420e86cf1e7f76f8d8c06cbffa62a0ab42d450015965c24accab51164ed18cdc8e24f26edf03676603a691c907e00722efc24e947919345570f SHA512 008390049b0186b7163cfd8857806715dd78235fc1e35a89d4b58a38eb7f292b643d48f502c0c924512a9f5a96d2581f577d6a9ec3b660d05d9a4adcde970430
+DIST ibus-libpinyin-1.9.3.tar.gz 1692251 BLAKE2B 6f23a8838f90c082a43fc2922bcaf13ecf287fdfb898f1ba213739f8e2f65ff9a68bdc57cf8f82e73e2c5e1569f1209b8294b45c30c5c3b7e32287b73394ddc7 SHA512 cad3d8415e0c206cbd2eb606ea04b5861e10c3a5f614d90bbba29b751fcc978e2ce1a8a000ceb8cc98de1afcc145ea62b5ee8e9d34e4184bccc487225b34ab1a
diff --git a/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.3.ebuild b/app-i18n/ibus-libpinyin/ibus-libpinyin-1.9.3.ebuild
new file mode 100644 (file)
index 0000000..1ac7959
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="sqlite(+)"
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Intelligent Pinyin and Bopomofo input methods based on LibPinyin for IBus"
+HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin https://sourceforge.net/projects/libpinyin/"
+SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost lua opencc"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       app-i18n/ibus[python(+),${PYTHON_USEDEP}]
+       >=app-i18n/libpinyin-2.1.0:=
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       boost? ( dev-libs/boost:= )
+       lua? ( dev-lang/lua:0 )
+       opencc? ( app-i18n/opencc:= )"
+
+DEPEND="${RDEPEND}
+       virtual/libintl
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --enable-english-input-mode \
+               $(use_enable boost) \
+               $(use_enable lua lua-extension) \
+               $(use_enable opencc)
+}