void-packages/srcpkgs/kvirc/template
2018-07-14 17:35:10 +02:00

24 lines
734 B
Bash

# Template file for 'kvirc'
pkgname=kvirc
version=4.2.0
revision=16
build_style=cmake
configure_args="-DWANT_ENV_FLAGS=1 -DWANT_KDE4=0"
hostmakedepends="automoc4"
makedepends="zlib-devel qt-devel qt-webkit-devel libressl-devel python-devel perl"
short_desc="Qt-based IRC client"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="http://www.kvirc.net"
distfiles="ftp://ftp.kvirc.de/pub/kvirc/${version}/source/${pkgname}-${version}.tar.bz2"
checksum=9a547d52d804e39c9635c8dc58bccaf4d34341ef16a9a652a5eb5568d4d762cb
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt-qmake qt-host-tools"
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
fi
}