From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 324971396D0 for ; Tue, 22 Aug 2017 14:21:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF1261FC09F; Tue, 22 Aug 2017 14:21:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE04B1FC0A0 for ; Tue, 22 Aug 2017 14:21:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3CD0341BF1 for ; Tue, 22 Aug 2017 14:21:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 746A17ECA for ; Tue, 22 Aug 2017 14:21:15 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1503411616.515a53a0a46912a4ced565b2e32193d82cf90390.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-libpinyin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild X-VCS-Directories: app-i18n/fcitx-libpinyin/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 515a53a0a46912a4ced565b2e32193d82cf90390 X-VCS-Branch: master Date: Tue, 22 Aug 2017 14:21:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 080bdf51-766c-42dc-b9cd-ecab781066b4 X-Archives-Hash: f2fd1a1d49976dd2f926fdf93502387c commit: 515a53a0a46912a4ced565b2e32193d82cf90390 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Tue Aug 22 13:05:20 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Tue Aug 22 14:20:16 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=515a53a0 app-i18n/fcitx-libpinyin: Add live ebuild. .../fcitx-libpinyin/fcitx-libpinyin-9999.ebuild | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild new file mode 100644 index 00000000000..84d8d137d05 --- /dev/null +++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.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="" +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 +}