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-08 22:09:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old) and /work/SRC/openSUSE:Factory/.QMPlay2.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QMPlay2" Wed Dec 8 22:09:19 2021 rev:60 rq:936378 version:21.12.07 Changes: -------- --- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes 2021-12-02 02:09:41.863679468 +0100 +++ /work/SRC/openSUSE:Factory/.QMPlay2.new.31177/QMPlay2.changes 2021-12-08 22:10:31.878906934 +0100 @@ -1,0 +2,21 @@ +Tue Dec 7 21:41:49 UTC 2021 - Simon Vogl <[email protected]> + +- Removed Added 0001-fix-vulkan-instance-initialization.patch as it is merged upstream +- Removed 0001-switch-to-yt-dlp.patch as it is merged upstream +- Changed 0001-add-opensuse-customizations.patch to patch the new python command detection in QMPlay2 21.12.07 and higher +- Enabled GLSLC and PortAudio features +- Update to version 21.12.07 + * fix possible crash on Windows when system audio settings was changed during playback, + * add option to set negative amplify if replay gain is not stored, + * insert URL from clipboard into add address dialog, + * add option to show YouTube related videos (ivbauer), + * fix some Vulkan problems and crashes, + * set VP9 YouTube codec as preferred, + * update zh_CN translation (zo-shin), + * add Slovak translation (jose1711), + * add Dutch translation (Vistaus), + * add zh_TW translation (lks-wu), + * replace youtube-dl by yt-dlp, + * minor PipeWire fixes. + +------------------------------------------------------------------- Old: ---- 0001-fix-vulkan-instance-initialization.patch 0001-switch-to-yt-dlp.patch QMPlay2-src-21.06.07.tar.xz New: ---- QMPlay2-src-21.12.07.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ QMPlay2.spec ++++++ --- /var/tmp/diff_new_pack.dIFshU/_old 2021-12-08 22:10:32.390907174 +0100 +++ /var/tmp/diff_new_pack.dIFshU/_new 2021-12-08 22:10:32.390907174 +0100 @@ -19,7 +19,7 @@ %define __builder Ninja Name: QMPlay2 -Version: 21.06.07 +Version: 21.12.07 Release: 0 Summary: A Qt based media player, streamer and downloader License: LGPL-3.0-or-later @@ -28,10 +28,6 @@ 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-UPSTREAM -Patch2: 0001-switch-to-yt-dlp.patch -# PATCH-FIX-UPSTREAM -Patch3: 0001-fix-vulkan-instance-initialization.patch BuildRequires: cmake >= 3.16 BuildRequires: gcc-c++ # Use gcc 10 for openSUSE Leap 15.3+ and SLE15SP3+ @@ -40,6 +36,7 @@ %endif BuildRequires: ninja BuildRequires: pkgconfig +BuildRequires: shaderc BuildRequires: cmake(Qt5LinguistTools) >= 5.10.0 BuildRequires: pkgconfig(Qt5Concurrent) >= 5.10.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.10.0 @@ -60,14 +57,18 @@ %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300 BuildRequires: pkgconfig(libpipewire-0.3) %endif +BuildRequires: pkgconfig(SPIRV-Tools) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libsidplayfp) BuildRequires: pkgconfig(libswresample) >= 3.1.100 BuildRequires: pkgconfig(libswscale) >= 5.1.100 BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(libva-glx) +BuildRequires: pkgconfig(portaudio-2.0) +BuildRequires: pkgconfig(shaderc) BuildRequires: pkgconfig(taglib) >= 1.9 BuildRequires: pkgconfig(vdpau) +BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(xv) Requires(post): hicolor-icon-theme Requires(post): shared-mime-info @@ -75,7 +76,7 @@ Requires(postun): hicolor-icon-theme Requires(postun): shared-mime-info Requires(postun): update-desktop-files -Recommends: youtube-dl +Recommends: yt-dlp Requires: python3 %description @@ -108,7 +109,8 @@ -DUSE_GIT_VERSION=OFF \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ - -DUSE_GLSLC=OFF \ + -DUSE_GLSLC=ON \ + -DUSE_PORTAUDIO=ON \ %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300 -DUSE_PIPEWIRE=ON \ %else ++++++ 0001-add-opensuse-customizations.patch ++++++ --- /var/tmp/diff_new_pack.dIFshU/_old 2021-12-08 22:10:32.414907186 +0100 +++ /var/tmp/diff_new_pack.dIFshU/_new 2021-12-08 22:10:32.418907188 +0100 @@ -1,5 +1,5 @@ From: Simon Vogl <[email protected]> -Date: Mon, 14 Jun 2021 00:39:11 UTC +Date: Tue, 7 Dec 2021 21:41:49 UTC Subject: [PATCH] Fix broken python detection of QMPlay2 when it tries to launch youtube-dl This patch is required to prevent QMPlay2 from always preferring python2 over python3 which can lead to crashes in certain cases. @@ -7,7 +7,7 @@ --- a/src/qmplay2/YouTubeDL.cpp +++ b/src/qmplay2/YouTubeDL.cpp -@@ -451,35 +451,9 @@ +@@ -434,22 +434,9 @@ QString program = m_ytDlPath; #ifndef Q_OS_WIN @@ -19,23 +19,10 @@ - if (shebang.startsWith("#!") && idx > -1) - { - const auto pythonCmd = shebang.mid(idx); -- if (!QStandardPaths::findExecutable(pythonCmd).endsWith(pythonCmd)) +- if (QStandardPaths::findExecutable(pythonCmd).endsWith(pythonCmd)) - { -- QStringList pythonCmdsToCheck { -- "python", -- "python2", -- "python3", -- }; -- pythonCmdsToCheck.removeOne(pythonCmd); -- for (auto &&pythonCmd : qAsConst(pythonCmdsToCheck)) -- { -- if (QStandardPaths::findExecutable(pythonCmd).endsWith(pythonCmd)) -- { -- args.prepend(program); -- program = pythonCmd; -- break; -- } -- } +- args.prepend(program); +- program = pythonCmd; - } - } - ytDlFile.close(); ++++++ QMPlay2-src-21.06.07.tar.xz -> QMPlay2-src-21.12.07.tar.xz ++++++ ++++ 19956 lines of diff (skipped)
