commit:     6629dedea02ca9a78e053a435f11af25904fa506
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 16:49:24 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 16:52:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6629dede

net-libs/gssdp: Fix removing gssdp-device-sniffer

Closes: https://bugs.gentoo.org/882467
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-libs/gssdp/gssdp-1.6.2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-libs/gssdp/gssdp-1.6.2.ebuild 
b/net-libs/gssdp/gssdp-1.6.2.ebuild
index 2a6c944d5900..0a3614d9bfdf 100644
--- a/net-libs/gssdp/gssdp-1.6.2.ebuild
+++ b/net-libs/gssdp/gssdp-1.6.2.ebuild
@@ -65,5 +65,8 @@ multilib_src_install_all() {
                mkdir "${ED}"/usr/share/gtk-doc || die
                mv "${ED}"/usr/share/{doc,gtk-doc}/gssdp-1.6 || die
        fi
-       rm "${ED}"/usr/bin/gssdp-device-sniffer || die # because of file 
collision with slot 0
+
+       if use gtk; then
+               rm "${ED}"/usr/bin/gssdp-device-sniffer || die # because of 
file collision with slot 0
+       fi
 }

Reply via email to