commit:     6ab98c966613ad11358f8f97384ec44b9d084ef7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 09:42:35 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 31 09:44:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ab98c96

sys-devel/distcc: Remove USE=gnome w/ deprecated deps

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/distcc/distcc-3.3.3-r1.ebuild | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/sys-devel/distcc/distcc-3.3.3-r1.ebuild 
b/sys-devel/distcc/distcc-3.3.3-r1.ebuild
index 3ab5ecab6d3..62198b2b38a 100644
--- a/sys-devel/distcc/distcc-3.3.3-r1.ebuild
+++ b/sys-devel/distcc/distcc-3.3.3-r1.ebuild
@@ -15,16 +15,10 @@ 
SRC_URI="https://github.com/distcc/distcc/releases/download/v${PV}/${P}.tar.gz";
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86"
-IUSE="gnome gssapi gtk hardened ipv6 selinux xinetd zeroconf"
+IUSE="gssapi gtk hardened ipv6 selinux xinetd zeroconf"
 
 CDEPEND="${PYTHON_DEPS}
        dev-libs/popt
-       gnome? (
-               >=gnome-base/libgnome-2
-               >=gnome-base/libgnomeui-2
-               x11-libs/gtk+:2
-               x11-libs/pango
-       )
        gssapi? ( net-libs/libgssglue )
        gtk? ( x11-libs/gtk+:2 )
        zeroconf? ( >=net-dns/avahi-0.6[dbus] )
@@ -84,7 +78,7 @@ src_configure() {
                --libdir=/usr/lib
                $(use_enable ipv6 rfc2553)
                $(use_with gtk)
-               $(use_with gnome)
+               --without-gnome
                $(use_with gssapi auth)
                $(use_with zeroconf avahi)
        )
@@ -137,7 +131,7 @@ src_install() {
 
        dobin "${T}/distcc-config"
 
-       if use gnome || use gtk; then
+       if use gtk; then
                einfo "Renaming /usr/bin/distccmon-gnome to 
/usr/bin/distccmon-gui"
                einfo "This is to have a little sensability in naming schemes 
between distccmon programs"
                mv "${ED}/usr/bin/distccmon-gnome" 
"${ED}/usr/bin/distccmon-gui" || die
@@ -170,8 +164,6 @@ pkg_postinst() {
                eselect compiler-shadow update distccd
        fi
 
-       use gnome && xdg_desktop_database_update
-
        elog
        elog "Tips on using distcc with Gentoo can be found at"
        elog "https://wiki.gentoo.org/wiki/Distcc";
@@ -182,7 +174,7 @@ pkg_postinst() {
        elog "To use the distccmon programs with Gentoo you should use this 
command:"
        elog "# DISTCC_DIR=\"${DISTCC_DIR:-${BUILD_PREFIX}/.distcc}\" 
distccmon-text 5"
 
-       if use gnome || use gtk; then
+       if use gtk; then
                elog "Or:"
                elog "# DISTCC_DIR=\"${DISTCC_DIR:-${BUILD_PREFIX}/.distcc}\" 
distccmon-gnome"
        fi
@@ -200,7 +192,3 @@ pkg_prerm() {
                eselect compiler-shadow remove distcc
        fi
 }
-
-pkg_postrm() {
-       use gnome && xdg_desktop_database_update
-}

Reply via email to