Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package QMPlay2 for openSUSE:Factory checked 
in at 2021-12-24 20:23:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old)
 and      /work/SRC/openSUSE:Factory/.QMPlay2.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QMPlay2"

Fri Dec 24 20:23:23 2021 rev:61 rq:942344 version:21.12.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes  2021-12-08 
22:10:31.878906934 +0100
+++ /work/SRC/openSUSE:Factory/.QMPlay2.new.2520/QMPlay2.changes        
2021-12-24 20:23:44.458037052 +0100
@@ -1,0 +2,11 @@
+Thu Dec 23 22:54:14 UTC 2021 - Simon Vogl <[email protected]>
+
+- Added 0001-fix-pipewire-build-error.patch to fix a compilation error on 
openSUSE Leap 15.3
+- Update to version 21.12.24
+   * add audio, video, subtitles streams, programs and chapters into menu,
+   * add key shortcuts to change audio and subtitles streams,
+   * improve Vulkan initialization,
+   * fix some possible crashes,
+   * other minor fixes.
+
+-------------------------------------------------------------------

Old:
----
  QMPlay2-src-21.12.07.tar.xz

New:
----
  0001-fix-pipewire-build-error.patch
  QMPlay2-src-21.12.24.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ QMPlay2.spec ++++++
--- /var/tmp/diff_new_pack.YOco9D/_old  2021-12-24 20:23:44.938037304 +0100
+++ /var/tmp/diff_new_pack.YOco9D/_new  2021-12-24 20:23:44.938037304 +0100
@@ -19,7 +19,7 @@
 %define __builder Ninja
 
 Name:           QMPlay2
-Version:        21.12.07
+Version:        21.12.24
 Release:        0
 Summary:        A Qt based media player, streamer and downloader
 License:        LGPL-3.0-or-later
@@ -28,6 +28,8 @@
 Source:         
https://github.com/zaps166/QMPlay2/releases/download/%{version}/QMPlay2-src-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE
 Patch1:         0001-add-opensuse-customizations.patch
+# PATCH-FIX-OPENSUSE
+Patch2:         0001-fix-pipewire-build-error.patch
 BuildRequires:  cmake >= 3.16
 BuildRequires:  gcc-c++
 # Use gcc 10 for openSUSE Leap 15.3+ and SLE15SP3+
@@ -93,7 +95,13 @@
 It's a development package for %{name}.
 
 %prep
-%autosetup -p1 -n %{name}-src-%{version}
+# %autosetup -p1 -n %{name}-src-%{version}
+%setup -q -n %{name}-src-%{version}
+%patch1 -p1
+# Apply pipewire patch for openSUSE Leap 15.3 and SLE15SP3 only
+%if 0%{?sle_version} == 150300
+%patch2 -p1
+%endif
 
 %build
 # Build options

++++++ 0001-fix-pipewire-build-error.patch ++++++
From: Simon Vogl <[email protected]>
Date: Thu, 23 Dec 2021 22:54:14 UTC
Subject: [PATCH] Fix compilation error of QMPlay2 on openSUSE Leap 15.3

This patch is required to prevent QMPlay2 from crashing during compilation on 
openSUSE Leap 15.3 as it now uses PW_KEY_NODE_RATE
which isn't implemented in openSUSE Leap 15.3's version of libpipewire-0.3 yet, 
hence "node.rate" needs to be set directly instead.

--- a/src/modules/PipeWire/PipeWireWriter.cpp
+++ b/src/modules/PipeWire/PipeWireWriter.cpp
@@ -385,7 +385,7 @@
         nullptr
     );
     pw_properties_setf(props, PW_KEY_NODE_LATENCY, "%u/%u", m_nFrames, m_rate);
-    pw_properties_setf(props, PW_KEY_NODE_RATE, "1/%u", m_rate);
+    pw_properties_setf(props, "node.rate", "1/%u", m_rate);
 
     LoopLocker locker(m_threadLoop);
 

++++++ QMPlay2-src-21.12.07.tar.xz -> QMPlay2-src-21.12.24.tar.xz ++++++
++++ 2031 lines of diff (skipped)

Reply via email to