# wireshark/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

#---------------------------------------------------------------------

[buildtimes]

00.18 hours (or 011.00 minutes) - HP EliteBook 8560w 32GB RAM
00.26 hours (or 015.63 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.71 hours (or 042.52 minutes) - ThinkPad E540 i7 4x2 16GB RAM
01.11 hours (or 066.85 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

#---------------------------------------------------------------------

[settings]
altpkg   = yes
exepack  = yes
fortran  = disabled
license  = See "license*.txt" in installed tree
licfile  = COPYING
tmpsize  = 684M

dontfind = portaudio18

setpaths = \
brotli     c-ares     gnutls3      gtkcore    \
libcap     libgcrypt  liblz4       libnl      \
libpcap    libsmi     libxml2      minizip-ng \
nghttp2    pcre2      portaudio19  qt5        \
speexdsp   wireshark  zlib         zstd

#---------------------------------------------------------------------

[depends]
actools
asciidoctor
bison3
brotli
bzip2
c-ares
cairo
cmake
expat
flac
flex
fontconfig
freetype2
gawk
geoip
gnutls3
graphite2
grep
gtkcore
libbsd
libcap
libffi
libgcrypt
libgmp
libgpg-error
liblz4
libnl
libogg
libpcap
libpng
libpopt
libsmi
libsndfile
libtasn1
libvorbis
libxml2
libxslt
lua52
lynx
minizip-ng
nettle3
nghttp2
openssl
p11kit
pcre
pcre2
perl
pkgconf
portaudio19
pulseaudio
python
qt
sed
speexdsp
tcp-wrappers
util-linux
xorg
xzutils
zlib
zstd

#---------------------------------------------------------------------

[configure]
mkdir obj
cd    obj
cmake \
    -DCMAKE_BUILD_TYPE=RELEASE           \
    -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD  \
    -DCMAKE_INSTALL_LIBDIR=lib           \
    -DENABLE_PLUGINS=ON                  \
    -G Ninja                             \
    ..

#---------------------------------------------------------------------

[build]
cd obj
ninja_simple_build

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian  = tbd
url_home    = http://www.wireshark.org/
url_lfs     = n/a

url_tarball = http://www.wireshark.org/download/src/\
wireshark-4.0.7.tar.xz

#---------------------------------------------------------------------

[history]
120821 Updated from 1.8.1 to 1.8.2
170516 Updated from 2.0.0 to 2.2.6
170603 Updated to 2.2.7
170917 Updated to 2.4.1
171011 Updated to 2.4.2
171201 Updated to 2.4.3
180114 Updated to 2.4.4
180303 Updated to 2.4.5
180316 Updated to 2.5.1
180526 Updated to 2.6.1
180719 Updated to 2.6.2
180830 Updated to 2.6.3
181011 Updated to 2.6.4
181130 Updated to 2.6.5
190228 Updated to 2.6.7
210204 Updated to 3.4.3
210313 Updated to 3.4.4
210423 Updated to 3.4.5
210603 Updated to 3.4.6
210715 Updated to 3.4.7
210830 Updated to 3.4.8
211006 Updated to 3.4.9
211118 Updated to 3.4.10
220505 Updated to 3.6.5
220616 Updated to 3.6.6
220801 Updated to 3.6.7
230211 Updated to 4.0.3
230415 Updated to 4.0.5
230527 Updated to 4.0.6
230713 Updated to 4.0.7