Source: qt6-multimedia
Version: 6.4.2-5
Severity: normal

Dear Maintainer,

Please find bellow a debdiff to build qt6-multimedia with system
eigen3

Changes are:
      Add libeigen3-dev to Build-Depends
      Add a pacth to changes the cinclude path ../3rdparty/eigen to 
/usr/include/eigen3
          in src/spatialaudio/CMakeLists.txt and 
src/resonance-audio/CMakeLists.txt

Source build fine under an amd64 chroot (pbuilder)

Christian

,----
| diff -Nru qt6-multimedia-6.4.2/debian/changelog 
qt6-multimedia-6.4.2/debian/changelog
| --- qt6-multimedia-6.4.2/debian/changelog     2023-05-06 17:40:13.000000000 
+0200
| +++ qt6-multimedia-6.4.2/debian/changelog     2023-06-24 08:20:40.000000000 
+0200
| @@ -1,3 +1,9 @@
| +qt6-multimedia (6.4.2-6) unstable; urgency=medium
| +
| +  * Build with system eigen3
| +
| + -- Christian Marillat <maril...@deb-multimedia.org>  Sat, 24 Jun 2023 
08:20:40 +0200
| +
|  qt6-multimedia (6.4.2-5) unstable; urgency=medium
|  
|    [ Patrick Franz ]
| diff -Nru qt6-multimedia-6.4.2/debian/control 
qt6-multimedia-6.4.2/debian/control
| --- qt6-multimedia-6.4.2/debian/control       2023-01-27 21:19:15.000000000 
+0100
| +++ qt6-multimedia-6.4.2/debian/control       2023-06-24 08:05:27.000000000 
+0200
| @@ -5,6 +5,7 @@
|  Uploaders: Patrick Franz <delta...@debian.org>, Lu YaNing 
<dluyan...@gmail.com>
|  Build-Depends: cmake (>= 3.24~),
|                 debhelper-compat (= 13),
| +               libeigen3-dev,
|                 libasound2-dev [linux-any],
|                 libavcodec-dev,
|                 libavdevice-dev,
| diff -Nru qt6-multimedia-6.4.2/debian/patches/series 
qt6-multimedia-6.4.2/debian/patches/series
| --- qt6-multimedia-6.4.2/debian/patches/series        2023-01-22 
19:20:55.000000000 +0100
| +++ qt6-multimedia-6.4.2/debian/patches/series        2023-06-24 
08:08:36.000000000 +0200
| @@ -1 +1,2 @@
|  provide_default_implementation_for_qplatformmediadevices.patch
| +system-eigen3.patch
| diff -Nru qt6-multimedia-6.4.2/debian/patches/system-eigen3.patch 
qt6-multimedia-6.4.2/debian/patches/system-eigen3.patch
| --- qt6-multimedia-6.4.2/debian/patches/system-eigen3.patch   1970-01-01 
01:00:00.000000000 +0100
| +++ qt6-multimedia-6.4.2/debian/patches/system-eigen3.patch   2023-06-24 
08:20:40.000000000 +0200
| @@ -0,0 +1,22 @@
| +--- a/src/spatialaudio/CMakeLists.txt
| ++++ b/src/spatialaudio/CMakeLists.txt
| +@@ -11,7 +11,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
| +--- a/src/resonance-audio/CMakeLists.txt
| ++++ b/src/resonance-audio/CMakeLists.txt
| +@@ -204,7 +204,7 @@ qt_internal_add_3rdparty_library(Bundled
| +         ${RA_SOURCE_DIR}
| +         ${PFFFT_DIR}
| +         ${SADIE_HRTFS_DIR}
| +-        ../3rdparty/eigen
| ++        /usr/include/eigen3
| + )
| + 
| + # Required by pffft on certain PowerPC archs
`----




-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.9-1-custom (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to