fix build error
This commit is contained in:
parent
4c2cc591f7
commit
523ed1e91d
@ -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 <haomimi@uniontech.com> - 3.2.24.3-2
|
||||
- fix build error
|
||||
|
||||
* Tue Aug 03 2021 weidong <weidong@uniontech.com> - 3.2.24.3-1
|
||||
- Init packages
|
||||
|
||||
11
modify-QPainterPath-error.patch
Normal file
11
modify-QPainterPath-error.patch
Normal file
@ -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 <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
#include <QGraphicsDropShadowEffect>
|
||||
#include <QPropertyAnimation>
|
||||
#include <QGraphicsOpacityEffect>
|
||||
Loading…
x
Reference in New Issue
Block a user