public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-unikey/
Date: Sat, 12 Aug 2017 14:39:11 +0000 (UTC)	[thread overview]
Message-ID: <1502548732.1bc7cbe866535252e1e8a232bb274011d0db3c30.hattya@gentoo> (raw)

commit:     1bc7cbe866535252e1e8a232bb274011d0db3c30
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 14:36:11 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 14:38:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc7cbe8

app-i18n/ibus-unikey: switch to gtk2 USE flag

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild | 11 +++++++----
 app-i18n/ibus-unikey/metadata.xml                |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild
index 88450838275..63c9b7f5815 100644
--- a/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild
+++ b/app-i18n/ibus-unikey/ibus-unikey-0.6.1-r2.ebuild
@@ -11,12 +11,15 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="gtk3 nls"
+IUSE="+gtk gtk2 nls"
+REQUIRED_USE="gtk2? ( gtk )"
 
 RDEPEND="app-i18n/ibus
 	x11-libs/libX11
-	gtk3? ( x11-libs/gtk+:3 )
-	!gtk3? ( x11-libs/gtk+:2 )
+	gtk? (
+		gtk2? ( x11-libs/gtk+:2 )
+		!gtk2? ( x11-libs/gtk+:3 )
+	)
 	nls? ( virtual/libintl )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
@@ -28,5 +31,5 @@ PATCHES=( "${DISTDIR}"/${P}-gcc6.patch )
 src_configure() {
 	econf \
 		$(use_enable nls) \
-		--with-gtk-version=$(usex gtk3 3 2)
+		--with-gtk-version=$(usex gtk2 3 2)
 }

diff --git a/app-i18n/ibus-unikey/metadata.xml b/app-i18n/ibus-unikey/metadata.xml
index cf5b6f5768b..880cfde265e 100644
--- a/app-i18n/ibus-unikey/metadata.xml
+++ b/app-i18n/ibus-unikey/metadata.xml
@@ -10,7 +10,7 @@
     UniKey. Support via forum at: http://forum.ubuntu-vn.com/viewforum.php?f=85
   </longdescription>
   <use>
-    <flag name="gtk3">Enable support for <pkg>x11-libs/gtk+</pkg>:3</flag>
+    <flag name="gtk2">Enable support for <pkg>x11-libs/gtk+</pkg>:2</flag>
   </use>
   <upstream>
     <remote-id type="github">mrlequoctuan/ibus-unikey</remote-id>


             reply	other threads:[~2017-08-12 14:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-12 14:39 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-18 13:06 [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-unikey/ Akinori Hattori
2021-10-18 13:20 Akinori Hattori
2021-10-18 13:20 Akinori Hattori
2021-10-18 13:20 Akinori Hattori
2021-10-18 13:20 Akinori Hattori
2021-10-18 13:19 Akinori Hattori
2017-08-12 14:39 Akinori Hattori
2017-08-12 14:39 Akinori Hattori
2017-08-12 14:39 Akinori Hattori
2017-08-02 10:55 Thomas Deutschmann
2016-10-11  8:27 Yixun Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502548732.1bc7cbe866535252e1e8a232bb274011d0db3c30.hattya@gentoo \
    --to=hattya@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox