summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-28 14:18:33 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-28 14:18:33 +0000
commit9f55bf904d984c2a44268e167f30ed23f6402a23 (patch)
tree4ac84cf5dd7393179ceea7ce9c7cfa5d5e4a481d
parent80bea25a0625836cabcc046a2b849aea69afbe7c (diff)
net-dns/avahi : remove useless menu entry if avahi is not linked to any gui toolkit
-rw-r--r--net-dns/avahi/avahi-0.7-r1.ebuild (renamed from net-dns/avahi/avahi-0.7.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-dns/avahi/avahi-0.7.ebuild b/net-dns/avahi/avahi-0.7-r1.ebuild
index d77bb4af..e13fa8b8 100644
--- a/net-dns/avahi/avahi-0.7.ebuild
+++ b/net-dns/avahi/avahi-0.7-r1.ebuild
@@ -185,6 +185,10 @@ multilib_src_install() {
insinto /usr/share/devhelp/books/avahi
doins avahi.devhelp || die
fi
+
+ if ! use gtk && ! use gtk3 && ! use qt4; then
+ rm -rf ${D}usr/share/applications
+ fi
}
multilib_src_install_all() {