From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 60029158020 for ; Fri, 23 Dec 2022 23:13:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C12FE0894; Fri, 23 Dec 2022 23:13:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1709E0894 for ; Fri, 23 Dec 2022 23:13:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9C7D340DD1 for ; Fri, 23 Dec 2022 23:13:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32D607E7 for ; Fri, 23 Dec 2022 23:13:05 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1671836842.147bbc223862d234d3633985d4829446a1844643.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2887.3.ebuild X-VCS-Directories: www-client/vivaldi-snapshot/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 147bbc223862d234d3633985d4829446a1844643 X-VCS-Branch: master Date: Fri, 23 Dec 2022 23:13:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84309e8b-4600-42cf-b409-f4afd17f6515 X-Archives-Hash: eea7a5bb954e5fb6d4f6bc25dca6a702 commit: 147bbc223862d234d3633985d4829446a1844643 Author: James Le Cuirot gentoo org> AuthorDate: Fri Dec 23 23:07:22 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri Dec 23 23:07:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147bbc22 www-client/vivaldi-snapshot: Make GTK optional and add Qt5 support GTK 3 or 4 is dlopen'd when available, but Vivaldi works fine without either, as it falls back to the "Classic" UI. Qt5 support has now been implemented, although I'm not sure whether it's fully plumbed in yet. I cannot select it in the options, and I don't think it's being used at all. Probably won't be long though. Closes: https://bugs.gentoo.org/887343 Signed-off-by: James Le Cuirot gentoo.org> .../vivaldi-snapshot/vivaldi-snapshot-5.7.2887.3.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2887.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2887.3.ebuild index 82e87d9746ea..6360223e0294 100644 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2887.3.ebuild +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-5.7.2887.3.ebuild @@ -107,7 +107,7 @@ RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI LICENSE="Vivaldi" SLOT="0" -IUSE="proprietary-codecs widevine" +IUSE="gtk proprietary-codecs qt5 widevine" RESTRICT="bindist mirror" RDEPEND=" @@ -134,8 +134,13 @@ RDEPEND=" x11-libs/libxkbcommon x11-libs/libXrandr x11-libs/pango[X] - || ( gui-libs/gtk:4 x11-libs/gtk+:3 ) + gtk? ( gui-libs/gtk:4 x11-libs/gtk+:3 ) proprietary-codecs? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) widevine? ( www-plugins/chrome-binary-plugins ) " @@ -173,6 +178,10 @@ src_prepare() { rmdir ${VIVALDI_HOME}/lib || die fi + if ! use qt5; then + rm ${VIVALDI_HOME}/libqt5_shim.so || die + fi + eapply_user }