From 0871c20053027dfff61701f27f408b2220a137ae Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 31 Aug 2024 20:15:13 +0200 Subject: games-util/lgogdownloader: Add missing dependencies Signed-off-by: Andreas Sturmlechner --- .../lgogdownloader/lgogdownloader-3.15-r1.ebuild | 58 ++++++++++++++++++++++ .../lgogdownloader/lgogdownloader-3.15.ebuild | 50 ------------------- .../lgogdownloader/lgogdownloader-9999.ebuild | 5 +- 3 files changed, 62 insertions(+), 51 deletions(-) create mode 100644 games-util/lgogdownloader/lgogdownloader-3.15-r1.ebuild delete mode 100644 games-util/lgogdownloader/lgogdownloader-3.15.ebuild (limited to 'games-util') diff --git a/games-util/lgogdownloader/lgogdownloader-3.15-r1.ebuild b/games-util/lgogdownloader/lgogdownloader-3.15-r1.ebuild new file mode 100644 index 000000000000..8e8825bc6865 --- /dev/null +++ b/games-util/lgogdownloader/lgogdownloader-3.15-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Unofficial GOG.com downloader for Linux" +HOMEPAGE="https://sites.google.com/site/gogdownloader/" +SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz" +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gui qt6" + +RDEPEND=" + >=app-crypt/rhash-1.3.3-r2:0= + app-text/htmltidy:= + dev-libs/boost:=[zlib] + >=dev-libs/jsoncpp-1.7:0= + dev-libs/tinyxml2:0= + >=net-misc/curl-7.55:0=[ssl] + gui? ( + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtwebengine:5[widgets] + dev-qt/qtwidgets:5 + ) + qt6? ( + dev-qt/qtbase:6[network,widgets] + dev-qt/qtwebengine:6[widgets] + ) + ) +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DUSE_QT_GUI=$(usex gui) + ) + use gui && mycmakeargs+=( + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=$(usex !qt6) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die +} diff --git a/games-util/lgogdownloader/lgogdownloader-3.15.ebuild b/games-util/lgogdownloader/lgogdownloader-3.15.ebuild deleted file mode 100644 index 66bf9d5b6b62..000000000000 --- a/games-util/lgogdownloader/lgogdownloader-3.15.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Unofficial GOG.com downloader for Linux" -HOMEPAGE="https://sites.google.com/site/gogdownloader/" -SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz" -LICENSE="WTFPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gui qt6" - -RDEPEND=" - >=app-crypt/rhash-1.3.3-r2:0= - app-text/htmltidy:= - dev-libs/boost:=[zlib] - >=dev-libs/jsoncpp-1.7:0= - dev-libs/tinyxml2:0= - >=net-misc/curl-7.55:0=[ssl] - gui? ( - !qt6? ( dev-qt/qtwebengine:5[widgets] ) - qt6? ( dev-qt/qtwebengine:6[widgets] ) - ) -" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - virtual/pkgconfig -" - -src_configure() { - local mycmakeargs=( - -DUSE_QT_GUI=$(usex gui) - ) - use gui && mycmakeargs+=( - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=$(usex !qt6) - ) - cmake_src_configure -} - -src_install() { - cmake_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 6be67e274231..653b4c27add5 100644 --- a/games-util/lgogdownloader/lgogdownloader-9999.ebuild +++ b/games-util/lgogdownloader/lgogdownloader-9999.ebuild @@ -19,7 +19,10 @@ RDEPEND=" >=dev-libs/jsoncpp-1.7:0= dev-libs/tinyxml2:0= >=net-misc/curl-7.55:0=[ssl] - gui? ( dev-qt/qtwebengine:6[widgets] ) + gui? ( + dev-qt/qtbase:6[network,widgets] + dev-qt/qtwebengine:6[widgets] + ) " DEPEND=" -- cgit v1.2.3-65-gdbad