Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/lgogdownloader/
Date: Sat, 26 Feb 2022 23:41:30
Message-Id: 1645918860.073b8681dd0d8df21aaf5b420c696e85f76bf82e.chewi@gentoo
1 commit: 073b8681dd0d8df21aaf5b420c696e85f76bf82e
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 23:41:00 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 23:41:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073b8681
7
8 games-util/lgogdownloader: Version bump to 3.9
9
10 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
11
12 games-util/lgogdownloader/Manifest | 1 +
13 .../lgogdownloader/lgogdownloader-3.9.ebuild | 39 ++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/games-util/lgogdownloader/Manifest b/games-util/lgogdownloader/Manifest
17 index 96c2c63cc6b1..f9a2154fc2de 100644
18 --- a/games-util/lgogdownloader/Manifest
19 +++ b/games-util/lgogdownloader/Manifest
20 @@ -1 +1,2 @@
21 DIST lgogdownloader-3.8.tar.gz 85271 BLAKE2B ff8e9f80dbec849649b4074ab5890f833a5bfaf120246e7ca5eae83f414af469da29302323dc22632eb0a7259e49e9cf3660ea8953adda75fc7a5308204767bd SHA512 ccc6116f22a5c0bff5e4ef650f6386d5bfc507cc667b7154b021ecdbd45e7553ac33ae6b81531e2cea52a5022ee9c810033518a07374d4e9f7c672344e7ccad3
22 +DIST lgogdownloader-3.9.tar.gz 86351 BLAKE2B 4ba1a39e2c040910cb3fdef908c229ce8a7def70ba430167977ab4eaa7fdcdfd132a314d256300904dd14052aecffceec92652cfa3eba3c2a54d83b1920ed2b7 SHA512 5ac15776c0ab7416013782652fead180f75e3bd075a3b67c9cb672122c13401ebc91e785daa9e7d332011474240dbb4d8383ddadea2abf0d3bddfc13d6892066
23
24 diff --git a/games-util/lgogdownloader/lgogdownloader-3.9.ebuild b/games-util/lgogdownloader/lgogdownloader-3.9.ebuild
25 new file mode 100644
26 index 000000000000..6e34f09c1bc1
27 --- /dev/null
28 +++ b/games-util/lgogdownloader/lgogdownloader-3.9.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit cmake
36 +
37 +DESCRIPTION="Unofficial GOG.com downloader for Linux"
38 +HOMEPAGE="https://sites.google.com/site/gogdownloader/"
39 +SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz"
40 +LICENSE="WTFPL-2"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="gui"
44 +
45 +RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
46 + dev-cpp/htmlcxx:0=
47 + dev-libs/boost:0=[zlib]
48 + >=dev-libs/jsoncpp-1.7:0=
49 + dev-libs/tinyxml2:0=
50 + >=net-misc/curl-7.32:0=[ssl]
51 + gui? ( dev-qt/qtwebengine:5=[widgets] )"
52 +
53 +DEPEND="${RDEPEND}"
54 +
55 +BDEPEND="sys-apps/help2man
56 + virtual/pkgconfig"
57 +
58 +src_configure() {
59 + local mycmakeargs=(
60 + -DUSE_QT_GUI=$(usex gui)
61 + )
62 + cmake_src_configure
63 +}
64 +
65 +src_install() {
66 + cmake_src_install
67 + gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
68 +}