-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
27 lines (25 loc) · 894 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Template file for 'kvirc'
pkgname=kvirc
version=5.0.0
revision=14
build_style=cmake
configure_args="-DWANT_ENV_FLAGS=1 -DWANT_KDE=0"
hostmakedepends="perl"
makedepends="zlib-devel qt5-devel qt5-webkit-devel openssl-devel python3-devel perl
qt5-multimedia-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
qt5-plugin-sqlite qt5-plugin-tds"
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.net/pub/kvirc/${version}/source/KVIrc-${version}.tar.bz2"
checksum=76cd4cdcaca5e4056f086cdcbb6122c2ca7e331d6e66c7ebc57d32565f626a65
if [ "$CROSS_BUILD" ];then
hostmakedepends+=" qt5-qmake qt5-host-tools"
configure_args+=" -DWANT_PERL=0" # breaks at least on arm
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
configure_args+=" -C ${FILESDIR}/TryRunResults.cmake"
fi
}