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 83506158009 for ; Sun, 18 Jun 2023 21:28:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A21EFE087A; Sun, 18 Jun 2023 21:28:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 8A4E4E087A for ; Sun, 18 Jun 2023 21:28:27 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7132734081F for ; Sun, 18 Jun 2023 21:28:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D49AA87 for ; Sun, 18 Jun 2023 21:28:25 +0000 (UTC) From: "Jimi Huotari" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jimi Huotari" Message-ID: <1687123674.d737dff582c6112aec0c87524177121d59a3b1a7.chiitoo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtmultimedia/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtmultimedia/qtmultimedia-6.5.1-r1.ebuild X-VCS-Directories: dev-qt/qtmultimedia/ X-VCS-Committer: chiitoo X-VCS-Committer-Name: Jimi Huotari X-VCS-Revision: d737dff582c6112aec0c87524177121d59a3b1a7 X-VCS-Branch: master Date: Sun, 18 Jun 2023 21:28:25 +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: 908c5265-a000-4762-a56f-e53e3b918ca5 X-Archives-Hash: 6d22ef123f7cfde63ed1a0b5c73508f1 commit: d737dff582c6112aec0c87524177121d59a3b1a7 Author: Jimi Huotari gentoo org> AuthorDate: Sun Jun 18 21:12:55 2023 +0000 Commit: Jimi Huotari gentoo org> CommitDate: Sun Jun 18 21:27:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d737dff5 dev-qt/qtmultimedia: add USE="vaapi" to 6.5.1 Closes: https://bugs.gentoo.org/908376 Signed-off-by: Jimi Huotari gentoo.org> dev-qt/qtmultimedia/qtmultimedia-6.5.1-r1.ebuild | 65 ++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.5.1-r1.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.5.1-r1.ebuild new file mode 100644 index 000000000000..1091cf2d5cf6 --- /dev/null +++ b/dev-qt/qtmultimedia/qtmultimedia-6.5.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qt6-build + +DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt6 framework" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE="alsa +ffmpeg gstreamer pulseaudio v4l vaapi" + +REQUIRED_USE=" + || ( ffmpeg gstreamer ) + vaapi? ( ffmpeg ) +" + +RDEPEND=" + =dev-qt/qtbase-${PV}*[gui,network,widgets] + =dev-qt/qtdeclarative-${PV}* + =dev-qt/qtquick3d-${PV}* + =dev-qt/qtshadertools-${PV}* + =dev-qt/qtsvg-${PV}* + alsa? ( media-libs/alsa-lib ) + ffmpeg? ( + media-libs/libva:= + media-video/ffmpeg:= + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + ) + gstreamer? ( + dev-libs/glib:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/libglvnd + ) + pulseaudio? ( media-libs/libpulse[glib] ) + vaapi? ( + =dev-qt/qtbase-${PV}*[opengl] + media-libs/libglvnd + media-libs/libva:= + ) +" +DEPEND="${RDEPEND} + gstreamer? ( x11-base/xorg-proto ) + v4l? ( sys-kernel/linux-headers ) +" + +src_configure() { + local mycmakeargs=( + $(qt_feature alsa) + $(qt_feature ffmpeg) + $(qt_feature gstreamer) + $(qt_feature v4l linux_v4l) + $(qt_feature pulseaudio) + $(qt_feature vaapi) + ) + + qt6-build_src_configure +}