net-analyzer/wireshark: Install a desktop file with USE=qt5 (bug #562022 by Paolo...
authorJeroen Roovers <jer@gentoo.org>
Wed, 7 Oct 2015 05:39:33 +0000 (07:39 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 7 Oct 2015 05:42:06 +0000 (07:42 +0200)
Package-Manager: portage-2.2.22

net-analyzer/wireshark/wireshark-1.12.7.ebuild
net-analyzer/wireshark/wireshark-1.99.9.ebuild
net-analyzer/wireshark/wireshark-99999999.ebuild

index 47ff12c0e2406d43b76bc55118ce9cfc7e35434d..e227f750f9906aadffb7f98a8378af7aba4d934b 100644 (file)
@@ -234,7 +234,7 @@ src_install() {
                domenu wireshark.desktop
        fi
 
-       if use qt4; then
+       if use qt4 || use qt5; then
                sed -e '/Exec=/s|wireshark|&-qt|g' wireshark.desktop > wireshark-qt.desktop || die
                domenu wireshark-qt.desktop
        fi
index 1479231904e5adacbc327dfdfbe5341982cb2d95..591f9fe3dcba7a3d239519d72cd304e5c6c5bb0b 100644 (file)
@@ -240,7 +240,7 @@ src_install() {
                domenu wireshark.desktop
        fi
 
-       if use qt4; then
+       if use qt4 || use qt5; then
                sed -e '/Exec=/s|wireshark|&-qt|g' wireshark.desktop > wireshark-qt.desktop || die
                domenu wireshark-qt.desktop
        fi
index 02e46afe8ba4d42315e06d4e2d4c72bfdf73e643..bd4b9474f230ef44313850c08ec3be27e8eab141 100644 (file)
@@ -243,7 +243,7 @@ src_install() {
                domenu wireshark.desktop
        fi
 
-       if use qt4; then
+       if use qt4 || use qt5; then
                sed -e '/Exec=/s|wireshark|&-qt|g' wireshark.desktop > wireshark-qt.desktop || die
                domenu wireshark-qt.desktop
        fi