app-text/ghostscript-gpl: Rename and clarify idn useflag, bug 578862
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 17 Feb 2017 20:35:10 +0000 (21:35 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 17 Feb 2017 20:35:19 +0000 (21:35 +0100)
Thanks to gentoo_usr@fake-box.com

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-text/ghostscript-gpl/ghostscript-gpl-9.20-r2.ebuild
app-text/ghostscript-gpl/metadata.xml

index 021fdb2f9f1564175aacd33bd4fb6bad5ca413b3..c030a612360b5f8361baf2bb5bf5f984dc903b31 100644 (file)
@@ -33,8 +33,8 @@ SRC_URI="
 LICENSE="AGPL-3 CPL-1.0"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-# IUSE="cups dbus djvu gtk idn l10n_de static-libs tiff X"
-IUSE="cups dbus gtk idn l10n_de static-libs tiff X"
+# IUSE="cups dbus djvu gtk l10n_de static-libs tiff unicode X"
+IUSE="cups dbus gtk l10n_de static-libs tiff unicode X"
 # RESTRICT="djvu? ( bindist )"
 
 COMMON_DEPEND="
@@ -50,7 +50,7 @@ COMMON_DEPEND="
        cups? ( >=net-print/cups-1.3.8 )
        dbus? ( sys-apps/dbus )
        gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) )
-       idn? ( net-dns/libidn )
+       unicode? ( net-dns/libidn )
        tiff? ( >=media-libs/tiff-4.0.1:0= )
        X? ( x11-libs/libXt x11-libs/libXext )
 "
@@ -188,7 +188,7 @@ src_configure() {
                $(use_enable dbus) \
                $(use_enable gtk) \
                $(use_with cups pdftoraster) \
-               $(use_with idn libidn) \
+               $(use_with unicode libidn) \
                $(use_with tiff system-libtiff) \
                $(use_with X x)
 
index 503a83f6bcfbfb83244a4a4873386f3b87c31d6c..842d89a951678e1027e85dde7f52a590da41f8a5 100644 (file)
@@ -8,4 +8,7 @@
        <upstream>
                <remote-id type="sourceforge">djvu</remote-id>
        </upstream>
+       <use>
+               <flag name="unicode">Add support for unicode passwords via <pkg>net-dns/libidn</pkg></flag>
+       </use>
 </pkgmetadata>