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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDAE2158012 for ; Wed, 22 Sep 2021 20:01:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 310C8E0948; Wed, 22 Sep 2021 20:01:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1933EE0948 for ; Wed, 22 Sep 2021 20:01:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5922342FF1 for ; Wed, 22 Sep 2021 20:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10E98116 for ; Wed, 22 Sep 2021 20:01:46 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1632340889.2b21bd0c15de173b7614e95382349c572f78e4f3.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtmultimedia/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtmultimedia/qtmultimedia-5.15.2-r2.ebuild X-VCS-Directories: dev-qt/qtmultimedia/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2b21bd0c15de173b7614e95382349c572f78e4f3 X-VCS-Branch: master Date: Wed, 22 Sep 2021 20:01:46 +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: 9f1ee017-f7f6-482b-9f93-10eecbb3d640 X-Archives-Hash: e60c3ee6d2035d8bbc5597b6df10d2fe commit: 2b21bd0c15de173b7614e95382349c572f78e4f3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Sep 22 09:39:51 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Sep 22 20:01:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b21bd0c dev-qt/qtmultimedia: Add missing media-libs/libglvnd DEPEND Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-qt/qtmultimedia/qtmultimedia-5.15.2-r2.ebuild | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.15.2-r2.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.15.2-r2.ebuild new file mode 100644 index 00000000000..46226e53182 --- /dev/null +++ b/dev-qt/qtmultimedia/qtmultimedia-5.15.2-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qt5-build + +DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt5 framework" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +IUSE="alsa gles2-only gstreamer openal pulseaudio qml widgets" + +RDEPEND=" + =dev-qt/qtcore-${QT5_PV}* + =dev-qt/qtgui-${QT5_PV}*[gles2-only=] + =dev-qt/qtnetwork-${QT5_PV}* + alsa? ( media-libs/alsa-lib ) + gstreamer? ( + dev-libs/glib:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-base:1.0 + ) + pulseaudio? ( media-sound/pulseaudio[glib] ) + qml? ( + =dev-qt/qtdeclarative-${QT5_PV}* + gles2-only? ( =dev-qt/qtgui-${QT5_PV}*[egl] ) + openal? ( media-libs/openal ) + ) + widgets? ( + =dev-qt/qtopengl-${QT5_PV}* + =dev-qt/qtwidgets-${QT5_PV}*[gles2-only=] + media-libs/libglvnd + ) +" +DEPEND="${RDEPEND} + gstreamer? ( x11-base/xorg-proto ) +" + +src_prepare() { + sed -i -e '/CONFIG\s*+=/ s/optimize_full//' \ + src/multimedia/multimedia.pro || die + + qt_use_disable_config openal openal \ + src/imports/imports.pro + + qt_use_disable_mod qml quick \ + src/src.pro \ + src/plugins/plugins.pro + + qt_use_disable_mod widgets widgets \ + src/src.pro \ + src/gsttools/gsttools.pro \ + src/plugins/gstreamer/common.pri + + qt5-build_src_prepare +} + +src_configure() { + local myqmakeargs=( + -- + $(qt_use alsa) + $(qt_use gstreamer) + $(qt_use pulseaudio) + ) + qt5-build_src_configure +}