26 lines
909 B
Bash
26 lines
909 B
Bash
# Template file for 'eiskaltdcpp-qt'
|
|
pkgname=eiskaltdcpp-qt
|
|
version=2.2.10
|
|
revision=6
|
|
wrksrc="eiskaltdcpp-${version}"
|
|
build_style=cmake
|
|
configure_args="-DUSE_MINIUPNP=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="bzip2-devel zlib-devel libressl-devel libidn-devel boost-devel miniupnpc-devel qt-devel"
|
|
short_desc="EiskaltDC++ is a cross-platform Direct Connect and ADC clent"
|
|
maintainer="samsky72 <samsky72@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="https://sourceforge.net/projects/eiskaltdcpp"
|
|
distfiles="https://github.com/eiskaltdcpp/eiskaltdcpp/archive/v${version}.tar.gz"
|
|
checksum=e461c8c499e459651d6382a6ded6788e5ac9a9c4ff26386c3cf073d94d606127
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt-devel"
|
|
fi
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
*-musl) makedepends+=" gettext-libs"
|
|
configure_args+=' -DCMAKE_EXE_LINKER_FLAGS="-lintl"';;
|
|
*) configure_args+=' -DCMAKE_EXE_LINKER_FLAGS="-lpthread"';;
|
|
esac
|