From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1603365-garchives=archives.gentoo.org@lists.gentoo.org>
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 E5766158041
	for <garchives@archives.gentoo.org>; Sat, 24 Feb 2024 04:46:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A36ECE2A21;
	Sat, 24 Feb 2024 04:46:20 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 871E1E2A21
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Feb 2024 04:46:20 +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 70B393430A9
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Feb 2024 04:46:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A68F61121
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Feb 2024 04:46:17 +0000 (UTC)
From: "Maciej Mrozowski" <reavertm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Mrozowski" <reavertm@gentoo.org>
Message-ID: <1708749888.f330102cb784869c8e89b34e5a3f6493e8b1d1c8.reavertm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/SoQt/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/SoQt/SoQt-1.6.2.ebuild
X-VCS-Directories: media-libs/SoQt/
X-VCS-Committer: reavertm
X-VCS-Committer-Name: Maciej Mrozowski
X-VCS-Revision: f330102cb784869c8e89b34e5a3f6493e8b1d1c8
X-VCS-Branch: master
Date: Sat, 24 Feb 2024 04:46:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1df36d2e-09ee-4a30-b618-22f7e1e78cbb
X-Archives-Hash: 50419add44f34a2e5abfd54573efff94

commit:     f330102cb784869c8e89b34e5a3f6493e8b1d1c8
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 02:40:30 2024 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 04:44:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f330102c

media-libs/SoQt: 1.6.2: update EAPI 7 -> 8, add qt6 USE flag

Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>

 media-libs/SoQt/SoQt-1.6.2.ebuild | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/media-libs/SoQt/SoQt-1.6.2.ebuild b/media-libs/SoQt/SoQt-1.6.2.ebuild
index 1d15e23f337a..02627ad53741 100644
--- a/media-libs/SoQt/SoQt-1.6.2.ebuild
+++ b/media-libs/SoQt/SoQt-1.6.2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake flag-o-matic
 
@@ -14,21 +14,30 @@ SRC_URI="https://github.com/coin3d/soqt/releases/download/v${PV}/${MY_P}-src.tar
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
-IUSE="debug doc"
+IUSE="debug doc qt6"
 
 RDEPEND="
 	media-libs/coin
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtwidgets:5
-	dev-qt/qtopengl:5
 	virtual/opengl
 	x11-libs/libX11
 	x11-libs/libXi
+	!qt6? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtwidgets:5
+		dev-qt/qtopengl:5
+	)
+	qt6? (
+		dev-qt/qtbase:6[gui,opengl,widgets]
+	)
 "
+
 DEPEND="${RDEPEND}
-	virtual/pkgconfig
 	x11-base/xorg-proto
+"
+
+BDEPEND="
+	virtual/pkgconfig
 	doc? ( app-text/doxygen )
 "
 
@@ -42,7 +51,7 @@ src_configure() {
 		-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
 		-DSOQT_BUILD_DOCUMENTATION=$(usex doc)
 		-DSOQT_BUILD_INTERNAL_DOCUMENTATION=OFF
-		-DSOQT_USE_QT6=OFF
+		-DSOQT_USE_QT6=$(usex qt6)
 		-DSOQT_VERBOSE=$(usex debug)
 	)
 	cmake_src_configure