fix build error
This commit is contained in:
parent
5ca821ca0b
commit
21ed532ded
@ -1,10 +1,11 @@
|
||||
Name: dde-control-center
|
||||
Version: 5.3.0.54.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: New control center for Linux Deepin
|
||||
License: GPLv3
|
||||
URL: https://github.com/linuxdeepin/%{name}
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: modify-QPainterPath-error.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: desktop-file-utils
|
||||
@ -23,7 +24,8 @@ BuildRequires: kf5-networkmanager-qt-devel
|
||||
BuildRequires: udisks2-qt5-devel
|
||||
BuildRequires: qt5-linguist
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: qt5-qtbase-private-devel
|
||||
Requires: dde-account-faces
|
||||
Requires: dde-api
|
||||
Requires: dde-daemon
|
||||
@ -44,6 +46,7 @@ BuildArch: noarch
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
|
||||
sed -i -E '/add_compile_definitions/d' CMakeLists.txt
|
||||
|
||||
@ -80,6 +83,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop ||:
|
||||
%{_libdir}/cmake/DdeControlCenter/
|
||||
|
||||
%changelog
|
||||
* Sun Jan 30 2022 liweigang <liweiganga@uniontech.com> - 5.3.0.54.4-2
|
||||
- fix build error
|
||||
|
||||
* Wed Jul 07 2021 weidong <weidong@uniontech.com> - 5.3.0.54.4-1
|
||||
- Update 5.3.0.54.4
|
||||
|
||||
|
||||
11
modify-QPainterPath-error.patch
Normal file
11
modify-QPainterPath-error.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff --color -Naur a/src/frame/modules/display/recognizedialog.cpp b/src/frame/modules/display/recognizedialog.cpp
|
||||
--- a/src/frame/modules/display/recognizedialog.cpp 2022-02-07 09:13:05.486670717 +0800
|
||||
+++ b/src/frame/modules/display/recognizedialog.cpp 2022-02-07 09:13:59.994251626 +0800
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <QTimer>
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
|
||||
using namespace dcc::display;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user