mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
wireshark-qt: enable cross build
This commit is contained in:
parent
578e3cffa9
commit
840e5f9b83
1 changed files with 5 additions and 12 deletions
|
@ -1,13 +1,14 @@
|
||||||
# Template file for 'wireshark'
|
# Template file for 'wireshark'
|
||||||
pkgname=wireshark
|
pkgname=wireshark
|
||||||
version=2.2.2
|
version=2.2.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-ssl --with-pcap --with-libcap --with-zlib --with-lua
|
configure_args="--with-ssl --with-pcap --with-libcap --with-zlib --with-lua
|
||||||
--with-krb5 --with-gtk=3 --without-portaudio CC_FOR_BUILD=cc"
|
--with-krb5 --with-gtk=3 --with-qt=5 --without-portaudio CC_FOR_BUILD=cc"
|
||||||
hostmakedepends="pkg-config flex perl python-devel mit-krb5-devel automake libtool qt5-tools glib-devel"
|
hostmakedepends="pkg-config flex perl python-devel mit-krb5-devel automake libtool
|
||||||
|
qt5-host-tools qt5-tools glib-devel"
|
||||||
makedepends="libpcap-devel zlib-devel lua52-devel mit-krb5-devel gnutls-devel
|
makedepends="libpcap-devel zlib-devel lua52-devel mit-krb5-devel gnutls-devel
|
||||||
geoip-devel libgcrypt-devel gtk+3-devel libcap-devel sbc-devel c-ares-devel"
|
geoip-devel libgcrypt-devel gtk+3-devel qt5-devel libcap-devel sbc-devel c-ares-devel"
|
||||||
depends="libcap-progs"
|
depends="libcap-progs"
|
||||||
short_desc="A network protocol analyzer"
|
short_desc="A network protocol analyzer"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
@ -18,17 +19,9 @@ distfiles="http://www.wireshark.org/download/src/${pkgname}-${version}.tar.bz2"
|
||||||
#distfiles="https://sources.voidlinux.eu/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
|
#distfiles="https://sources.voidlinux.eu/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=f9acef5e9a9021a400b4244fafc06969f41ec594ec57fd7f0ff63bafca0055b3
|
checksum=f9acef5e9a9021a400b4244fafc06969f41ec594ec57fd7f0ff63bafca0055b3
|
||||||
system_groups="wireshark"
|
system_groups="wireshark"
|
||||||
subpackages="libwireshark libwireshark-devel wireshark-gtk"
|
|
||||||
|
|
||||||
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
||||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
makedepends+=" qt5-devel"
|
|
||||||
configure_args+=" --with-qt=yes"
|
|
||||||
subpackages+=" wireshark-qt"
|
|
||||||
else
|
|
||||||
configure_args+=" --with-qt=no"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue