void-packages/srcpkgs/LGOGDownloader/template

29 lines
972 B
Bash

# Template file for 'LGOGDownloader'
pkgname=LGOGDownloader
version=3.9
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=4ab9fe89b47bde7744d5100663c7822de74bb161e2790baddede8146056430b1
build_options="qt"
desc_option_qt="Include QT WebEngine to support solving captchas"
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi