commit:     4bb5d2a229101f557ac995767c9283d8d7aa3b9f
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 20:35:10 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 20:35:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bb5d2a2

app-text/ghostscript-gpl: Rename and clarify idn useflag, bug 578862

Thanks to gentoo_usr <AT> fake-box.com

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/ghostscript-gpl/ghostscript-gpl-9.20-r2.ebuild | 8 ++++----
 app-text/ghostscript-gpl/metadata.xml                   | 3 +++
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.20-r2.ebuild 
b/app-text/ghostscript-gpl/ghostscript-gpl-9.20-r2.ebuild
index 021fdb2f9f..c030a61236 100644
--- a/app-text/ghostscript-gpl/ghostscript-gpl-9.20-r2.ebuild
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.20-r2.ebuild
@@ -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)
 

diff --git a/app-text/ghostscript-gpl/metadata.xml 
b/app-text/ghostscript-gpl/metadata.xml
index 503a83f6bc..842d89a951 100644
--- a/app-text/ghostscript-gpl/metadata.xml
+++ b/app-text/ghostscript-gpl/metadata.xml
@@ -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>

Reply via email to