Revert "mozconfig-v6.49.eclass: Make dependency on gtk+:2 optional (bug #601326)."
authorIan Stakenvicius <axs@gentoo.org>
Fri, 2 Dec 2016 17:08:55 +0000 (12:08 -0500)
committerIan Stakenvicius <axs@gentoo.org>
Fri, 2 Dec 2016 17:08:55 +0000 (12:08 -0500)
This reverts commit 00b1fa774f05e16d855dbf39e42d2eb6a7483ab7.

At this time the gtk+:2 dependencies are still required.

eclass/mozconfig-v6.49.eclass

index 495cf540f81167bd0eda4fef9204137a90adbe50..283aecda9b8c2f283d7d7ac113453faa41cde23a 100644 (file)
@@ -94,6 +94,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
        dev-libs/atk
        dev-libs/expat
        >=x11-libs/cairo-1.10[X]
+       >=x11-libs/gtk+-2.18:2
        x11-libs/gdk-pixbuf
        >=x11-libs/pango-1.22.0
        >=media-libs/libpng-1.6.21:0=[apng]
@@ -134,8 +135,7 @@ if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
                IUSE+=" gtk3"
        fi
        RDEPEND+="
-       gtk3? ( >=x11-libs/gtk+-3.4.0:3 )
-       !gtk3? ( >=x11-libs/gtk+-2.18:2 )"
+       gtk3? ( >=x11-libs/gtk+-3.4.0:3 )"
 elif [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then
        if [[ ${MOZCONFIG_OPTIONAL_GTK2ONLY} = "enabled" ]]; then
                IUSE+=" +gtk2"
@@ -143,11 +143,7 @@ elif [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then
                IUSE+=" gtk2"
        fi
        RDEPEND+="
-       gtk2? ( >=x11-libs/gtk+-2.18:2 )
        !gtk2? ( >=x11-libs/gtk+-3.4.0:3 )"
-else
-       RDEPEND+="
-               >=x11-libs/gtk+-2.18:2"
 fi
 if [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]]; then
        inherit qmake-utils