From 523ed1e91d4ddc7929d7a8dae76be81ec61ee631 Mon Sep 17 00:00:00 2001 From: UT004615 Date: Mon, 7 Feb 2022 17:56:53 +0800 Subject: [PATCH] fix build error --- deepin-movie.spec | 8 +++++++- modify-QPainterPath-error.patch | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 modify-QPainterPath-error.patch diff --git a/deepin-movie.spec b/deepin-movie.spec index 99c72ec..6c57938 100644 --- a/deepin-movie.spec +++ b/deepin-movie.spec @@ -1,12 +1,13 @@ Name: deepin-movie Version: 3.2.24.3 -Release: 1 +Release: 2 Summary: Deepin movie based on mpv Summary(zh_CN): 深度影音 License: GPLv3 URL: https://github.com/linuxdeepin/deepin-movie-reborn Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{name}-appdata.xml +Patch0: modify-QPainterPath-error.patch BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5DBus) @@ -35,6 +36,7 @@ BuildRequires: pkgconfig(xcb-shape) BuildRequires: libappstream-glib BuildRequires: gcc BuildRequires: desktop-file-utils +BuildRequires: qt5-qtbase-private-devel %description Deepin movie for deepin desktop environment. @@ -51,6 +53,7 @@ Header files and libraries for %{name}. %prep %setup -q -n %{name}-reborn-%{version} +%patch0 -p1 sed -i '/dtk2/s|lib|libexec|' src/CMakeLists.txt %build @@ -85,5 +88,8 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %{_libdir}/libdmr.so %changelog +* Mon Feb 07 2022 haomimi - 3.2.24.3-2 +- fix build error + * Tue Aug 03 2021 weidong - 3.2.24.3-1 - Init packages diff --git a/modify-QPainterPath-error.patch b/modify-QPainterPath-error.patch new file mode 100644 index 0000000..3fcfa0c --- /dev/null +++ b/modify-QPainterPath-error.patch @@ -0,0 +1,11 @@ +diff --color -Naur a/src/widgets/tip.cpp b/src/widgets/tip.cpp +--- a/src/widgets/tip.cpp 2022-02-07 16:53:24.830095286 +0800 ++++ b/src/widgets/tip.cpp 2022-02-07 16:53:58.998123545 +0800 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + #include + #include