summaryrefslogtreecommitdiff
path: root/games-util/lgogdownloader
diff options
context:
space:
mode:
Diffstat (limited to 'games-util/lgogdownloader')
-rw-r--r--games-util/lgogdownloader/Manifest8
-rw-r--r--games-util/lgogdownloader/lgogdownloader-3.5.ebuild (renamed from games-util/lgogdownloader/lgogdownloader-3.4.ebuild)25
-rw-r--r--games-util/lgogdownloader/lgogdownloader-9999.ebuild25
-rw-r--r--games-util/lgogdownloader/metadata.xml3
4 files changed, 47 insertions, 14 deletions
diff --git a/games-util/lgogdownloader/Manifest b/games-util/lgogdownloader/Manifest
index aa4960420fa2..43339363dbe5 100644
--- a/games-util/lgogdownloader/Manifest
+++ b/games-util/lgogdownloader/Manifest
@@ -1,4 +1,4 @@
-DIST lgogdownloader-3.4.tar.gz 86362 BLAKE2B a6f0f7b69fc3707c5788f8c25b0669887fde2f44c585f069cbada40791283e37f01d6adcc216712bb6f283a4a46dc8ebecb4861000b7db58d45be777f5b55a56 SHA512 852a335e21c199e9fc49a1cf07fd218d487cb70ebf4ed2a2c81e46477df7629999bc5c8c33f18fdc754804c459f088c8af9624815eacb054516a060d55ce4583
-EBUILD lgogdownloader-3.4.ebuild 600 BLAKE2B 051b7f596ad87b5d8727012b9f394b9430a3a8b720d319be06e583777a5df6365228096c9d0f79400e7cc97970ac7ec3aae936be93fc0c033a806ed70f3ea7b2 SHA512 b4265c0979adffeef02a8e90124ef9cda96432b1ede6df08c01b9456cdfdf1a71beb9a2a7ed2dc8c3f7ed9eacb9ecabd5e7b2247b7ae65af29a355ae945b3eef
-EBUILD lgogdownloader-9999.ebuild 578 BLAKE2B 59f2f116735fe4b1c5a4aa3e2b164f524404d5e7171ee1fe229199845873ad29bd5c8807b57cbf219c1f1dee4894f7240530260762796021c85848ffa31c5e08 SHA512 0ee119d51c0c98f6e20afb79a363eae1c8ef96babfde250bfd286322c92d54c098c9164785cf7e23214808007a10f0fc2380fa43827deebb0dd15a94ec902abd
-MISC metadata.xml 1009 BLAKE2B 4a7828bf14d896ea37cc6091c2d019bb96e4c97e0ae3f2b48045a92aa9ec2a648058fe817b5cc0fc2bb98379365b9d94f9529ba5de1b3f5dca67dcb313f87cb9 SHA512 cc64f740c4b3ab4a5c4d87b60b2146b6b5a64869d19f6283428d365c7a6f79a6697b8bd63bd31c2cad63bb065d32ac751c643ff794adf966edfc8663debdd4af
+DIST lgogdownloader-3.5.tar.gz 87061 BLAKE2B bde2a8f2c229c9bf62fe83650e81c950806a6c6b9e4f591f08931082f59a961f39c16b5c18c8787edd46555e257354e71e0f1d009de1881f4d25257b28725996 SHA512 e3ce9d4932f9cda362b1472bd5eb605b01d1e9214b79e2d88fa4c2f02b0d54082df68b2f197d714e71a72d57be746dbf0afed68b3316888fdfa6e02c31611ee0
+EBUILD lgogdownloader-3.5.ebuild 858 BLAKE2B a686fa7b06896fd54ac4de60d27ac72871056a3cb9b7709b984a869d8237d094e863ffe6f3b1ba1f2d337459cb7646eaaa8e410ba91ed18b0a9f48387d8c4b09 SHA512 eba74a4953e944dd0a9b0fb1c51e93a91e63678f86c425ed59df7e633d4a1e6789ce937b74749232672d7b1489b515c8f06ad5c1cd54c5bdb5c6b417ae14341a
+EBUILD lgogdownloader-9999.ebuild 836 BLAKE2B 2823998b4c7574ea84105c7a2d290c20b8df960f4cf77bed149699e97c25ab64a1da86d7dc12295fb0cfea02c58fbe98ea26ff9293250cf5dac85d1e96e81d7b SHA512 f960a8fb186e2e86c5b994ff3ef25c65e5e5f3aa29a8c205f25e8c12387859b8b18532c1cf3de141deff3279fa450d62ef407afc6a007ceead315cf3b03acb53
+MISC metadata.xml 1097 BLAKE2B 029a2a56a669431f4128f2e3c375f66a03c91e101b4d18555cbff0d7e0840025b5cace7c7eae5a98f5c2a79d2ace2c0caf8824b6d29ccccd67de98fee188e924 SHA512 2dbc9390d544b0c5c215dcf6788ced1bcbf0de677dafbafa500725d4968b0ab733df82c4799c62cbe30fb058ffdc7332cb7bd1459f872093e777ce9e108ce720
diff --git a/games-util/lgogdownloader/lgogdownloader-3.4.ebuild b/games-util/lgogdownloader/lgogdownloader-3.5.ebuild
index bcd778da72fe..0f8ac4e4d85d 100644
--- a/games-util/lgogdownloader/lgogdownloader-3.4.ebuild
+++ b/games-util/lgogdownloader/lgogdownloader-3.5.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils
@@ -11,6 +11,7 @@ SRC_URI="https://sites.google.com/site/gogdownloader/${P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="gui"
RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
dev-cpp/htmlcxx:0=
@@ -18,8 +19,22 @@ RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
>=dev-libs/jsoncpp-1.7:0=
dev-libs/tinyxml2:0=
net-libs/liboauth:0=
- >=net-misc/curl-7.32:0=[ssl]"
+ >=net-misc/curl-7.32:0=[ssl]
+ gui? ( dev-qt/qtwebengine:5=[widgets] )"
-DEPEND="${RDEPEND}
- sys-apps/help2man
+DEPEND="${RDEPEND}"
+
+BDEPEND="sys-apps/help2man
virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QT_GUI=$(usex gui)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
+}
diff --git a/games-util/lgogdownloader/lgogdownloader-9999.ebuild b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
index a04e8bc6c49e..d0d1304d0133 100644
--- a/games-util/lgogdownloader/lgogdownloader-9999.ebuild
+++ b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils git-r3
@@ -10,6 +10,7 @@ HOMEPAGE="https://sites.google.com/site/gogdownloader/"
EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
LICENSE="WTFPL-2"
SLOT="0"
+IUSE="gui"
RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
dev-cpp/htmlcxx:0=
@@ -17,8 +18,22 @@ RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
>=dev-libs/jsoncpp-1.7:0=
dev-libs/tinyxml2:0=
net-libs/liboauth:0=
- >=net-misc/curl-7.32:0=[ssl]"
+ >=net-misc/curl-7.32:0=[ssl]
+ gui? ( dev-qt/qtwebengine:5=[widgets] )"
-DEPEND="${RDEPEND}
- sys-apps/help2man
+DEPEND="${RDEPEND}"
+
+BDEPEND="sys-apps/help2man
virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QT_GUI=$(usex gui)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
+}
diff --git a/games-util/lgogdownloader/metadata.xml b/games-util/lgogdownloader/metadata.xml
index 8a63172d961f..59a94aac8e81 100644
--- a/games-util/lgogdownloader/metadata.xml
+++ b/games-util/lgogdownloader/metadata.xml
@@ -12,6 +12,9 @@
<upstream>
<remote-id type="github">Sude-/lgogdownloader</remote-id>
</upstream>
+ <use>
+ <flag name="gui">Enable GUI login support for passing reCAPTCHA</flag>
+ </use>
<longdescription>
LGOGDownloader is open source downloader to GOG.com for Linux
users using the same API as the official GOGDownloader.