net-analyzer/wireshark: Explicitely depend on media-libs/speex with USE=qt5
authorJustin Lecher <jlec@gentoo.org>
Wed, 4 Jan 2017 12:44:32 +0000 (12:44 +0000)
committerJustin Lecher <jlec@gentoo.org>
Thu, 5 Jan 2017 19:26:13 +0000 (19:26 +0000)
Configure checks for speex presents when using QT and automatically uses
it without control via USE. This results in 'preserved libs' when
removing speex

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
net-analyzer/wireshark/metadata.xml
net-analyzer/wireshark/wireshark-2.2.3.ebuild
net-analyzer/wireshark/wireshark-99999999.ebuild

index b539ed354f3e43c90c46a75233bdfcd6596e93c8..b72cb57da06509061c49c7294ee83827d9985bde 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-<email>netmon@gentoo.org</email>
-<name>Gentoo network monitoring and analysis project</name>
-</maintainer>
-<longdescription>
+       <maintainer type="project">
+               <email>netmon@gentoo.org</email>
+               <name>Gentoo network monitoring and analysis project</name>
+       </maintainer>
+       <longdescription>
        Wireshark is the world's foremost network protocol analyzer, and is the de
        facto (and often de jure) standard across many industries and educational
        institutions. Wireshark has a rich feature set which includes 1) deep
        intuitive analysis, 12) output can be exported to XML, PostScript®, CSV, or
        plain text 
 </longdescription>
-<use>
-<flag name="adns">Use the GNU <pkg>net-dns/c-ares</pkg> library to resolve DNS names</flag>
-<flag name="androiddump">Install androiddump, an extcap interface to capture from Android devices</flag>
-<flag name="ciscodump">Install ciscodump, extcap interface to capture from a remote Cisco router</flag>
-<flag name="crypt">Use <pkg>dev-libs/libgcrypt</pkg> to decrypt traffic</flag>
-<flag name="doc-pdf">Build documentation in pdf format (US and a4 paper sizes)</flag>
-<flag name="libssh">Use <pkg>net-libs/libssh</pkg> (for sshdump)</flag>
-<flag name="netlink">Use <pkg>dev-libs/libnl</pkg></flag>
-<flag name="pcap">Use <pkg>net-libs/libpcap</pkg> for network packet capturing (build dumpcap, rawshark)</flag>
-<flag name="qt4">Build the wireshark executable with an experimental Qt UI instead of GTK+.</flag>
-<flag name="randpkt">Install randpkt, a utility for creating pcap trace files full of random packets</flag>
-<flag name="randpktdump">Install randpktdump, an extcap interface to provide access to the random packet generator (randpkt)</flag>
-<flag name="sbc">Use <pkg>media-libs/sbc</pkg> for playing back SBC encoded packets</flag>
-<flag name="smi">Use <pkg>net-libs/libsmi</pkg> to resolve numeric OIDs into human readable format</flag>
-<flag name="sshdump">Install sshdump, an extcap interface to capture from a remote host through SSH</flag>
-<flag name="tfshark">Install tfshark, a terminal-based version of the FileShark capability</flag>
-</use>
+       <use>
+               <flag name="adns">Use the GNU <pkg>net-dns/c-ares</pkg> library to resolve DNS names</flag>
+               <flag name="androiddump">Install androiddump, an extcap interface to capture from Android devices</flag>
+               <flag name="ciscodump">Install ciscodump, extcap interface to capture from a remote Cisco router</flag>
+               <flag name="crypt">Use <pkg>dev-libs/libgcrypt</pkg> to decrypt traffic</flag>
+               <flag name="doc-pdf">Build documentation in pdf format (US and a4 paper sizes)</flag>
+               <flag name="libssh">Use <pkg>net-libs/libssh</pkg> (for sshdump)</flag>
+               <flag name="netlink">Use <pkg>dev-libs/libnl</pkg></flag>
+               <flag name="pcap">Use <pkg>net-libs/libpcap</pkg> for network packet capturing (build dumpcap, rawshark)</flag>
+               <flag name="qt4">Build the wireshark executable with an experimental Qt UI instead of GTK+.</flag>
+               <flag name="randpkt">Install randpkt, a utility for creating pcap trace files full of random packets</flag>
+               <flag name="randpktdump">Install randpktdump, an extcap interface to provide access to the random packet generator (randpkt)</flag>
+               <flag name="sbc">Use <pkg>media-libs/sbc</pkg> for playing back SBC encoded packets</flag>
+               <flag name="smi">Use <pkg>net-libs/libsmi</pkg> to resolve numeric OIDs into human readable format</flag>
+               <flag name="sshdump">Install sshdump, an extcap interface to capture from a remote host through SSH</flag>
+               <flag name="tfshark">Install tfshark, a terminal-based version of the FileShark capability</flag>
+       </use>
 </pkgmetadata>
index 86dcffcd766a1b7924c7899158449c8dac8df371..e550ae2b51cf6fcdc9f8f49ff3c2748c421e5e30 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -55,6 +55,7 @@ CDEPEND="
                dev-qt/qtmultimedia:5
                dev-qt/qtprintsupport:5
                dev-qt/qtwidgets:5
+               media-libs/speex
                x11-misc/xdg-utils
        )
        sbc? ( media-libs/sbc )
index 87ee793f9b909bd2d4046c2af2a59a8dfe17ed84..671d50cce76f840309f98592e31d4d756b97bd4d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -47,6 +47,7 @@ CDEPEND="
                dev-qt/qtmultimedia:5
                dev-qt/qtprintsupport:5
                dev-qt/qtwidgets:5
+               media-libs/speex
                x11-misc/xdg-utils
        )
        sbc? ( media-libs/sbc )