From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1610063-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 EF430158041
	for <garchives@archives.gentoo.org>; Tue, 12 Mar 2024 12:01:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B0250E29FE;
	Tue, 12 Mar 2024 12:01:43 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 95F56E29FE
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 12:01:43 +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 CE5D933FE7D
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 12:01:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 25D0B1519
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 12:01:41 +0000 (UTC)
From: "Ionen Wolkens" <ionen@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, "Ionen Wolkens" <ionen@gentoo.org>
Message-ID: <1710244772.63b701a45e176ed5b74a2522a1af3a62e20f8032.ionen@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtmultimedia/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-qt/qtmultimedia/Manifest dev-qt/qtmultimedia/qtmultimedia-6.7.0_rc.ebuild
X-VCS-Directories: dev-qt/qtmultimedia/
X-VCS-Committer: ionen
X-VCS-Committer-Name: Ionen Wolkens
X-VCS-Revision: 63b701a45e176ed5b74a2522a1af3a62e20f8032
X-VCS-Branch: master
Date: Tue, 12 Mar 2024 12:01:41 +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: ac4d05a2-32a0-4925-beeb-22ded0e9f19f
X-Archives-Hash: f48e8fdb4767fa0dcbf5df0f1e575bfb

commit:     63b701a45e176ed5b74a2522a1af3a62e20f8032
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 10:29:37 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 11:59:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63b701a4

dev-qt/qtmultimedia: add 6.7.0_rc

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qtmultimedia/Manifest                     |  1 +
 dev-qt/qtmultimedia/qtmultimedia-6.7.0_rc.ebuild | 87 ++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/dev-qt/qtmultimedia/Manifest b/dev-qt/qtmultimedia/Manifest
index 47455f43bb73..4bf9f347bd2f 100644
--- a/dev-qt/qtmultimedia/Manifest
+++ b/dev-qt/qtmultimedia/Manifest
@@ -1,3 +1,4 @@
 DIST qtmultimedia-5.15.12-gentoo-kde-1.tar.xz 1496 BLAKE2B 890f90accb60438bcceae2a4f0bf928eb91341b36af278f7deef7f0b1964940cdfdc0f82e21f6b03ac6c609cfffb77a2d00563390237b965a66f4224df70fabb SHA512 d400f0d2694f9b09d645f5ca1c76aed7891614162de36213bac3febd5b0f80f893e26a26b2a899a7fcdf57cae88d10d151c102da8ba610a7734a14094ca3a29b
 DIST qtmultimedia-everywhere-opensource-src-5.15.12.tar.xz 3830956 BLAKE2B c6fa2b5f01262af0ddb510e344adc2aa69b1d4fd82962bb6ff2962d50c9f43a99e445538466c0a9d794dfc0cca27dccd32d5faaa1baf59a630c8b490c43b7963 SHA512 2cef917df20da1381ea64834e4110e25ea0d5e12249176ddbe2e0314c25490926ccbf2f7cc3f89b2969d113a645ec88244fabe691aff851ffb4b2be9766bcf76
 DIST qtmultimedia-everywhere-src-6.6.2.tar.xz 8305476 BLAKE2B 8f252b236ef5fdbc7c4e2be498e2cdaaaf3c901a1d1890c7dfe1f6e8256bc656526e2a6a96649b29bb20baf882f46160f3d76b97cd80466b44a2dcc1b7aabfa5 SHA512 311f47acd7658d725855df06c25b4d516d4046922cc92ad44c91c48f1696fbcbb25a0d778b1a72f15834ce2e74ce64199814476ac04fc705fc19af73c91f2006
+DIST qtmultimedia-everywhere-src-6.7.0-rc.tar.xz 8317400 BLAKE2B 4a6bb7d84dccb2f6a64947c46e7a07f5ee266e2b149648960265cd113ed8bbd10023a217c2d5d3e4c605f490bbec5e2d8e3794c1555564e1abb3ca9ec0ede0e0 SHA512 7ab97dae7447be0c66a5a36ca32628b7ed13a322faa212b536466d7ca38243bb38dc67eb8d13bf14486e082f0587f29a494da6e5c4a3bcc5d97f17cc889fce8b

diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.7.0_rc.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.7.0_rc.ebuild
new file mode 100644
index 000000000000..2359fc0aabd3
--- /dev/null
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.7.0_rc.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic qt6-build
+
+DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt6 framework"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+IUSE="+X alsa eglfs +ffmpeg gstreamer opengl pulseaudio qml v4l vaapi vulkan"
+# tst_qmediaplayerbackend hard requires qml, review in case becomes optional
+REQUIRED_USE="
+	|| ( ffmpeg gstreamer )
+	eglfs? ( ffmpeg opengl )
+	vaapi? ( ffmpeg opengl )
+	test? ( qml )
+"
+
+RDEPEND="
+	~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets]
+	alsa? ( media-libs/alsa-lib )
+	ffmpeg? (
+		~dev-qt/qtbase-${PV}:6[X=,concurrent,eglfs=]
+		media-video/ffmpeg:=[vaapi?]
+		X? (
+			x11-libs/libX11
+			x11-libs/libXext
+			x11-libs/libXrandr
+		)
+	)
+	gstreamer? (
+		dev-libs/glib:2
+		media-libs/gst-plugins-bad:1.0
+		media-libs/gst-plugins-base:1.0[X=,opengl?]
+		media-libs/gstreamer:1.0
+	)
+	opengl? ( media-libs/libglvnd )
+	pulseaudio? ( media-libs/libpulse )
+	qml? (
+		~dev-qt/qtdeclarative-${PV}:6
+		~dev-qt/qtquick3d-${PV}:6
+	)
+"
+DEPEND="
+	${RDEPEND}
+	X? ( x11-base/xorg-proto )
+	v4l? ( sys-kernel/linux-headers )
+	vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="~dev-qt/qtshadertools-${PV}:6"
+
+CMAKE_SKIP_TESTS=(
+	# tries to use real alsa or pulseaudio and fails in sandbox
+	tst_qaudiosink
+	tst_qaudiosource
+	tst_qmediacapturesession
+	tst_qmediaplayerbackend
+	tst_qsoundeffect
+	# may try to use v4l2 or hardware acceleration depending on availability
+	tst_qscreencapture_integration
+	tst_qscreencapturebackend
+	# fails with offscreen rendering
+	tst_qvideoframecolormanagement
+	tst_qwindowcapturebackend
+)
+
+src_configure() {
+	# normally passed by the build system, but needed for 32-on-64 chroots
+	use x86 && append-cppflags -DPFFFT_SIMD_DISABLE
+
+	local mycmakeargs=(
+		$(cmake_use_find_package qml Qt6Qml)
+		$(qt_feature alsa)
+		$(qt_feature ffmpeg)
+		$(qt_feature gstreamer)
+		$(usev gstreamer $(qt_feature opengl gstreamer_gl))
+		$(qt_feature pulseaudio)
+		$(qt_feature v4l linux_v4l)
+		$(qt_feature vaapi)
+	)
+
+	qt6-build_src_configure
+}