app-i18n/uim: drop unicode USE flag
authorAkinori Hattori <hattya@gentoo.org>
Mon, 28 May 2018 14:21:32 +0000 (23:21 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Mon, 28 May 2018 14:55:57 +0000 (23:55 +0900)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-i18n/uim/uim-1.8.6-r1.ebuild
app-i18n/uim/uim-1.8.6-r2.ebuild

index e0afd85576e6c76f267d7ba28a5bb0c3a5fffed7..8f11f1958d1761c0e8e9154bdf024056f78c000a 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2"
 LICENSE="BSD GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 ~arm hppa ppc ppc64 x86"
-IUSE="X +anthy canna curl eb emacs expat libffi gtk gtk3 l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs unicode xft"
+IUSE="X +anthy canna curl eb emacs expat libffi gtk gtk3 l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify m17n-lib ncurses nls qt4 skk sqlite ssl static-libs xft"
 RESTRICT="test"
 REQUIRED_USE="gtk? ( X )
        gtk3? ( X )
@@ -29,10 +29,7 @@ CDEPEND="!dev-scheme/sigscheme
                x11-libs/libXrender
                x11-libs/libXt
        )
-       anthy? (
-               unicode? ( >=app-i18n/anthy-8622 )
-               !unicode? ( app-i18n/anthy )
-       )
+       anthy? ( app-i18n/anthy )
        canna? ( app-i18n/canna )
        curl? ( net-misc/curl )
        eb? ( dev-libs/eb )
@@ -98,6 +95,7 @@ src_prepare() {
 src_configure() {
        local myconf=(
                $(use_with X x)
+               $(use_with anthy anthy-utf8)
                $(use_with canna)
                $(use_with curl)
                $(use_with eb)
@@ -119,6 +117,7 @@ src_configure() {
                $(use_enable ssl openssl)
                $(use_enable static-libs static)
                $(use_with xft)
+               --without-anthy
                --disable-gnome-applet
                --disable-gnome3-applet
                --disable-kde-applet
@@ -127,16 +126,6 @@ src_configure() {
                --without-prime
        )
 
-       if use anthy; then
-               if use unicode; then
-                       myconf+=( --with-anthy-utf8 )
-               else
-                       myconf+=( --with-anthy )
-               fi
-       else
-               myconf+=( --without-anthy )
-       fi
-
        if (use gtk || use gtk3) && (use anthy || use canna); then
                myconf+=( --enable-dict )
        else
index faf0515534afd4d79678829be213227c0899c2e0..92b6abc0c684baa9e5fbcbed3ad4d8230900b4f4 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2"
 LICENSE="BSD GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
-IUSE="X +anthy canna curl eb emacs expat libffi gtk gtk3 l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify libressl m17n-lib ncurses nls qt4 skk sqlite ssl static-libs unicode xft"
+IUSE="X +anthy canna curl eb emacs expat libffi gtk gtk3 l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify libressl m17n-lib ncurses nls qt4 skk sqlite ssl static-libs xft"
 RESTRICT="test"
 REQUIRED_USE="gtk? ( X )
        gtk3? ( X )
@@ -29,10 +29,7 @@ CDEPEND="!dev-scheme/sigscheme
                x11-libs/libXrender
                x11-libs/libXt
        )
-       anthy? (
-               unicode? ( >=app-i18n/anthy-8622 )
-               !unicode? ( app-i18n/anthy )
-       )
+       anthy? ( app-i18n/anthy )
        canna? ( app-i18n/canna )
        curl? ( net-misc/curl )
        eb? ( dev-libs/eb )
@@ -102,6 +99,7 @@ src_prepare() {
 src_configure() {
        local myconf=(
                $(use_with X x)
+               $(use_with anthy anthy-utf8)
                $(use_with canna)
                $(use_with curl)
                $(use_with eb)
@@ -123,6 +121,7 @@ src_configure() {
                $(use_enable ssl openssl)
                $(use_enable static-libs static)
                $(use_with xft)
+               --without-anthy
                --disable-gnome-applet
                --disable-gnome3-applet
                --disable-kde-applet
@@ -131,16 +130,6 @@ src_configure() {
                --without-prime
        )
 
-       if use anthy; then
-               if use unicode; then
-                       myconf+=( --with-anthy-utf8 )
-               else
-                       myconf+=( --with-anthy )
-               fi
-       else
-               myconf+=( --without-anthy )
-       fi
-
        if (use gtk || use gtk3) && (use anthy || use canna); then
                myconf+=( --enable-dict )
        else