!19 Add opencv compilation dependency

From: @tanyulong2021
Reviewed-by: @dou33
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2021-12-02 01:32:55 +00:00 committed by Gitee
commit 269e188053
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 92a02f6bbe9305a18f9a918697a43194ad2bbe90 Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
Date: Wed, 10 Nov 2021 09:57:29 +0800
Subject: [PATCH] Add opencv compilation dependency
---
debian/control | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/control b/debian/control
index cdfa10f..1cd8543 100755
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends: debhelper-compat (= 12),
qttools5-dev,
qttools5-dev-tools,
libglib2.0-dev,
+ libopencv-dev,
libx11-dev,
libxtst-dev,
libgsettings-qt-dev
--
2.30.0

View File

@ -1,6 +1,6 @@
Name: ukui-screensaver
Version: 3.0.1
Release: 10
Release: 11
Summary: parallels toolbox for UKUI
License: GPL-3+ GPL-2+
URL: http://www.ukui.org
@ -35,6 +35,7 @@ patch4: 0005-Add-sentence-author-info.patch
patch6: 0007-screen-saver-mode-is-set-to-single-and-the-problem-of-segfault.patch
patch7: 0008-Screen-saver-add-x11-attribute.patch
patch8: 0009-only-one-user-the-switch-user-button-is-not-displayed.patch
patch9: 0010-Add-opencv-compilation-dependency.patch
%description
The ukui-sidebar is mainly used in the desktop operating system.
@ -53,6 +54,7 @@ patch8: 0009-only-one-user-the-switch-user-button-is-not-displayed.patch
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%build
cmake .
@ -81,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
#%%{_datadir}/ukui-screensaver/screensaver-en.ini
%changelog
* Wed Nov 10 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-11
- Add opencv compilation dependency
* Fri Nov 05 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-10
- there is only one user, the switch user button is not displayed