30 lines
926 B
Bash
30 lines
926 B
Bash
# Template file for 'LGOGDownloader'
|
|
pkgname=LGOGDownloader
|
|
version=3.5
|
|
revision=3
|
|
wrksrc="lgogdownloader-${version}"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="htmlcxx-devel tinyxml2-devel libcurl-devel liboauth-devel
|
|
rhash-devel jsoncpp-devel boost-devel libressl-devel zlib-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=a7493f89e80796a4870d8fbc7996ff836b614a81af1471fc67025a4b194f28be
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" help2man"
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
sed -i 's/PRIVATE ${ZLIB_LIBRARIES}/\0\n atomic/' CMakeLists.txt
|
|
fi
|
|
}
|