Qt 6.8.0
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/qt6-multimedia?expand=0&rev=52
This commit is contained in:
commit
86fa0adbbd
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
60
0001-Build-with-system-eigen-3.patch
Normal file
60
0001-Build-with-system-eigen-3.patch
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
From f98aa561abc6d36edf0590f3397100180d842cab Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christophe Marin <christophe@krop.fr>
|
||||||
|
Date: Wed, 9 Oct 2024 14:19:49 +0200
|
||||||
|
Subject: [PATCH] =?UTF-8?q?Build=20with=20system=20eigen=C2=A03?=
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
---
|
||||||
|
src/3rdparty/resonance-audio/CMakeLists.txt | 2 +-
|
||||||
|
src/resonance-audio/CMakeLists.txt | 3 +--
|
||||||
|
src/spatialaudio/CMakeLists.txt | 2 +-
|
||||||
|
3 files changed, 3 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/3rdparty/resonance-audio/CMakeLists.txt b/src/3rdparty/resonance-audio/CMakeLists.txt
|
||||||
|
index 6af0b3f..fce0280 100644
|
||||||
|
--- a/src/3rdparty/resonance-audio/CMakeLists.txt
|
||||||
|
+++ b/src/3rdparty/resonance-audio/CMakeLists.txt
|
||||||
|
@@ -98,7 +98,7 @@ elseif (UNIX)
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
# Add Eigen3.
|
||||||
|
-set(EIGEN3_DIR "${PROJECT_SOURCE_DIR}/third_party/eigen/" CACHE PATH "Path to eigen3 library")
|
||||||
|
+set(EIGEN3_DIR "/usr/include/eigen3" CACHE PATH "Path to eigen3 library")
|
||||||
|
set(EIGEN3_INCLUDE_DIR ${EIGEN3_DIR})
|
||||||
|
add_definitions(-DEIGEN_MPL2_ONLY)
|
||||||
|
|
||||||
|
diff --git a/src/resonance-audio/CMakeLists.txt b/src/resonance-audio/CMakeLists.txt
|
||||||
|
index 0fa9dec..2d74be7 100644
|
||||||
|
--- a/src/resonance-audio/CMakeLists.txt
|
||||||
|
+++ b/src/resonance-audio/CMakeLists.txt
|
||||||
|
@@ -211,11 +211,10 @@ qt_internal_add_3rdparty_library(BundledResonanceAudio
|
||||||
|
${RA_SOURCE_DIR}
|
||||||
|
${PFFFT_DIR}
|
||||||
|
${SADIE_HRTFS_DIR}
|
||||||
|
- ../3rdparty/eigen
|
||||||
|
+ /usr/include/eigen3
|
||||||
|
ATTRIBUTION_FILE_DIR_PATHS
|
||||||
|
${RA_TOPLEVEL_DIR}
|
||||||
|
${PFFFT_DIR}
|
||||||
|
- ../3rdparty/eigen
|
||||||
|
)
|
||||||
|
|
||||||
|
# Required by pffft on certain PowerPC archs
|
||||||
|
diff --git a/src/spatialaudio/CMakeLists.txt b/src/spatialaudio/CMakeLists.txt
|
||||||
|
index 46120c4..16547a0 100644
|
||||||
|
--- a/src/spatialaudio/CMakeLists.txt
|
||||||
|
+++ b/src/spatialaudio/CMakeLists.txt
|
||||||
|
@@ -14,7 +14,7 @@ qt_internal_add_module(SpatialAudio
|
||||||
|
"../3rdparty/resonance-audio/resonance_audio"
|
||||||
|
"../3rdparty/resonance-audio"
|
||||||
|
"../resonance-audio"
|
||||||
|
- "../3rdparty/eigen"
|
||||||
|
+ "/usr/include/eigen3"
|
||||||
|
LIBRARIES
|
||||||
|
Qt::MultimediaPrivate
|
||||||
|
Qt::BundledResonanceAudio
|
||||||
|
--
|
||||||
|
2.46.1
|
||||||
|
|
28
0001-Fix-build-on-x86-arch.patch
Normal file
28
0001-Fix-build-on-x86-arch.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 610d7280ad1db68be49cb26b3d05b3a8059962cc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christophe Marin <christophe@krop.fr>
|
||||||
|
Date: Wed, 9 Oct 2024 12:27:14 +0200
|
||||||
|
Subject: [PATCH] Fix build on x86 arch
|
||||||
|
|
||||||
|
With GCC 14, build fails with:
|
||||||
|
/usr/lib/gcc/i586-suse-linux/14/include/xmmintrin.h:190:1: error: inlining failed in call to ‘always_inline’ ‘_mm_add_ps(float __vector(4), float __vector(4))’: target specific option mismatch
|
||||||
|
|
||||||
|
---
|
||||||
|
src/resonance-audio/CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/resonance-audio/CMakeLists.txt b/src/resonance-audio/CMakeLists.txt
|
||||||
|
index 0fa9dec..1eff0a3 100644
|
||||||
|
--- a/src/resonance-audio/CMakeLists.txt
|
||||||
|
+++ b/src/resonance-audio/CMakeLists.txt
|
||||||
|
@@ -233,7 +233,7 @@ qt_internal_extend_target(BundledResonanceAudio CONDITION (${CMAKE_SYSTEM_PROCES
|
||||||
|
# Use fallback mode if SSE is not available
|
||||||
|
qt_internal_extend_target(BundledResonanceAudio CONDITION (${CMAKE_SYSTEM_PROCESSOR} MATCHES "i[3-6]86$")
|
||||||
|
COMPILE_OPTIONS
|
||||||
|
- -DPFFFT_SIMD_DISABLE
|
||||||
|
+ -DPFFFT_SIMD_DISABLE -DDISABLE_SIMD
|
||||||
|
)
|
||||||
|
|
||||||
|
qt_disable_warnings(BundledResonanceAudio)
|
||||||
|
--
|
||||||
|
2.46.1
|
||||||
|
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<flavor>docs</flavor>
|
||||||
|
</multibuild>
|
||||||
|
|
2
qt6-multimedia-rpmlintrc
Normal file
2
qt6-multimedia-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# library and development package names don't match
|
||||||
|
addFilter("no-dependency-on .*")
|
210
qt6-multimedia.changes
Normal file
210
qt6-multimedia.changes
Normal file
@ -0,0 +1,210 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 8 09:29:46 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.8.0:
|
||||||
|
* https://www.qt.io/blog/qt-6.8-released
|
||||||
|
- Add patch to fix build on x86:
|
||||||
|
* 0001-Fix-build-on-x86-arch.patch
|
||||||
|
- Add patch to use system Eigen headers
|
||||||
|
* 0001-Build-with-system-eigen-3.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 28 08:23:01 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.7.3
|
||||||
|
* https://www.qt.io/blog/qt-6.7.3-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 19 07:25:49 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.7.2:
|
||||||
|
* https://www.qt.io/blog/qt-6.7.2-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 08:31:36 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.7.1:
|
||||||
|
* https://www.qt.io/blog/qt-6.7.1-released
|
||||||
|
- Drop patch, merged upstream:
|
||||||
|
* 0001-Fix-ABI-breakage-wrt-QAudioSink-Source-stateChanged-.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 6 13:14:31 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Add upstream change to restore binary compatibility (QTBUG-123997):
|
||||||
|
* 0001-Fix-ABI-breakage-wrt-QAudioSink-Source-stateChanged-.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 2 13:39:46 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.7.0:
|
||||||
|
* https://www.qt.io/blog/qt-6.7-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 27 12:56:08 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Make libQt6Multimedia6 require the qtmultimedia plugins (related: boo#1222064)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 26 14:26:06 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.6.3:
|
||||||
|
* https://www.qt.io/blog/qt-6.6.3-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 14 16:53:20 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.6.2
|
||||||
|
* https://www.qt.io/blog/qt-6.6.2-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 27 14:00:12 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.6.1:
|
||||||
|
* https://www.qt.io/blog/qt-6.6.1-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 10 09:39:54 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.6.0
|
||||||
|
* https://www.qt.io/blog/qt-6.6-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 28 07:34:14 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.5.3
|
||||||
|
* https://www.qt.io/blog/qt-6.5.3-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 20 09:03:48 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.5.2
|
||||||
|
* https://www.qt.io/blog/qt-6.5.2-released-1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 30 15:13:11 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update subpackages requirements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 24 07:45:38 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.5.1
|
||||||
|
* https://www.qt.io/blog/qt-6.5.1-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 3 10:02:14 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.5.0
|
||||||
|
* https://www.qt.io/blog/qt-6.5-lts-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 16 10:00:03 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.4.3:
|
||||||
|
* https://www.qt.io/blog/qt-6.4.3-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 6 16:46:43 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.4.2:
|
||||||
|
* https://www.qt.io/blog/qt-6.4.2-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 15 11:53:15 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.4.1:
|
||||||
|
* https://www.qt.io/blog/qt-6.4.1-released
|
||||||
|
- Drop patch, merged upstream:
|
||||||
|
* 0001-3rdparty-Fix-build-on-unsupported-platforms.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 29 10:35:55 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.4.0:
|
||||||
|
* https://www.qt.io/blog/qt-6.4-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 16 08:29:11 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.4.0 RC
|
||||||
|
- Enable the FFmpeg backend for better latencies
|
||||||
|
- Use PulseAudio rather than Alsa for building qt6-multimedia
|
||||||
|
- Add patch to fix build on PowerPC and x86:
|
||||||
|
* 0001-3rdparty-Fix-build-on-unsupported-platforms.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 9 12:41:39 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.3.2:
|
||||||
|
* https://www.qt.io/blog/qt-6.3.2-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 17 15:15:18 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.3.1:
|
||||||
|
* https://www.qt.io/blog/qt-6.3.1-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 8 11:56:55 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.3.0:
|
||||||
|
* https://www.qt.io/blog/qt-6.3-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 29 12:28:35 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.3.0-rc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 21 08:46:49 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.4
|
||||||
|
* https://www.qt.io/blog/qt-6.2.4-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 31 08:54:35 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.3:
|
||||||
|
* https://www.qt.io/blog/qt-6.2.3-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 1 10:06:11 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.2
|
||||||
|
* https://www.qt.io/blog/qt-6.2.2-released
|
||||||
|
- Make sure all dependencies are present when installing devel
|
||||||
|
packages. Qt >= 6.2.2 is much less permissive.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 26 11:22:44 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.1
|
||||||
|
* https://www.qt.io/blog/qt-6.2.1-released
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 30 12:28:38 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.0:
|
||||||
|
* https://www.qt.io/blog/qt-6.2-lts-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 25 07:18:38 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.0-rc2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 16 14:07:48 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.0-rc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 9 14:05:11 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 6.2.0-beta4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 29 15:15:39 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Init qt6-multimedia
|
373
qt6-multimedia.spec
Normal file
373
qt6-multimedia.spec
Normal file
@ -0,0 +1,373 @@
|
|||||||
|
#
|
||||||
|
# spec file for package qt6-multimedia
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define real_version 6.8.0
|
||||||
|
%define short_version 6.8
|
||||||
|
%define short_name qtmultimedia
|
||||||
|
%define tar_name qtmultimedia-everywhere-src
|
||||||
|
%define tar_suffix %{nil}
|
||||||
|
#
|
||||||
|
%global qt6_flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{qt6_flavor}" == "docs"
|
||||||
|
%define pkg_suffix -docs
|
||||||
|
%endif
|
||||||
|
#
|
||||||
|
Name: qt6-multimedia%{?pkg_suffix}
|
||||||
|
Version: 6.8.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Qt 6 Multimedia libraries
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
URL: https://www.qt.io
|
||||||
|
Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
|
||||||
|
Source1: qt6-multimedia-rpmlintrc
|
||||||
|
# PATCH-FIX-OPENSUSE -- Disable SIMD on x86 again
|
||||||
|
Patch0: 0001-Fix-build-on-x86-arch.patch
|
||||||
|
# PATCH-FIX-OPENSUSE -- Use system eigen 3
|
||||||
|
Patch1: 0001-Build-with-system-eigen-3.patch
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: qt6-core-private-devel
|
||||||
|
BuildRequires: qt6-gui-private-devel
|
||||||
|
BuildRequires: qt6-quick-private-devel
|
||||||
|
BuildRequires: qt6-quick3d-private-devel
|
||||||
|
BuildRequires: qt6-widgets-private-devel
|
||||||
|
BuildRequires: cmake(Qt6Core) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6Gui) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6Network) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6Qml) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6Quick) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6Quick3D) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6QuickControls2) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6QuickTest) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6ShaderTools) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6Svg) = %{real_version}
|
||||||
|
BuildRequires: cmake(Qt6Widgets) = %{real_version}
|
||||||
|
BuildRequires: pkgconfig(eigen3) >= 3.4.0
|
||||||
|
# GStreamer may cause high latencies and is not the default anymore for desktops
|
||||||
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-app-1.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||||
|
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
||||||
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
|
BuildRequires: pkgconfig(libavdevice)
|
||||||
|
BuildRequires: pkgconfig(libavformat)
|
||||||
|
BuildRequires: pkgconfig(libavutil)
|
||||||
|
BuildRequires: pkgconfig(libpipewire-0.3)
|
||||||
|
BuildRequires: pkgconfig(libpulse)
|
||||||
|
BuildRequires: pkgconfig(libswresample)
|
||||||
|
BuildRequires: pkgconfig(libswscale)
|
||||||
|
BuildRequires: pkgconfig(libva)
|
||||||
|
%if "%{qt6_flavor}" == "docs"
|
||||||
|
BuildRequires: qt6-tools
|
||||||
|
%{qt6_doc_packages}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Qt Multimedia is a module that provides a set of QML types and C++
|
||||||
|
classes to handle multimedia content. It also provides APIs to access
|
||||||
|
the camera and radio functionality.
|
||||||
|
|
||||||
|
%if !%{qt6_docs_flavor}
|
||||||
|
|
||||||
|
%package imports
|
||||||
|
Summary: Qt 6 Multimedia QML files and plugins
|
||||||
|
|
||||||
|
%description imports
|
||||||
|
QML files and plugins from the Qt 6 Multimedia module.
|
||||||
|
|
||||||
|
%package -n libQt6Multimedia6
|
||||||
|
Summary: Qt 6 Multimedia library
|
||||||
|
Requires: qt6-multimedia = %{version}
|
||||||
|
|
||||||
|
%description -n libQt6Multimedia6
|
||||||
|
The Qt 6 Multimedia library.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Qt 6 Multimedia library - Development files
|
||||||
|
Requires: libQt6Multimedia6 = %{version}
|
||||||
|
Requires: cmake(Qt6Gui) = %{real_version}
|
||||||
|
Requires: cmake(Qt6Network) = %{real_version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for the Qt 6 Multimedia library.
|
||||||
|
|
||||||
|
%package private-devel
|
||||||
|
Summary: Non-ABI stable API for the Qt 6 Multimedia Library
|
||||||
|
Requires: cmake(Qt6Multimedia) = %{real_version}
|
||||||
|
%requires_eq qt6-core-private-devel
|
||||||
|
%requires_eq qt6-gui-private-devel
|
||||||
|
|
||||||
|
%description private-devel
|
||||||
|
This package provides private headers of libQt6Multimedia that do not have any
|
||||||
|
ABI or API guarantees.
|
||||||
|
|
||||||
|
%package -n libQt6MultimediaWidgets6
|
||||||
|
Summary: Qt 6 MultimediaWidgets library
|
||||||
|
|
||||||
|
%description -n libQt6MultimediaWidgets6
|
||||||
|
The Qt 6 MultimediaWidgets library.
|
||||||
|
|
||||||
|
%package -n qt6-multimediawidgets-devel
|
||||||
|
Summary: Qt 6 MultimediaWidgets library - Development files
|
||||||
|
Requires: libQt6MultimediaWidgets6 = %{version}
|
||||||
|
Requires: cmake(Qt6Gui) = %{real_version}
|
||||||
|
Requires: cmake(Qt6Multimedia) = %{real_version}
|
||||||
|
Requires: cmake(Qt6Widgets) = %{real_version}
|
||||||
|
|
||||||
|
%description -n qt6-multimediawidgets-devel
|
||||||
|
Development files for the Qt 6 MultimediaWidgets library.
|
||||||
|
|
||||||
|
%package -n qt6-multimediawidgets-private-devel
|
||||||
|
Summary: Non-ABI stable API for the Qt 6 MultimediaWidgets Library
|
||||||
|
Requires: qt6-multimedia-private-devel = %{version}
|
||||||
|
Requires: cmake(Qt6MultimediaWidgets) = %{real_version}
|
||||||
|
%requires_eq qt6-widgets-private-devel
|
||||||
|
|
||||||
|
%description -n qt6-multimediawidgets-private-devel
|
||||||
|
This package provides private headers of libQt6MultimediaWidgets that do not
|
||||||
|
have any ABI or API guarantees.
|
||||||
|
|
||||||
|
%package -n libQt6SpatialAudio6
|
||||||
|
Summary: Qt 6 SpatialAudio library
|
||||||
|
|
||||||
|
%description -n libQt6SpatialAudio6
|
||||||
|
The Qt 6 SpatialAudio library.
|
||||||
|
|
||||||
|
%package -n qt6-spatialaudio-devel
|
||||||
|
Summary: Qt 6 SpatialAudio library - Development files
|
||||||
|
Requires: libQt6SpatialAudio6 = %{version}
|
||||||
|
Requires: cmake(Qt6Multimedia) = %{real_version}
|
||||||
|
|
||||||
|
%description -n qt6-spatialaudio-devel
|
||||||
|
Development files for the Qt 6 SpatialAudio library.
|
||||||
|
|
||||||
|
%package -n qt6-spatialaudio-private-devel
|
||||||
|
Summary: Non-ABI stable API for the Qt 6 SpatialAudio Library
|
||||||
|
Requires: cmake(Qt6SpatialAudio) = %{real_version}
|
||||||
|
|
||||||
|
%description -n qt6-spatialaudio-private-devel
|
||||||
|
This package provides private headers of libQt6SpatialAudio that do not have any
|
||||||
|
ABI or API guarantees.
|
||||||
|
|
||||||
|
### Private only library ###
|
||||||
|
|
||||||
|
%package -n libQt6MultimediaQuick6
|
||||||
|
Summary: Qt 6 MultimediaQuick library
|
||||||
|
|
||||||
|
%description -n libQt6MultimediaQuick6
|
||||||
|
The Qt 6 MultimediaQuick library.
|
||||||
|
This library does not have any ABI or API guarantees.
|
||||||
|
|
||||||
|
%package -n qt6-multimediaquick-private-devel
|
||||||
|
Summary: Qt 6 MultimediaQuick library - Development files
|
||||||
|
Requires: libQt6MultimediaQuick6 = %{version}
|
||||||
|
Requires: qt6-multimedia-private-devel = %{version}
|
||||||
|
Requires: cmake(Qt6Multimedia) = %{real_version}
|
||||||
|
Requires: cmake(Qt6Quick) = %{real_version}
|
||||||
|
%requires_eq qt6-quick-private-devel
|
||||||
|
|
||||||
|
%description -n qt6-multimediaquick-private-devel
|
||||||
|
Development files for the Qt 6 Multimedia private library.
|
||||||
|
This library does not have any ABI or API guarantees.
|
||||||
|
|
||||||
|
%package -n libQt6Quick3DSpatialAudio6
|
||||||
|
Summary: Qt 6 Quick3DSpatialAudio library
|
||||||
|
|
||||||
|
%description -n libQt6Quick3DSpatialAudio6
|
||||||
|
The Qt 6 Quick3DSpatialAudio library.
|
||||||
|
This library does not have any ABI or API guarantees.
|
||||||
|
|
||||||
|
%package -n qt6-quick3dspatialaudio-private-devel
|
||||||
|
Summary: Qt 6 Quick3DSpatialAudio library - Development files
|
||||||
|
Requires: libQt6Quick3DSpatialAudio6 = %{version}
|
||||||
|
Requires: cmake(Qt6Quick3D) = %{version}
|
||||||
|
Requires: cmake(Qt6SpatialAudio) = %{version}
|
||||||
|
%requires_eq qt6-quick3d-private-devel
|
||||||
|
|
||||||
|
%description -n qt6-quick3dspatialaudio-private-devel
|
||||||
|
Development files for the Qt 6 Quick3DSpatialAudio private library.
|
||||||
|
This library does not have any ABI or API guarantees.
|
||||||
|
|
||||||
|
### Static libraries ###
|
||||||
|
|
||||||
|
%package -n qt6-bundledresonanceaudio-devel-static
|
||||||
|
Summary: Qt6 BundledResonanceAudio static library
|
||||||
|
%requires_eq qt6-core-private-devel
|
||||||
|
|
||||||
|
%description -n qt6-bundledresonanceaudio-devel-static
|
||||||
|
The Qt6 BundledResonanceAudio static library.
|
||||||
|
This library does not have any ABI or API guarantees.
|
||||||
|
|
||||||
|
%{qt6_examples_package}
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
|
||||||
|
|
||||||
|
# Use system eigen3
|
||||||
|
rm -r ./src/3rdparty/eigen
|
||||||
|
|
||||||
|
%build
|
||||||
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
|
|
||||||
|
%cmake_qt6 \
|
||||||
|
-DINPUT_gstreamer:BOOL=ON \
|
||||||
|
-DINPUT_ffmpeg:BOOL=ON
|
||||||
|
|
||||||
|
%{qt6_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{qt6_install}
|
||||||
|
|
||||||
|
%if !%{qt6_docs_flavor}
|
||||||
|
|
||||||
|
%fdupes %{buildroot}%{_qt6_includedir}/QtMultimedia
|
||||||
|
|
||||||
|
# CMake files are not needed for plugins
|
||||||
|
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins
|
||||||
|
rm %{buildroot}%{_qt6_cmakedir}/*/*Plugin{Config,Targets}*.cmake
|
||||||
|
|
||||||
|
# The GstreamerMediaPlugin library has a limited usage outside of Qt development
|
||||||
|
# (needed to create unit tests for the gstreamer plugin)
|
||||||
|
rm %{buildroot}%{_qt6_cmakedir}/Qt6Multimedia/Qt6QGstreamerMediaPluginAdditionalTargetInfo.cmake
|
||||||
|
rm %{buildroot}%{_qt6_descriptionsdir}/QGstreamerMediaPluginImplPrivate.json
|
||||||
|
rm %{buildroot}%{_qt6_libdir}/libQt6QGstreamerMediaPluginImpl.a
|
||||||
|
rm %{buildroot}%{_qt6_libdir}/libQt6QGstreamerMediaPluginImpl.prl
|
||||||
|
rm %{buildroot}%{_qt6_metatypesdir}/qt6qgstreamermediapluginimplprivate_*_metatypes.json
|
||||||
|
rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qgstreamermediapluginimpl_private.pri
|
||||||
|
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6QGstreamerMediaPluginImplPrivate/
|
||||||
|
rm -r %{buildroot}%{_qt6_includedir}/QtQGstreamerMediaPluginImpl/
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n libQt6Multimedia6
|
||||||
|
%ldconfig_scriptlets -n libQt6MultimediaQuick6
|
||||||
|
%ldconfig_scriptlets -n libQt6MultimediaWidgets6
|
||||||
|
%ldconfig_scriptlets -n libQt6Quick3DSpatialAudio6
|
||||||
|
%ldconfig_scriptlets -n libQt6SpatialAudio6
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_qt6_pluginsdir}/multimedia/
|
||||||
|
|
||||||
|
%files imports
|
||||||
|
%{_qt6_qmldir}/QtMultimedia/
|
||||||
|
%{_qt6_qmldir}/QtQuick3D/
|
||||||
|
|
||||||
|
%files -n libQt6Multimedia6
|
||||||
|
%license LICENSES/*
|
||||||
|
%{_qt6_libdir}/libQt6Multimedia.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindAVFoundation.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindFFmpeg.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindGObject.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindGStreamer.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindMMRenderer.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindMMRendererCore.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindPipeWire.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindVAAPI.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindWMF.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindWrapPulseAudio.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/QtMultimediaTestsConfig.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6Multimedia/
|
||||||
|
%{_qt6_descriptionsdir}/Multimedia.json
|
||||||
|
%{_qt6_includedir}/QtMultimedia/
|
||||||
|
%{_qt6_libdir}/libQt6Multimedia.prl
|
||||||
|
%{_qt6_libdir}/libQt6Multimedia.so
|
||||||
|
%{_qt6_metatypesdir}/qt6multimedia_*_metatypes.json
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_multimedia.pri
|
||||||
|
%{_qt6_pkgconfigdir}/Qt6Multimedia.pc
|
||||||
|
%exclude %{_qt6_includedir}/QtMultimedia/%{real_version}
|
||||||
|
|
||||||
|
%files private-devel
|
||||||
|
%{_qt6_includedir}/QtMultimedia/%{real_version}
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_multimedia_private.pri
|
||||||
|
|
||||||
|
%files -n libQt6MultimediaWidgets6
|
||||||
|
%{_qt6_libdir}/libQt6MultimediaWidgets.so.*
|
||||||
|
|
||||||
|
%files -n qt6-multimediawidgets-devel
|
||||||
|
%{_qt6_cmakedir}/Qt6MultimediaWidgets/
|
||||||
|
%{_qt6_descriptionsdir}/MultimediaWidgets.json
|
||||||
|
%{_qt6_includedir}/QtMultimediaWidgets/
|
||||||
|
%{_qt6_libdir}/libQt6MultimediaWidgets.prl
|
||||||
|
%{_qt6_libdir}/libQt6MultimediaWidgets.so
|
||||||
|
%{_qt6_metatypesdir}/qt6multimediawidgets_*_metatypes.json
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_multimediawidgets.pri
|
||||||
|
%{_qt6_pkgconfigdir}/Qt6MultimediaWidgets.pc
|
||||||
|
%exclude %{_qt6_includedir}/QtMultimediaWidgets/%{real_version}
|
||||||
|
|
||||||
|
%files -n qt6-multimediawidgets-private-devel
|
||||||
|
%{_qt6_includedir}/QtMultimediaWidgets/%{real_version}
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_multimediawidgets_private.pri
|
||||||
|
|
||||||
|
%files -n libQt6SpatialAudio6
|
||||||
|
%{_qt6_libdir}/libQt6SpatialAudio.so.*
|
||||||
|
|
||||||
|
%files -n qt6-spatialaudio-devel
|
||||||
|
%{_qt6_cmakedir}/Qt6SpatialAudio/
|
||||||
|
%{_qt6_descriptionsdir}/SpatialAudio.json
|
||||||
|
%{_qt6_includedir}/QtSpatialAudio/
|
||||||
|
%{_qt6_libdir}/libQt6SpatialAudio.prl
|
||||||
|
%{_qt6_libdir}/libQt6SpatialAudio.so
|
||||||
|
%{_qt6_metatypesdir}/qt6spatialaudio_*_metatypes.json
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_spatialaudio.pri
|
||||||
|
%{_qt6_pkgconfigdir}/Qt6SpatialAudio.pc
|
||||||
|
%exclude %{_qt6_includedir}/QtSpatialAudio/%{real_version}
|
||||||
|
|
||||||
|
%files -n qt6-spatialaudio-private-devel
|
||||||
|
%{_qt6_includedir}/QtSpatialAudio/%{real_version}
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_spatialaudio_private.pri
|
||||||
|
|
||||||
|
### Private only library ###
|
||||||
|
|
||||||
|
%files -n libQt6MultimediaQuick6
|
||||||
|
%{_qt6_libdir}/libQt6MultimediaQuick.so.*
|
||||||
|
|
||||||
|
%files -n qt6-multimediaquick-private-devel
|
||||||
|
%{_qt6_cmakedir}/Qt6MultimediaQuickPrivate/
|
||||||
|
%{_qt6_descriptionsdir}/MultimediaQuickPrivate.json
|
||||||
|
%{_qt6_includedir}/QtMultimediaQuick/
|
||||||
|
%{_qt6_libdir}/libQt6MultimediaQuick.prl
|
||||||
|
%{_qt6_libdir}/libQt6MultimediaQuick.so
|
||||||
|
%{_qt6_metatypesdir}/qt6multimediaquickprivate_*_metatypes.json
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_multimediaquick_private.pri
|
||||||
|
|
||||||
|
%files -n libQt6Quick3DSpatialAudio6
|
||||||
|
%{_qt6_libdir}/libQt6Quick3DSpatialAudio.so.*
|
||||||
|
|
||||||
|
%files -n qt6-quick3dspatialaudio-private-devel
|
||||||
|
%{_qt6_cmakedir}/Qt6Quick3DSpatialAudioPrivate/
|
||||||
|
%{_qt6_descriptionsdir}/Quick3DSpatialAudioPrivate.json
|
||||||
|
%{_qt6_includedir}/QtQuick3DSpatialAudio/
|
||||||
|
%{_qt6_libdir}/libQt6Quick3DSpatialAudio.prl
|
||||||
|
%{_qt6_libdir}/libQt6Quick3DSpatialAudio.so
|
||||||
|
%{_qt6_metatypesdir}/qt6quick3dspatialaudioprivate_*_metatypes.json
|
||||||
|
%{_qt6_mkspecsdir}/modules/qt_lib_quick3dspatialaudio_private.pri
|
||||||
|
|
||||||
|
### Static libraries ###
|
||||||
|
|
||||||
|
%files -n qt6-bundledresonanceaudio-devel-static
|
||||||
|
%{_qt6_cmakedir}/Qt6/FindWrapBundledResonanceAudioConfigExtra.cmake
|
||||||
|
%{_qt6_cmakedir}/Qt6BundledResonanceAudio/
|
||||||
|
%{_qt6_libdir}/libQt6BundledResonanceAudio.a
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
BIN
qtmultimedia-everywhere-src-6.7.2.tar.xz
(Stored with Git LFS)
Normal file
BIN
qtmultimedia-everywhere-src-6.7.2.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
qtmultimedia-everywhere-src-6.7.3.tar.xz
Normal file
3
qtmultimedia-everywhere-src-6.7.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:304d28b8e592435293893b0110d5f3534407604d1e04d8a0b0e5b34afe577303
|
||||||
|
size 9360356
|
3
qtmultimedia-everywhere-src-6.8.0.tar.xz
Normal file
3
qtmultimedia-everywhere-src-6.8.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:28766aa562fa7aa7dfa8420defd6ece90a891a0496b8d8a4c51958182d73cfcd
|
||||||
|
size 9591692
|
Loading…
x
Reference in New Issue
Block a user