diff options
Diffstat (limited to 'games-util/lgogdownloader/lgogdownloader-9999.ebuild')
-rw-r--r-- | games-util/lgogdownloader/lgogdownloader-9999.ebuild | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/games-util/lgogdownloader/lgogdownloader-9999.ebuild b/games-util/lgogdownloader/lgogdownloader-9999.ebuild index de26bf23392b..daf26178322c 100644 --- a/games-util/lgogdownloader/lgogdownloader-9999.ebuild +++ b/games-util/lgogdownloader/lgogdownloader-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,25 +10,38 @@ HOMEPAGE="https://sites.google.com/site/gogdownloader/" EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git" LICENSE="WTFPL-2" SLOT="0" -IUSE="gui" +IUSE="gui qt5 qt6" +REQUIRED_USE="gui? ( ^^ ( qt5 qt6 ) )" -RDEPEND=">=app-crypt/rhash-1.3.3-r2:0= +RDEPEND=" + >=app-crypt/rhash-1.3.3-r2:0= dev-cpp/htmlcxx:0= dev-libs/boost:=[zlib] >=dev-libs/jsoncpp-1.7:0= dev-libs/tinyxml2:0= >=net-misc/curl-7.55:0=[ssl] - gui? ( dev-qt/qtwebengine:5=[widgets] )" + gui? ( + qt5? ( dev-qt/qtwebengine:5[widgets] ) + qt6? ( dev-qt/qtwebengine:6[widgets] ) + ) +" -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} +" -BDEPEND="sys-apps/help2man - virtual/pkgconfig" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig +" src_configure() { local mycmakeargs=( -DUSE_QT_GUI=$(usex gui) ) + use gui && mycmakeargs+=( + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6=$(usex qt5) + ) cmake_src_configure } |