mozconfig-v6.60.eclass: Remove dead code
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 14:42:26 +0000 (16:42 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 16:19:05 +0000 (18:19 +0200)
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
eclass/mozconfig-v6.60.eclass

index 101db58a81f71b5f88d53cf3b2c235757df1ef9a..f8b6b65811f74e365f43ac9c81e962cb1e24eeda 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 #
-# @ECLASS: mozconfig-v6.58.eclass
+# @ECLASS: mozconfig-v6.60.eclass
 # @MAINTAINER:
 # mozilla team <mozilla@gentoo.org>
 # @SUPPORTED_EAPIS: 5 6 7
@@ -74,16 +74,6 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v6
 # Set the variable to "enabled" if the use flag should be enabled by default.
 # Set the variable to any value if the use flag should exist but not be default-enabled.
 
-# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_QT5
-# @DESCRIPTION:
-# Set this variable before the inherit line, when an ebuild can provide
-# optional qt5 support via IUSE="qt5".  Currently this would include
-# ebuilds for firefox, but thunderbird and seamonkey could follow in the future.
-#
-# Leave the variable UNSET if qt5 support should not be available.
-# Set the variable to "enabled" if the use flag should be enabled by default.
-# Set the variable to any value if the use flag should exist but not be default-enabled.
-
 # use-flags common among all mozilla ebuilds
 IUSE="${IUSE} dbus debug neon pulseaudio selinux startup-notification system-harfbuzz
  system-icu system-jpeg system-libevent system-sqlite system-libvpx"
@@ -295,21 +285,6 @@ mozconfig_config() {
                        toolkit_comment="gtk2 use flag"
                fi
        fi
-       if [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]]; then
-               if use qt5; then
-                       toolkit="cairo-qt"
-                       toolkit_comment="qt5 use flag"
-                       # need to specify these vars because the qt5 versions are not found otherwise,
-                       # and setting --with-qtdir overrides the pkg-config include dirs
-                       local i
-                       for i in qmake moc rcc; do
-                               echo "export HOST_${i^^}=\"$(qt5_get_bindir)/${i}\"" \
-                                       >> "${S}"/.mozconfig || die
-                       done
-                       echo 'unset QTDIR' >> "${S}"/.mozconfig || die
-                       mozconfig_annotate '+qt5' --disable-gio
-               fi
-       fi
        mozconfig_annotate "${toolkit_comment}" --enable-default-toolkit=${toolkit}
 
        # Instead of the standard --build= and --host=, mozilla uses --host instead