commit: 4a7332f9759b415194639ddf1585940cd78c37ac
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 23 05:41:54 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Oct 23 05:42:31 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7332f9
net-analyzer/wireshark: Install pcap icons, explicitly name Qt variant in
desktop file by miflab (bug #563246).
Package-Manager: portage-2.2.23
net-analyzer/wireshark/wireshark-99999999.ebuild | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild
b/net-analyzer/wireshark/wireshark-99999999.ebuild
index c17f5f2..4a25e68 100644
--- a/net-analyzer/wireshark/wireshark-99999999.ebuild
+++ b/net-analyzer/wireshark/wireshark-99999999.ebuild
@@ -236,6 +236,10 @@ src_install() {
newins image/${c}${d}-app-wireshark.png
wireshark.png
done
done
+ for d in 16 24 32 48 64 128 256 ; do
+ insinto /usr/share/icons/hicolor/${d}x${d}/mimetypes
+ newins image/WiresharkDoc-${d}.png
application-vnd.tcpdump.pcap.png
+ done
fi
if use gtk3; then
@@ -243,7 +247,11 @@ src_install() {
fi
if use qt4 || use qt5; then
- sed -e '/Exec=/s|wireshark|&-qt|g' wireshark.desktop >
wireshark-qt.desktop || die
+ sed \
+ -e '/Exec=/s|wireshark|&-qt|g' \
+ -e 's|^Name.*=Wireshark|& (Qt)|g' \
+ wireshark.desktop > wireshark-qt.desktop \
+ || die
domenu wireshark-qt.desktop
fi