Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=6 |
5 |
inherit cmake-utils eutils fcaps flag-o-matic git-r3 gnome2-utils ltprune multilib qmake-utils user xdg-utils |
5 |
PYTHON_COMPAT=( python3_{4,5,6,7} ) |
|
|
6 |
inherit cmake-utils eutils fcaps flag-o-matic git-r3 gnome2-utils ltprune multilib python-r1 qmake-utils user xdg-utils |
6 |
|
7 |
|
7 |
DESCRIPTION="A network protocol analyzer formerly known as ethereal" |
8 |
DESCRIPTION="A network protocol analyzer formerly known as ethereal" |
8 |
HOMEPAGE="https://www.wireshark.org/" |
9 |
HOMEPAGE="https://www.wireshark.org/" |
Lines 55-60
CDEPEND="
Link Here
|
55 |
# and broken installs. #455122 |
56 |
# and broken installs. #455122 |
56 |
DEPEND=" |
57 |
DEPEND=" |
57 |
${CDEPEND} |
58 |
${CDEPEND} |
|
|
59 |
${PYTHON_DEPS} |
58 |
dev-lang/perl |
60 |
dev-lang/perl |
59 |
!<virtual/perl-Pod-Simple-3.170 |
61 |
!<virtual/perl-Pod-Simple-3.170 |
60 |
!<perl-core/Pod-Simple-3.170 |
62 |
!<perl-core/Pod-Simple-3.170 |
Lines 74-79
RDEPEND="
Link Here
|
74 |
qt5? ( virtual/freedesktop-icon-theme ) |
76 |
qt5? ( virtual/freedesktop-icon-theme ) |
75 |
selinux? ( sec-policy/selinux-wireshark ) |
77 |
selinux? ( sec-policy/selinux-wireshark ) |
76 |
" |
78 |
" |
|
|
79 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
77 |
PATCHES=( |
80 |
PATCHES=( |
78 |
"${FILESDIR}"/${PN}-2.4-androiddump.patch |
81 |
"${FILESDIR}"/${PN}-2.4-androiddump.patch |
79 |
"${FILESDIR}"/${PN}-2.6.0-redhat.patch |
82 |
"${FILESDIR}"/${PN}-2.6.0-redhat.patch |
Lines 107-112
src_configure() {
Link Here
|
107 |
append-cxxflags -fPIC -DPIC |
110 |
append-cxxflags -fPIC -DPIC |
108 |
fi |
111 |
fi |
109 |
|
112 |
|
|
|
113 |
python_setup 'python3*' |
114 |
|
110 |
mycmakeargs+=( |
115 |
mycmakeargs+=( |
111 |
$(use androiddump && use pcap && echo -DEXTCAP_ANDROIDDUMP_LIBPCAP=yes) |
116 |
$(use androiddump && use pcap && echo -DEXTCAP_ANDROIDDUMP_LIBPCAP=yes) |
112 |
$(usex qt5 LRELEASE=$(qt5_get_bindir)/lrelease '') |
117 |
$(usex qt5 LRELEASE=$(qt5_get_bindir)/lrelease '') |