From: Jeroen Roovers Date: Wed, 7 Oct 2015 05:39:33 +0000 (+0200) Subject: net-analyzer/wireshark: Install a desktop file with USE=qt5 (bug #562022 by Paolo... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e516d316bfa68c96cba91aa0dac30f354343a8c;p=gentoo.git net-analyzer/wireshark: Install a desktop file with USE=qt5 (bug #562022 by Paolo Pedroni). Package-Manager: portage-2.2.22 --- diff --git a/net-analyzer/wireshark/wireshark-1.12.7.ebuild b/net-analyzer/wireshark/wireshark-1.12.7.ebuild index 47ff12c0e240..e227f750f990 100644 --- a/net-analyzer/wireshark/wireshark-1.12.7.ebuild +++ b/net-analyzer/wireshark/wireshark-1.12.7.ebuild @@ -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 diff --git a/net-analyzer/wireshark/wireshark-1.99.9.ebuild b/net-analyzer/wireshark/wireshark-1.99.9.ebuild index 1479231904e5..591f9fe3dcba 100644 --- a/net-analyzer/wireshark/wireshark-1.99.9.ebuild +++ b/net-analyzer/wireshark/wireshark-1.99.9.ebuild @@ -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 diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild index 02e46afe8ba4..bd4b9474f230 100644 --- a/net-analyzer/wireshark/wireshark-99999999.ebuild +++ b/net-analyzer/wireshark/wireshark-99999999.ebuild @@ -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