26 lines
1,017 B
Bash
26 lines
1,017 B
Bash
# Template file for 'eiskaltdcpp-qt'
|
|
pkgname=eiskaltdcpp-qt
|
|
version=2.2.10
|
|
revision=10
|
|
wrksrc="eiskaltdcpp-${version}"
|
|
build_style=cmake
|
|
configure_args="-DUSE_MINIUPNP=ON -DUSE_QT5=ON -DUSE_QT=OFF"
|
|
hostmakedepends="gettext pkg-config qt5-tools-devel qt5-host-tools qt5-qmake"
|
|
makedepends="bzip2-devel zlib-devel libressl-devel libidn-devel boost-devel
|
|
qt5-devel miniupnpc-devel qt5-multimedia-devel"
|
|
short_desc="EiskaltDC++ is a cross-platform Direct Connect and ADC clent"
|
|
maintainer="samsky72 <samsky72@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://sourceforge.net/projects/eiskaltdcpp"
|
|
distfiles="https://github.com/eiskaltdcpp/eiskaltdcpp/archive/v${version}.tar.gz"
|
|
checksum=e461c8c499e459651d6382a6ded6788e5ac9a9c4ff26386c3cf073d94d606127
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-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
|