Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 472992
Collapse All | Expand All

(-)/usr/portage/net-analyzer/wireshark/wireshark-1.10.0.ebuild (-4 / +8 lines)
Lines 16-25 Link Here
16
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
16
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
17
IUSE="
17
IUSE="
18
	adns +caps crypt doc doc-pdf geoip gtk ipv6 kerberos libadns lua
18
	adns +caps crypt doc doc-pdf geoip gtk ipv6 kerberos libadns lua
19
	+netlink +pcap portaudio profile python selinux smi ssl zlib
19
	+netlink +pcap portaudio profile python qt4 selinux smi ssl zlib
20
"
20
"
21
REQUIRED_USE="
21
REQUIRED_USE="
22
	ssl? ( crypt )
22
	ssl? ( crypt )
23
	gtk? ( !qt4 )
23
"
24
"
24
25
25
RDEPEND="
26
RDEPEND="
Lines 41-46 Link Here
41
	pcap? ( net-libs/libpcap[-netlink] )
42
	pcap? ( net-libs/libpcap[-netlink] )
42
	portaudio? ( media-libs/portaudio )
43
	portaudio? ( media-libs/portaudio )
43
	python? ( ${PYTHON_DEPS} )
44
	python? ( ${PYTHON_DEPS} )
45
	qt4? ( dev-qt/qtgui:4 )
44
	selinux? ( sec-policy/selinux-wireshark )
46
	selinux? ( sec-policy/selinux-wireshark )
45
	smi? ( net-libs/libsmi )
47
	smi? ( net-libs/libsmi )
46
	ssl? ( net-libs/gnutls )
48
	ssl? ( net-libs/gnutls )
Lines 68-76 Link Here
68
S=${WORKDIR}/${MY_P}
70
S=${WORKDIR}/${MY_P}
69
71
70
pkg_setup() {
72
pkg_setup() {
71
	if ! use gtk; then
73
	if ! use gtk && ! use qt4; then
72
		ewarn "USE=-gtk disables gtk-based gui called wireshark."
74
		ewarn "Both gtk and qt4 are disabled so the gui called wireshark will not be built."
73
		ewarn "Only command line utils will be built available"
75
		ewarn "Only command line utils will be available"
74
	fi
76
	fi
75
77
76
	if use python; then
78
	if use python; then
Lines 146-151 Link Here
146
		$(use_with pcap) \
148
		$(use_with pcap) \
147
		$(use_with portaudio) \
149
		$(use_with portaudio) \
148
		$(use_with python) \
150
		$(use_with python) \
151
		$(use_enable qt4 wireshark) \
152
		$(use_with qt4 qt) \
149
		$(use_with smi libsmi) \
153
		$(use_with smi libsmi) \
150
		$(use_with ssl gnutls) \
154
		$(use_with ssl gnutls) \
151
		$(use_with zlib) \
155
		$(use_with zlib) \

Return to bug 472992