void-packages/srcpkgs/qbittorrent/template
2015-08-08 07:21:21 +02:00

28 lines
900 B
Bash

# Template file for 'qbittorrent'
pkgname=qbittorrent
version=3.2.3
revision=1
build_style=gnu-configure
configure_args="--disable-systemd --with-qt5 $(vopt_enable gui) $(vopt_enable webui)"
hostmakedepends="automake libtool pkg-config qt5-tools"
makedepends="boost-devel libtorrent1-devel
qt5-declarative-devel qt5-devel qt5-qmake"
short_desc="Free software alternative to µtorrent"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=86a79f3772bd06736a4be104180187d76c5c8feb2c1cdf1054135b4ba602a914
build_options="gui webui"
desc_option_gui="Enable the graphical user interface"
desc_option_webui="Enable the web user interface"
build_options_default="gui"
pre_configure() {
cd ${wrksrc}
qmake
}
do_install() {
make INSTALL_ROOT="${DESTDIR}" install
}