summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-10-23 07:41:54 +0200
committerJeroen Roovers <jer@gentoo.org>2015-10-23 07:42:31 +0200
commit4a7332f9759b415194639ddf1585940cd78c37ac (patch)
tree69305ec00341e4ece957514101246ba907a7fdec /net-analyzer/wireshark
parentdev-util/debootstrap: Version bump. (diff)
downloadgentoo-4a7332f9759b415194639ddf1585940cd78c37ac.tar.gz
gentoo-4a7332f9759b415194639ddf1585940cd78c37ac.tar.bz2
gentoo-4a7332f9759b415194639ddf1585940cd78c37ac.zip
net-analyzer/wireshark: Install pcap icons, explicitly name Qt variant in desktop file by miflab (bug #563246).
Package-Manager: portage-2.2.23
Diffstat (limited to 'net-analyzer/wireshark')
-rw-r--r--net-analyzer/wireshark/wireshark-99999999.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild
index c17f5f2a8861..4a25e68d4edc 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