You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.0 KiB
57 lines
1.0 KiB
2 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
2 years ago
|
# 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"
|
||
2 months ago
|
IUSE="gui qt5 qt6"
|
||
|
REQUIRED_USE="gui? ( ^^ ( qt5 qt6 ) )"
|
||
2 years ago
|
|
||
2 months ago
|
RDEPEND="
|
||
|
>=app-crypt/rhash-1.3.3-r2:0=
|
||
2 years ago
|
dev-cpp/htmlcxx:0=
|
||
2 years ago
|
dev-libs/boost:=[zlib]
|
||
2 years ago
|
>=dev-libs/jsoncpp-1.7:0=
|
||
|
dev-libs/tinyxml2:0=
|
||
7 months ago
|
>=net-misc/curl-7.55:0=[ssl]
|
||
2 months ago
|
gui? (
|
||
|
qt5? ( dev-qt/qtwebengine:5[widgets] )
|
||
|
qt6? ( dev-qt/qtwebengine:6[widgets] )
|
||
|
)
|
||
|
"
|
||
|
|
||
|
DEPEND="
|
||
|
${RDEPEND}
|
||
|
"
|
||
2 years ago
|
|
||
2 months ago
|
BDEPEND="
|
||
|
sys-apps/help2man
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
2 years ago
|
|
||
2 months ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-qt6.patch
|
||
|
)
|
||
2 years ago
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DUSE_QT_GUI=$(usex gui)
|
||
|
)
|
||
2 months ago
|
use gui && mycmakeargs+=(
|
||
|
-DCMAKE_DISABLE_FIND_PACKAGE_Qt6=$(usex qt5)
|
||
|
)
|
||
2 years ago
|
cmake_src_configure
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
cmake_src_install
|
||
|
gunzip "${ED}"/usr/share/man/man1/${PN}.1.gz || die
|
||
|
}
|