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: Tue, 30 Apr 2019 22:00:51
Message-Id: 1556661570.a5b485633c0e12a96f1fd60edee7e812777ce936.chewi@gentoo
1 commit: a5b485633c0e12a96f1fd60edee7e812777ce936
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 30 21:59:30 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 30 21:59:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b48563
7
8 games-util/lgogdownloader: Version bump to 3.5
9
10 Adds GUI login support for passing reCAPTCHA.
11
12 Package-Manager: Portage-2.3.66, Repoman-2.3.12
13 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
14
15 games-util/lgogdownloader/Manifest | 1 +
16 .../lgogdownloader/lgogdownloader-3.5.ebuild | 40 ++++++++++++++++++++++
17 .../lgogdownloader/lgogdownloader-9999.ebuild | 25 +++++++++++---
18 games-util/lgogdownloader/metadata.xml | 3 ++
19 4 files changed, 64 insertions(+), 5 deletions(-)
20
21 diff --git a/games-util/lgogdownloader/Manifest b/games-util/lgogdownloader/Manifest
22 index 41c78e17777..a37b070d937 100644
23 --- a/games-util/lgogdownloader/Manifest
24 +++ b/games-util/lgogdownloader/Manifest
25 @@ -1 +1,2 @@
26 DIST lgogdownloader-3.4.tar.gz 86362 BLAKE2B a6f0f7b69fc3707c5788f8c25b0669887fde2f44c585f069cbada40791283e37f01d6adcc216712bb6f283a4a46dc8ebecb4861000b7db58d45be777f5b55a56 SHA512 852a335e21c199e9fc49a1cf07fd218d487cb70ebf4ed2a2c81e46477df7629999bc5c8c33f18fdc754804c459f088c8af9624815eacb054516a060d55ce4583
27 +DIST lgogdownloader-3.5.tar.gz 87061 BLAKE2B bde2a8f2c229c9bf62fe83650e81c950806a6c6b9e4f591f08931082f59a961f39c16b5c18c8787edd46555e257354e71e0f1d009de1881f4d25257b28725996 SHA512 e3ce9d4932f9cda362b1472bd5eb605b01d1e9214b79e2d88fa4c2f02b0d54082df68b2f197d714e71a72d57be746dbf0afed68b3316888fdfa6e02c31611ee0
28
29 diff --git a/games-util/lgogdownloader/lgogdownloader-3.5.ebuild b/games-util/lgogdownloader/lgogdownloader-3.5.ebuild
30 new file mode 100644
31 index 00000000000..0f8ac4e4d85
32 --- /dev/null
33 +++ b/games-util/lgogdownloader/lgogdownloader-3.5.ebuild
34 @@ -0,0 +1,40 @@
35 +# Copyright 1999-2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit cmake-utils
41 +
42 +DESCRIPTION="Unofficial GOG.com downloader for Linux"
43 +HOMEPAGE="https://sites.google.com/site/gogdownloader/"
44 +SRC_URI="https://sites.google.com/site/gogdownloader/${P}.tar.gz"
45 +LICENSE="WTFPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="gui"
49 +
50 +RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
51 + dev-cpp/htmlcxx:0=
52 + dev-libs/boost:0=
53 + >=dev-libs/jsoncpp-1.7:0=
54 + dev-libs/tinyxml2:0=
55 + net-libs/liboauth:0=
56 + >=net-misc/curl-7.32:0=[ssl]
57 + gui? ( dev-qt/qtwebengine:5=[widgets] )"
58 +
59 +DEPEND="${RDEPEND}"
60 +
61 +BDEPEND="sys-apps/help2man
62 + virtual/pkgconfig"
63 +
64 +src_configure() {
65 + local mycmakeargs=(
66 + -DUSE_QT_GUI=$(usex gui)
67 + )
68 + cmake-utils_src_configure
69 +}
70 +
71 +src_install() {
72 + cmake-utils_src_install
73 + gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
74 +}
75
76 diff --git a/games-util/lgogdownloader/lgogdownloader-9999.ebuild b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
77 index a04e8bc6c49..d0d1304d013 100644
78 --- a/games-util/lgogdownloader/lgogdownloader-9999.ebuild
79 +++ b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
80 @@ -1,7 +1,7 @@
81 -# Copyright 1999-2018 Gentoo Authors
82 +# Copyright 1999-2019 Gentoo Authors
83 # Distributed under the terms of the GNU General Public License v2
84
85 -EAPI=6
86 +EAPI=7
87
88 inherit cmake-utils git-r3
89
90 @@ -10,6 +10,7 @@ HOMEPAGE="https://sites.google.com/site/gogdownloader/"
91 EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
92 LICENSE="WTFPL-2"
93 SLOT="0"
94 +IUSE="gui"
95
96 RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
97 dev-cpp/htmlcxx:0=
98 @@ -17,8 +18,22 @@ RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
99 >=dev-libs/jsoncpp-1.7:0=
100 dev-libs/tinyxml2:0=
101 net-libs/liboauth:0=
102 - >=net-misc/curl-7.32:0=[ssl]"
103 + >=net-misc/curl-7.32:0=[ssl]
104 + gui? ( dev-qt/qtwebengine:5=[widgets] )"
105
106 -DEPEND="${RDEPEND}
107 - sys-apps/help2man
108 +DEPEND="${RDEPEND}"
109 +
110 +BDEPEND="sys-apps/help2man
111 virtual/pkgconfig"
112 +
113 +src_configure() {
114 + local mycmakeargs=(
115 + -DUSE_QT_GUI=$(usex gui)
116 + )
117 + cmake-utils_src_configure
118 +}
119 +
120 +src_install() {
121 + cmake-utils_src_install
122 + gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
123 +}
124
125 diff --git a/games-util/lgogdownloader/metadata.xml b/games-util/lgogdownloader/metadata.xml
126 index 8a63172d961..59a94aac8e8 100644
127 --- a/games-util/lgogdownloader/metadata.xml
128 +++ b/games-util/lgogdownloader/metadata.xml
129 @@ -12,6 +12,9 @@
130 <upstream>
131 <remote-id type="github">Sude-/lgogdownloader</remote-id>
132 </upstream>
133 + <use>
134 + <flag name="gui">Enable GUI login support for passing reCAPTCHA</flag>
135 + </use>
136 <longdescription>
137 LGOGDownloader is open source downloader to GOG.com for Linux
138 users using the same API as the official GOGDownloader.