diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2023-10-19 23:18:56 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-01-04 13:54:30 +0200 |
commit | 903bf89ec3aa9d582e2b7efd7e3cab81cc010d66 (patch) | |
tree | 6fe020d19055405069fadf85bce4f79f4997d5c5 | |
parent | dev-python/pycountry: keyword 23.12.11 for ~loong (diff) | |
download | gentoo-903bf89ec3aa9d582e2b7efd7e3cab81cc010d66.tar.gz gentoo-903bf89ec3aa9d582e2b7efd7e3cab81cc010d66.tar.bz2 gentoo-903bf89ec3aa9d582e2b7efd7e3cab81cc010d66.zip |
app-emulation/punes: add qt6 USE-flag
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33421
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
-rw-r--r-- | app-emulation/punes/punes-0.110.ebuild | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/app-emulation/punes/punes-0.110.ebuild b/app-emulation/punes/punes-0.110.ebuild index 9a5f143123d4..16b8811e4a80 100644 --- a/app-emulation/punes/punes-0.110.ebuild +++ b/app-emulation/punes/punes-0.110.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 @@ -13,14 +13,9 @@ S="${WORKDIR}/puNES-${PV}" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="X cg ffmpeg" +IUSE="X cg ffmpeg qt6" RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 media-libs/alsa-lib media-libs/libglvnd[X?] virtual/glu @@ -30,18 +25,31 @@ RDEPEND=" x11-libs/libXrandr ) cg? ( media-gfx/nvidia-cg-toolkit ) - ffmpeg? ( media-video/ffmpeg:= )" + ffmpeg? ( media-video/ffmpeg:= ) + qt6? ( + dev-qt/qtbase:6[gui,network,opengl,widgets] + dev-qt/qtsvg:6 + ) + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + )" + DEPEND=" ${RDEPEND} X? ( x11-base/xorg-proto )" BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig" + virtual/pkgconfig + qt6? ( dev-qt/qttools[linguist] ) + !qt6? ( dev-qt/linguist-tools:5 )" src_configure() { local mycmakeargs=( -DENABLE_GIT_INFO=OFF - -DENABLE_QT6_LIBS=OFF + -DENABLE_QT6_LIBS=$(usex qt6) -DDISABLE_PORTABLE_MODE=OFF -DENABLE_FFMPEG=$(usex ffmpeg) -DENABLE_FULLSCREEN_RESFREQ=$(usex X) |