commit:     34fb3b4fdb652929a781bfc30305e5ec785b756a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 13:39:49 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:39:49 2016 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=34fb3b4f

dev-java/icedtea: gtk+ is never required at build time for v3

v3 doesn't support --enable-system-gtk yet and even when it does,
these dependencies should be conditional on the gtk flag.

Package-Manager: portage-2.2.27

 ...re07-r1.ebuild => icedtea-3.0.0_pre07-r2.ebuild} | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/dev-java/icedtea/icedtea-3.0.0_pre07-r1.ebuild 
b/dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild
similarity index 96%
rename from dev-java/icedtea/icedtea-3.0.0_pre07-r1.ebuild
rename to dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild
index 0f3271d..62170aa 100644
--- a/dev-java/icedtea/icedtea-3.0.0_pre07-r1.ebuild
+++ b/dev-java/icedtea/icedtea-3.0.0_pre07-r2.ebuild
@@ -62,8 +62,11 @@ EHG_REVISION="${ICEDTEA_PKG}${ICEDTEA_PRE}"
 LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 
MPL-1.0 MPL-1.1 public-domain W3C"
 KEYWORDS="~amd64 ~ppc64 ~x86"
 
-IUSE="+alsa cacao cjk +cups debug doc examples headless-awt jamvm +jbootstrap 
nsplugin
-       +nss pax_kernel pulseaudio sctp selinux smartcard +source test 
+webstart zero"
+IUSE="+alsa cacao cjk +cups debug doc examples +gtk headless-awt jamvm
+       +jbootstrap nsplugin +nss pax_kernel pulseaudio sctp selinux
+       smartcard +source test +webstart zero"
+
+REQUIRED_USE="gtk? ( !headless-awt )"
 
 # Ideally the following were optional at build time.
 ALSA_COMMON_DEP="
@@ -71,19 +74,14 @@ ALSA_COMMON_DEP="
 CUPS_COMMON_DEP="
        >=net-print/cups-1.2.12"
 X_COMMON_DEP="
-       >=dev-libs/atk-1.30.0
        >=dev-libs/glib-2.26:2
        media-libs/fontconfig
        >=media-libs/freetype-2.3.5
-       >=x11-libs/cairo-1.8.8:=
-       x11-libs/gdk-pixbuf:2
-       >=x11-libs/gtk+-2.8:2=
        >=x11-libs/libX11-1.1.3
        >=x11-libs/libXext-1.1.1
        >=x11-libs/libXi-1.1.3
        >=x11-libs/libXrender-0.9.4
-       >=x11-libs/libXtst-1.0.3
-       >=x11-libs/pango-1.24.5"
+       >=x11-libs/libXtst-1.0.3"
 X_DEPEND="
        >=x11-libs/libXau-1.0.3
        >=x11-libs/libXdmcp-1.0.2
@@ -122,6 +120,13 @@ RDEPEND="${COMMON_DEP}
        )
        alsa? ( ${ALSA_COMMON_DEP} )
        cups? ( ${CUPS_COMMON_DEP} )
+       gtk? (
+               >=dev-libs/atk-1.30.0
+               >=x11-libs/cairo-1.8.8:=
+               x11-libs/gdk-pixbuf:2
+               >=x11-libs/gtk+-2.8:2=
+               >=x11-libs/pango-1.24.5
+       )
        selinux? ( sec-policy/selinux-java )"
 
 # Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not 
present.

Reply via email to