# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" inherit cmake-utils gnome2-utils xdg-utils if [[ "${PV}" == "9999" ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/fcitx/fcitx" fi DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx" if [[ "${PV}" == "9999" ]]; then SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz https://download.fcitx-im.org/data/py_table-20121124.tar.gz -> fcitx-data-py_table-20121124.tar.gz https://download.fcitx-im.org/data/en_dict-20121020.tar.gz -> fcitx-data-en_dict-20121020.tar.gz" else SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz" fi LICENSE="GPL-2+ LGPL-2+" SLOT="0" KEYWORDS="amd64 hppa ppc ppc64 x86" IUSE="+X +autostart +cairo debug +enchant gtk2 gtk3 +introspection lua nls opencc +pango qt4 static-libs +table test +xml" REQUIRED_USE="cairo? ( X ) pango? ( cairo ) qt4? ( X )" RDEPEND="dev-libs/glib:2 sys-apps/dbus virtual/libiconv virtual/libintl x11-libs/libxkbcommon X? ( x11-libs/libX11 x11-libs/libXfixes x11-libs/libXinerama x11-libs/libXrender xml? ( x11-libs/libxkbfile ) ) cairo? ( x11-libs/cairo[X] x11-libs/libXext pango? ( x11-libs/pango ) !pango? ( media-libs/fontconfig ) ) enchant? (