void-packages/srcpkgs/LGOGDownloader/template

25 lines
898 B
Bash

# Template file for 'LGOGDownloader'
pkgname=LGOGDownloader
version=3.13
revision=1
build_style=cmake
configure_args="$(vopt_bool qt USE_QT_GUI)"
hostmakedepends="pkg-config"
makedepends="libtidy5-devel tinyxml2-devel libcurl-devel rhash-devel
jsoncpp-devel boost-devel openssl-devel zlib-devel
$(vopt_if qt "qt6-webengine-devel qt6-declarative-devel
qt6-webchannel-devel qt6-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=c1b6b7c528ba257a2948a9a14e5b1277e2430cc47ae5505a0357853813ed5bd7
build_options="qt"
desc_option_qt="Include QT WebEngine to support solving captchas"
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi