diff --git a/0010-Add-opencv-compilation-dependency.patch b/0010-Add-opencv-compilation-dependency.patch new file mode 100644 index 0000000..fd57cf5 --- /dev/null +++ b/0010-Add-opencv-compilation-dependency.patch @@ -0,0 +1,24 @@ +From 92a02f6bbe9305a18f9a918697a43194ad2bbe90 Mon Sep 17 00:00:00 2001 +From: tanyulong +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 + diff --git a/ukui-screensaver.spec b/ukui-screensaver.spec index b472148..510dce4 100644 --- a/ukui-screensaver.spec +++ b/ukui-screensaver.spec @@ -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 - 3.0.1-11 +- Add opencv compilation dependency + * Fri Nov 05 2021 tanyulong - 3.0.1-10 - there is only one user, the switch user button is not displayed