|
|
@@ -68,7 +68,21 @@ configure.args-append \ |
|
|
patchfiles-append patch-wireshark2-luafix-001.diff |
|
|
patchfiles-append patch-wireshark2-luafix-002.diff |
|
|
|
|
|
variant qt5 conflicts no_gui description {Build wireshark with a qt5 GUI} { } |
|
|
variant qt5 conflicts no_gui description {Build wireshark with a qt5 GUI} { |
|
|
PortGroup qt5 1.0 |
|
|
configure.args-replace -DENABLE_APPLICATION_BUNDLE=OFF -DENABLE_APPLICATION_BUNDLE=ON |
|
|
configure.args-replace -DBUILD_wireshark=OFF -DBUILD_wireshark=ON |
|
|
configure.args-append -DENABLE_QT5=ON |
|
|
qt5.depends_component qtbase \ |
|
|
qtmacextras \ |
|
|
qtmultimedia \ |
|
|
qtsvg \ |
|
|
qttranslations |
|
|
|
|
|
post-destroot { |
|
|
move ${destroot}/${prefix}/bin/Wireshark.app ${destroot}${applications_dir}/Wireshark.app |
|
|
} |
|
|
} |
|
|
|
|
|
variant no_gui conflicts qt5 description {do not build the wireshark GUI} { |
|
|
## initial settings (above) handle this |
|
|
@@ -131,26 +145,6 @@ if {![variant_isset qt5] && ![variant_isset no_gui]} { |
|
|
default_variants-append +qt5 |
|
|
} |
|
|
|
|
|
if {[variant_isset qt5]} { |
|
|
PortGroup qt5 1.0 |
|
|
qt5.depends_component qtmacextras qtmultimedia qtsvg qttranslations |
|
|
configure.args-replace -DENABLE_APPLICATION_BUNDLE=OFF -DENABLE_APPLICATION_BUNDLE=ON |
|
|
configure.args-replace -DBUILD_wireshark=OFF -DBUILD_wireshark=ON |
|
|
configure.args-append -DENABLE_QT5=ON |
|
|
# post-destroot { |
|
|
# ln -s ${prefix}/bin/dumpcap ${destroot}/${prefix}/bin/wireshark.app/Contents/MacOS/ |
|
|
# file mkdir ${destroot}/${prefix}/bin/wireshark.app/Contents/PlugIns |
|
|
# ln -s ${prefix}/lib/wireshark/plugins/${version} ${destroot}/${prefix}/bin/wireshark.app/Contents/PlugIns/wireshark |
|
|
# file copy ${worksrcpath}/packaging/macosx/Resources ${destroot}/${prefix}/bin/wireshark.app/Contents/ |
|
|
# file delete ${destroot}/${prefix}/bin/wireshark.app/Contents/Info.plist |
|
|
# file copy ${worksrcpath}/packaging/macosx/Info.plist ${destroot}/${prefix}/bin/wireshark.app/Contents/ |
|
|
# move ${destroot}/${prefix}/bin/wireshark.app ${destroot}${applications_dir}/Wireshark.app |
|
|
# } |
|
|
post-destroot { |
|
|
move ${destroot}/${prefix}/bin/Wireshark.app ${destroot}${applications_dir}/Wireshark.app |
|
|
} |
|
|
} |
|
|
|
|
|
post-destroot { |
|
|
xinstall -d ${destroot}${prefix}/include/wireshark/epan/crypt/ |
|
|
xinstall -d ${destroot}${prefix}/include/wireshark/epan/dfilter/ |
|
|
|