diff --git a/Fix-compilation-errors-02.patch b/Fix-compilation-errors-02.patch new file mode 100644 index 0000000000000000000000000000000000000000..613eb84a05122a9c655239f1e144aadfdebd569a --- /dev/null +++ b/Fix-compilation-errors-02.patch @@ -0,0 +1,32 @@ +From 5ba0df319351e42065b742c24315f3cf9264c590 Mon Sep 17 00:00:00 2001 +From: weidong +Date: Thu, 15 Oct 2020 18:34:47 +0800 +Subject: [PATCH] Fix compilation errors + +--- + introduction.pro | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/introduction.pro b/introduction.pro +index 39d97c1..ed10cdf 100644 +--- a/introduction.pro ++++ b/introduction.pro +@@ -71,14 +71,10 @@ SOURCES += \ + RESOURCES += \ + dde-introduction.qrc + +-contains(TARGET_ARCH, x86_64) { +- +-}else{ + DEFINES += DISABLE_VIDEO + HEADERS -= src/modules/videowidget.h + SOURCES -= src/modules/videowidget.cpp +- # PKGCONFIG -= libdmr +-} ++ PKGCONFIG -= libdmr + + + desktop.path = $$PREFIX/share/applications/ +-- +2.18.4 + diff --git a/dde-introduction.spec b/dde-introduction.spec index 1ee41dceceed7b2033813d8262ed771630d66445..f908a7a3f80ffdb3511dcc274a4722f6803dc6e4 100644 --- a/dde-introduction.spec +++ b/dde-introduction.spec @@ -2,11 +2,12 @@ %global debug_package %{nil} Name: dde-introduction Version: 5.5.6.1 -Release: 3 +Release: 4 Summary: Qt platform theme integration plugins License: GPLv3+ Source0: %{name}-%{version}.orig.tar.xz Patch0: Fix-compilation-errors.patch +Patch1: Fix-compilation-errors-02.patch BuildRequires: qt5-qtbase-devel BuildRequires: qt5-linguist @@ -45,6 +46,9 @@ popd %changelog +* Thu Oct 15 2020 weidong - 5.5.6.1-4 +- Fix compilation errors + * Thu Oct 15 2020 weidong - 5.5.6.1-3 - Fix compilation errors