summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-06-27 11:12:45 -0400
committerMike Gilbert <floppym@gentoo.org>2023-06-27 11:12:45 -0400
commitff33e63c7d591293b2b2d47a0dc06dc8beb77465 (patch)
tree2eaf0b04682ec18e878c8e60f8914d0234143415
parentsys-fs/ncdu: refrain from using compgen to locate zig (diff)
downloadgentoo-ff33e63c7d591293b2b2d47a0dc06dc8beb77465.tar.gz
gentoo-ff33e63c7d591293b2b2d47a0dc06dc8beb77465.tar.bz2
gentoo-ff33e63c7d591293b2b2d47a0dc06dc8beb77465.zip
www-client/opera-developer: add qt6 USE flag
Closes: https://bugs.gentoo.org/909304 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--www-client/opera-developer/opera-developer-101.0.4843.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/www-client/opera-developer/opera-developer-101.0.4843.0.ebuild b/www-client/opera-developer/opera-developer-101.0.4843.0.ebuild
index f075b4334993..fa627a202454 100644
--- a/www-client/opera-developer/opera-developer-101.0.4843.0.ebuild
+++ b/www-client/opera-developer/opera-developer-101.0.4843.0.ebuild
@@ -50,7 +50,7 @@ SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_E
mirror+https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz
)"
-IUSE="+proprietary-codecs +suid qt5"
+IUSE="+proprietary-codecs +suid qt5 qt6"
RESTRICT="bindist mirror strip"
RDEPEND="
@@ -85,6 +85,7 @@ RDEPEND="
dev-qt/qtgui:5[X]
dev-qt/qtwidgets:5
)
+ qt6? ( dev-qt/qtbase:6[gui,widgets] )
"
QA_PREBUILT="*"
@@ -158,6 +159,9 @@ src_install() {
if ! use qt5; then
rm "${OPERA_HOME}/libqt5_shim.so" || die
fi
+ if ! use qt6; then
+ rm "${OPERA_HOME}/libqt6_shim.so" || die
+ fi
# pax mark opera, bug #562038
pax-mark m "${OPERA_HOME}/opera"