From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-905887-garchives=archives.gentoo.org@lists.gentoo.org> 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 365FF138330 for <garchives@archives.gentoo.org>; Tue, 11 Oct 2016 08:27:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5632BE078C; Tue, 11 Oct 2016 08:27:34 +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 39D0BE078C for <gentoo-commits@lists.gentoo.org>; Tue, 11 Oct 2016 08:27:34 +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 734DF341647 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Oct 2016 08:27:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 072892F1 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Oct 2016 08:27:30 +0000 (UTC) From: "Yixun Lan" <dlan@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" <dlan@gentoo.org> Message-ID: <1476174447.8dc9318d3809c9418b3faff3dd09ef3daf962b5d.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-unikey/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/ibus-unikey/Manifest app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild X-VCS-Directories: app-i18n/ibus-unikey/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 8dc9318d3809c9418b3faff3dd09ef3daf962b5d X-VCS-Branch: master Date: Tue, 11 Oct 2016 08:27:30 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7b6bfb36-61e1-4402-b633-afb7f20220d0 X-Archives-Hash: 8b83ff13f2eb97f1e1b7ac2a5c82e49b commit: 8dc9318d3809c9418b3faff3dd09ef3daf962b5d Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Tue Oct 11 08:25:17 2016 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Tue Oct 11 08:27:27 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dc9318d app-i18n/ibus-unikey: fix gcc-6 build err Gentoo-Bug: 593992 Package-Manager: portage-2.3.1 app-i18n/ibus-unikey/Manifest | 1 + app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild | 35 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-i18n/ibus-unikey/Manifest b/app-i18n/ibus-unikey/Manifest index 72fb913..32af707 100644 --- a/app-i18n/ibus-unikey/Manifest +++ b/app-i18n/ibus-unikey/Manifest @@ -1 +1,2 @@ +DIST ibus-unikey-0.6.1-gcc6.patch 31686 SHA256 928b12d470994072bb4b08472b365b340a24e07e83c2020905de3ecaf61a1dee SHA512 9e1b172a904076ba817c7bab80cbbf7d736c078d3ea285cb946be23552ff0f571ca8e0187cac4e5bfecc2b0032512d6f09af4435056d6b653a3648d07356d9b2 WHIRLPOOL 6e4d232dddf7520da365692180199167a0f9c89f597d984abe0e698b815af174764477df78e220fe8bc5e364be40fd7e6912b69f0d6446fda0244f1a6271e3b8 DIST ibus-unikey-0.6.1.tar.gz 516250 SHA256 989bbea706d2d8d7b86630b1f2b4f63d8ed5167a1cc2b8fafd7f2198ec78d734 SHA512 f8d519802d9b304cdaebfcee3f9fef5f17756cde48aa48b9dd357d714e2eaaba0df8f91218b658fdd1d85343804e054b7987caff2734913b29dc76263c30d4e6 WHIRLPOOL 4a14d0145477527b100272801f2ac8e90178c8d6d7ae743619d6babcf1da069bc550a3eac473c8ac9b60e0b5eeaf1ea780a97d1e3ebd81a0b557e51f20615c4c diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild new file mode 100644 index 00000000..df2b22c --- /dev/null +++ b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +inherit eutils + +DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME" +HOMEPAGE="https://code.google.com/p/ibus-unikey/" +SRC_URI="https://ibus-unikey.googlecode.com/files/${P}.tar.gz + https://dev.gentoo.org/~dlan/distfiles/${P}-gcc6.patch" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk3" + +RDEPEND="gtk3? ( >app-i18n/ibus-1.4.0[gtk3] + x11-libs/gtk+:3 ) + !gtk3? ( >=app-i18n/ibus-1.4.0 + >=x11-libs/gtk+-2.12:2 ) + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/intltool + >=sys-devel/gettext-0.17" + +src_prepare() { + epatch "${DISTDIR}"/${P}-gcc6.patch +} + +src_configure() { + use gtk3 && myconf="--with-gtk-version=3" || myconf="" + econf ${myconf} +}