void-packages/srcpkgs/LGOGDownloader/template

25 lines
897 B
Bash

# Template file for 'LGOGDownloader'
pkgname=LGOGDownloader
version=3.11
revision=4
build_style=cmake
configure_args="$(vopt_bool qt USE_QT_GUI)"
hostmakedepends="pkg-config"
makedepends="htmlcxx-devel tinyxml2-devel libcurl-devel rhash-devel
jsoncpp-devel boost-devel openssl-devel zlib-devel
$(vopt_if qt "qt5-webengine-devel qt5-declarative-devel
qt5-webchannel-devel qt5-location-devel")"
short_desc="Open source downloader for GOG.com games that uses the GOG.com API"
maintainer="RunningDroid <runningdroid@zoho.com>"
license="WTFPL"
homepage="https://github.com/Sude-/lgogdownloader"
distfiles="https://github.com/Sude-/lgogdownloader/archive/v${version}.tar.gz"
checksum=01c9556287d5f49662c2219365b9d306482e8efadc805c3dbb9381d5110df719
build_options="qt"
desc_option_qt="Include QT WebEngine to support solving captchas"
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi