commit 3a5b58054b22033f99dffc2913d59cb78da3401e
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Tue Sep 29 15:01:55 2020 +0200
Rebuild for Qt_5.15.1
qtav-fix_Qt515_builds.patch | 10 ++++++++++
qtav.spec | 14 ++++++++------
sources | 2 +-
3 files changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/qtav-fix_Qt515_builds.patch b/qtav-fix_Qt515_builds.patch
new file mode 100644
index 0000000..36efa91
--- /dev/null
+++ b/qtav-fix_Qt515_builds.patch
@@ -0,0 +1,10 @@
+--- a/src/QtAV/FilterContext.orig.h 2019-07-11 02:58:59.000000000 +0200
++++ b/src/QtAV/FilterContext.h 2020-09-29 14:29:19.072763440 +0200
+@@ -26,6 +26,7 @@
+ #include <QtCore/QByteArray>
+ #include <QtCore/QRect>
+ #include <QtGui/QPainter>
++#include <QtGui/QPainterPath>
+ /*
+ * QPainterFilterContext, D2DFilterContext, ...
+ */
diff --git a/qtav.spec b/qtav.spec
index f08d0be..e3c094c 100644
--- a/qtav.spec
+++ b/qtav.spec
@@ -3,13 +3,16 @@
Name: qtav
Version: 1.13.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: A media playback framework based on Qt and FFmpeg
License: LGPLv2+ and GPLv3+ and BSD
URL:
http://www.qtav.org/
Source0:
https://github.com/wang-bin/QtAV/archive/v%{version}/%{project}-%{version...
Patch0:
https://github.com/wang-bin/QtAV//commit/5abba7f0505e75fceabd4dd8992a7e02...
+# Fix builds with Qt-5.15.1
+Patch1: qtav-fix_Qt515_builds.patch
+
BuildRequires: desktop-file-utils
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
@@ -130,7 +133,7 @@ mkdir build; pushd build
%{_qt5_qmake} \
QMAKE_CFLAGS="${RPM_OPT_FLAGS}" \
QMAKE_CXXFLAGS="${RPM_OPT_FLAGS}" \
- QMAKE_LFLAGS="${RPM_LD_FLAGS} -Wl,--as-needed" \
+ QMAKE_LFLAGS="${RPM_LD_FLAGS}" \
QMAKE_STRIP="" \
CONFIG+="no_rpath recheck config_libass_link release" ..
%make_build
@@ -153,10 +156,6 @@ ln -sfv %{_libdir}/libQtAVWidgets.so
%{buildroot}%{_libdir}/libQt5AVWidgets.so
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
-%ldconfig_scriptlets -n lib%{name}
-%ldconfig_scriptlets -n lib%{name}widgets
-
-
%files -n lib%{name}
%doc README.md Changelog
%license lgpl-2.1.txt
@@ -204,6 +203,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/QtAV.svg
%changelog
+* Tue Sep 29 2020 Antonio Trande <sagitter(a)fedoraproject.org> - 1.13.0-7
+- Rebuild for Qt_5.15.1
+
* Tue Aug 18 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
1.13.0-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index 6445b79..d07a48b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4d2d19622eac41c7f46fd1423392e23c QtAV-1.13.0.tar.gz
+SHA512 (QtAV-1.13.0.tar.gz) =
93ffbf38c49b35bddc08dd93d5cee73369f0693e5a09b087a5295b454b970fed58076bcddb101aa061f48b0350b8e7c7d1ef1045e81f28b146de73d4b82480c8