summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2023-07-20 22:32:51 +0300
committerJimi Huotari <chiitoo@gentoo.org>2023-07-20 22:41:00 +0300
commit68951da11e7dfef0c02c545a33221de52c453263 (patch)
treed5fc868f27d4b7ea7e01d0b1d244bba8d8b709b8 /dev-qt
parentdev-qt/qtpositioning: add 6.5.2 (diff)
downloadgentoo-68951da11e7dfef0c02c545a33221de52c453263.tar.gz
gentoo-68951da11e7dfef0c02c545a33221de52c453263.tar.bz2
gentoo-68951da11e7dfef0c02c545a33221de52c453263.zip
dev-qt/qtmultimedia: add 6.5.2
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtmultimedia/Manifest1
-rw-r--r--dev-qt/qtmultimedia/qtmultimedia-6.5.2.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/Manifest b/dev-qt/qtmultimedia/Manifest
index 3fab4c87596e..edba1e436629 100644
--- a/dev-qt/qtmultimedia/Manifest
+++ b/dev-qt/qtmultimedia/Manifest
@@ -1,3 +1,4 @@
DIST qtmultimedia-5.15.10-gentoo-kde-1.tar.xz 2420 BLAKE2B 9062d863dc7e47a5690c75a98610ecca442a24ba1fc29ef62ef75db8f2e9cbc7ea02d82fa46dcc78200b6393dc36e726a92fbb95d3e8326395400c36160b77a3 SHA512 acf901d880cfb8478647c62ec349009bfea62bb65fad1f4431a918029f482a493ce4e2d78e8d00815659e3e109cc9f668dd7d1d6b9cb8eb2b41b487a0fceac5c
DIST qtmultimedia-everywhere-opensource-src-5.15.10.tar.xz 3832156 BLAKE2B 88c01c685294085fdde9f00e2e2ea0952311cef910ee037bd6ee204cf7e00bc25a6aeecbdd70e4822bfe4de40cb6b991a8f4a72bfd74872110d43154aefce0b3 SHA512 a322dba0daced00cf0a7fcd21b7f55c281dec107b7976792406ecc7658c94ea1a40c81c7cbdc0987f1be32cafd2458993c92db87fcbfdc7ba1243d2e0047896e
DIST qtmultimedia-everywhere-src-6.5.1.tar.xz 6290204 BLAKE2B 3ae21e2d0c50c4d8d99e3d0e2a15405a04c1f0f2d8bef204975185828aada27008a8b03756652b4700afe1b189e391e113c11e2283a39200652a211dc4e0c39b SHA512 2085d223869b627a2e5590a08081eb23ca34f8122c6492867db4596d5414e9c3eeca9338cf1745638ee60f0c559cbaa73aaab14c40785accf60a0d7e177fb937
+DIST qtmultimedia-everywhere-src-6.5.2.tar.xz 6415576 BLAKE2B c0032c405315e6884de6bb851de3aed0b60827a932c15b1022dca70ebfaa5dffb258b2b22f9ab40f57586490db6ec50ea862152fca8429e600f9c6bffe2f42a2 SHA512 e12a2406e78eda8f3f4674b8fe01b06bc2c7b8fcbe5342e25e28340e13c0ab0db44a78c91a8a1f268664e5bb11c3bc7116248700f0c67faa618e058af0dfb1e0
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.5.2.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.5.2.ebuild
new file mode 100644
index 000000000000..1091cf2d5cf6
--- /dev/null
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.5.2.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
+}