summaryrefslogtreecommitdiff
path: root/wireshark/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'wireshark/Pkgfile')
-rw-r--r--wireshark/Pkgfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/wireshark/Pkgfile b/wireshark/Pkgfile
index 7fefda646..8881c185a 100644
--- a/wireshark/Pkgfile
+++ b/wireshark/Pkgfile
@@ -1,11 +1,11 @@
# Description: Network Sniffer
# URL: https://www.wireshark.org
# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: c-ares hicolor-icon-theme libgcrypt libpcap libpcre2 qt5
+# Depends on: c-ares hicolor-icon-theme libgcrypt libpcap qt6-5compat qt6-multimedia qt6-translations
name=wireshark
version=4.0.2
-release=1
+release=2
source=(https://www.wireshark.org/download/src/$name-$version.tar.xz)
build() {
@@ -25,7 +25,8 @@ build() {
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D CMAKE_INSTALL_PREFIX=/usr \
- -D CMAKE_INSTALL_LIBDIR=lib
+ -D CMAKE_INSTALL_LIBDIR=lib \
+ -D USE_qt6=ON
cmake --build build
DESTDIR=$PKG cmake --install build
@@ -33,6 +34,6 @@ build() {
chown root:wireshark $PKG/usr/bin/dumpcap
chmod u+s $PKG/usr/bin/dumpcap
- # Don't remove these files, they are read by wireshark's about box.
+ # Don't remove these files, they are read by wiresharks about box.
#rm -f $PKG/usr/share/$name/{AUTHORS-SHORT,COPYING}
}

Generated by cgit