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 BA266138332 for ; Thu, 13 Oct 2016 16:08:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26C4421C08B; Thu, 13 Oct 2016 16:08:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C19F21C08B for ; Thu, 13 Oct 2016 16:08:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDD59341652 for ; Thu, 13 Oct 2016 16:08:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B61D92F8 for ; Thu, 13 Oct 2016 16:08:19 +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: <1476374897.24478e643e816b56c6f79f3c74d606a167c08f25.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx-unikey/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild X-VCS-Directories: app-i18n/fcitx-unikey/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 24478e643e816b56c6f79f3c74d606a167c08f25 X-VCS-Branch: master Date: Thu, 13 Oct 2016 16:08:19 +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: b5a87308-9755-4fdf-ac00-31df40389e56 X-Archives-Hash: 96831b4223d805f6c4863fc99cf08464 commit: 24478e643e816b56c6f79f3c74d606a167c08f25 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Thu Oct 13 07:01:46 2016 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Oct 13 16:08:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24478e64 app-i18n/fcitx-unikey: Use EAPI="6". Fix LICENSE, dependencies. Call gnome2_icon_savelist(). app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild | 39 +++++++++++++++++++------ 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild index d02e536..5a087b5 100644 --- a/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild +++ b/app-i18n/fcitx-unikey/fcitx-unikey-0.2.5.ebuild @@ -1,30 +1,51 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI="6" + inherit cmake-utils gnome2-utils -DESCRIPTION="Vietnamese Unikey module for Fcitx" -HOMEPAGE="http://fcitx-im.org/" -SRC_URI="http://download.fcitx-im.org/${PN}/${P}.tar.xz" +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/fcitx/fcitx-unikey" +fi -LICENSE="GPL-3" +DESCRIPTION="Vietnamese Unikey input methods for Fcitx" +HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-unikey" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz" +fi + +LICENSE="GPL-2+ GPL-3+" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="+qt4" -RDEPEND=">=app-i18n/fcitx-4.2.8[qt4?]" +RDEPEND=">=app-i18n/fcitx-4.2.8[qt4?] + virtual/libiconv + virtual/libintl" DEPEND="${RDEPEND} - sys-devel/gettext" + sys-devel/gettext + virtual/pkgconfig" + +DOCS=() src_configure() { local mycmakeargs=( - $(cmake-utils_use_enable qt4 QT) + -DENABLE_QT=$(usex qt4) ) + cmake-utils_src_configure } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { gnome2_icon_cache_update }