#!/usr/bin/env beesh

# BEE_VERSION wireshark-4.0.2-0

#SRCURL[0]="https://1.eu.dl.wireshark.org/src/all-versions/wireshark-${PKGVERSION}.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/60eb89ab41cd2dbfcefed7efeccec9e3/wireshark-4.0.2.tar.xz"

PATCHURL+=(/src/mariux/patches/wireshark-add-auth-mariux)

# build_in_sourcedir

# sourcesubdir_append src

BEE_BUILDTYPE='autotools'

#mee_extract() {
#    bee_extract "${@}"
#}

#mee_patch() {
#    bee_patch "${@}"
#}

mee_configure() {
    CFLAGS=-Wno-maybe-uninitialized \
    bee_configure \
        -DUSE_QT6=NO \
        -DCMAKE_PREFIX_PATH=/usr/local/qt5
}

#mee_build() {
#    bee_build
#}

#mee_install() {
#    bee_install
#}