Package Details: lgogdownloader 3.5-1

Git Clone URL: https://aur.archlinux.org/lgogdownloader.git (read-only)
Package Base: lgogdownloader
Description: An open source downloader for GOG.com games, uses the GOG.com API
Upstream URL: https://sites.google.com/site/gogdownloader/
Keywords: api downloader games gaming gog gog.com
Licenses: WTFPL
Submitter: tea
Maintainer: tea
Last Packager: tea
Votes: 58
Popularity: 0.300442
First Submitted: 2012-08-01 22:40
Last Updated: 2019-04-29 19:50

Latest Comments

« First ‹ Previous 1 2 3 4 5

Anonymous comment on 2013-01-24 10:45

Updated PKGBUILD for version 1.14 which works with jsoncpp version 0.5.0

# Maintainer: Joe Davison <joedavison.davison@gmail.com>

pkgname=lgogdownloader
pkgver=1.14
pkgrel=1
pkgdesc="An open source downloader for GOG.com games, uses the GOG.com API"
url="http://www.gog.com/en/forum/general/lgogdownloader_gogdownloader_for_linux"
arch=(i686 x86_64)
license=(WTFPL)
depends=('boost' 'jsoncpp' 'liboauth' 'rhash' 'tinyxml' 'htmlcxx' 'curl')
source=(http://sites.google.com/site/gogdownloader/$pkgname-$pkgver.tar.gz)
sha256sums=('d3545d889510ec21b9b5c78267a379c2fff2865f92ab3885ba096c3401ec7162')

build() {
cd "$srcdir/$pkgname-$pkgver"

make release

}

package() {
install -D -m 755 $srcdir/$pkgname-$pkgver/bin/Release/$pkgname \
$pkgdir/usr/bin/lgogdownloader
}

smls commented on 2013-01-22 11:04

I think you should not update to a version that requires unreleased versions of libraries. No one benefits from a PKGBUILD that does not build.
Better keep it at a version that builds, and upgrade only once all requirements can be met.

tea commented on 2013-01-05 23:09

Updated to 1.12. Note that it won't build without modifying the jsoncpp package to install jsoncpp version 0.6.0-rc2.

Here's a PKGBUILD to do just that (you probably shouldn't use this):
pkgname=jsoncpp
pkgver=0.6.0
pkgrel=2
pkgdesc="A JSON C++ library"
url="http://jsoncpp.sourceforge.net/"
license="Public"
arch=('i686' 'x86_64')
makedepends=('scons' 'gcc')
depends=('gcc-libs')
source=("http://sourceforge.net/projects/jsoncpp/files/jsoncpp/0.6.0-rc2/jsoncpp-src-${pkgver}-rc2.tar.gz/download")
md5sums=('363e2f4cbd3aeb63bf4e571f377400fb')

build(){
cd ${startdir}/src/${pkgname}-src-${pkgver}-rc2
scons platform=linux-gcc

mkdir -p ${pkgdir}/usr/include/jsoncpp
cp -r include/json ${pkgdir}/usr/include/jsoncpp/json

mkdir -p ${pkgdir}/usr/lib
cp buildscons/linux-gcc-*/src/lib_json/libjson_linux-gcc*libmt.so ${pkgdir}/usr/lib/
cd ${pkgdir}/usr/lib/
ln -sf libjson_linux-gcc-*_libmt.so libjsoncpp.so

}

tea commented on 2012-12-15 23:07

Woah! So sorry I forgot about this. I will have the updated PKGBUILD up shortly!

glaville commented on 2012-12-15 12:16

Here is an updated PKGBUILD for the version 1.11:

# Maintainer: Joe Davison <joedavison.davison@gmail.com>

pkgname=lgogdownloader
pkgver=1.11
pkgrel=1
pkgdesc="An open source downloader for GOG.com games, uses the GOG.com API"
url="http://www.gog.com/en/forum/general/lgogdownloader_gogdownloader_for_linux"
arch=(i686 x86_64)
license=(WTFPL)
depends=(boost jsoncpp-fixed liboauth rhash tinyxml htmlcxx curl)
source=(http://sites.google.com/site/gogdownloader/$pkgname-$pkgver.tar.gz)
sha256sums=('b2b595c201f52d2fffc6b71b22814bd79f40090bd01e10b5a0750c0c16608acf')

build() {
cd "$srcdir/$pkgname-$pkgver"

# fix Arch-specific include error
# we're gonna backup api.h first just in case something explodes
mv include/api.h include/api.h.bak
sed '/jsoncpp/ c\\#include \<jsoncpp\/json.h\>' include/api.h.bak > include/api.h

# we also have to do the same on http.h...
mv include/http.h include/http.h.bak
sed '/jsoncpp/ c\\#include \<jsoncpp\/json.h\>' include/http.h.bak > include/http.h

make release

}

package() {
install -D -m 755 $srcdir/$pkgname-$pkgver/bin/Release/$pkgname \
$pkgdir/usr/bin/lgogdownloader
}