void-packages/srcpkgs/qbittorrent/template
2016-04-12 10:48:03 +02:00

26 lines
849 B
Bash

# Template file for 'qbittorrent'
pkgname=qbittorrent
version=3.3.4
revision=1
build_style=qmake
hostmakedepends="automake libtool pkg-config qt5-tools"
makedepends="boost-devel libtorrent-rasterbar-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=c0d0d4b72c240f113b59a061146803bc1b7926d3d7f39b06b50a4d26f5ad91b8
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() {
./configure --prefix=/usr \
--disable-systemd \
--with-qt5 \
$(vopt_enable gui) \
$(vopt_enable webui)
}