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 2AFE8139694 for ; Thu, 20 Jul 2017 15:04:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70837E0AC9; Thu, 20 Jul 2017 15:04:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 3A031E0AC9 for ; Thu, 20 Jul 2017 15:04:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6DA083418E0 for ; Thu, 20 Jul 2017 15:04:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB1B774BD for ; Thu, 20 Jul 2017 15:04:30 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1500563051.ce2019556de4202ba5b97672f27ea7fc55475f72.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-m17n/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild app-i18n/ibus-m17n/metadata.xml X-VCS-Directories: app-i18n/ibus-m17n/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: ce2019556de4202ba5b97672f27ea7fc55475f72 X-VCS-Branch: master Date: Thu, 20 Jul 2017 15:04:30 +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: 4b67434e-a46a-4b6d-8fc1-28a17963e1f1 X-Archives-Hash: 735d1ca24f57aa21ca1ef44d97fa1493 commit: ce2019556de4202ba5b97672f27ea7fc55475f72 Author: Akinori Hattori gentoo org> AuthorDate: Thu Jul 20 15:02:37 2017 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Thu Jul 20 15:04:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce201955 app-i18n/ibus-m17n: add gtk3 USE flag Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild | 10 +++++++--- app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild | 10 +++++++--- app-i18n/ibus-m17n/metadata.xml | 3 +++ 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild b/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild index 2b578de899a..aad4f296f04 100644 --- a/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild +++ b/app-i18n/ibus-m17n/ibus-m17n-1.3.2.ebuild @@ -10,11 +10,14 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="gtk nls" +IUSE="gtk gtk3 nls" CDEPEND="app-i18n/ibus dev-libs/m17n-lib - gtk? ( x11-libs/gtk+:2 ) + gtk? ( + !gtk3? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + ) nls? ( virtual/libintl )" RDEPEND="${CDEPEND} || ( @@ -25,9 +28,10 @@ DEPEND="${CDEPEND} dev-util/intltool sys-devel/gettext virtual/pkgconfig" +REQUIRED_USE="gtk3? ( gtk )" src_configure() { econf \ $(use_enable nls) \ - $(use_with gtk gtk 2.0) + $(use_with gtk gtk $(usex !gtk3 2.0 3.0)) } diff --git a/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild b/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild index 6bfbff46dbf..e3d0ab7586c 100644 --- a/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild +++ b/app-i18n/ibus-m17n/ibus-m17n-1.3.4.ebuild @@ -10,11 +10,14 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="gtk nls" +IUSE="gtk gtk3 nls" CDEPEND="app-i18n/ibus dev-libs/m17n-lib - gtk? ( x11-libs/gtk+:2 ) + gtk? ( + !gtk3? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + ) nls? ( virtual/libintl )" RDEPEND="${CDEPEND} || ( @@ -25,9 +28,10 @@ DEPEND="${CDEPEND} dev-util/intltool sys-devel/gettext virtual/pkgconfig" +REQUIRED_USE="gtk3? ( gtk )" src_configure() { econf \ $(use_enable nls) \ - $(use_with gtk gtk 2.0) + $(use_with gtk gtk $(usex !gtk3 2.0 3.0)) } diff --git a/app-i18n/ibus-m17n/metadata.xml b/app-i18n/ibus-m17n/metadata.xml index cd556d26d1a..b9d88c40b20 100644 --- a/app-i18n/ibus-m17n/metadata.xml +++ b/app-i18n/ibus-m17n/metadata.xml @@ -17,5 +17,8 @@ Build the preference interfaces, based on x11-libs/gtk+:2 + + Build the preference interfaces, based on x11-libs/gtk+:3 +