Update 5.6.0.7
This commit is contained in:
parent
e9d92a5649
commit
ff49cb5ab0
@ -1,32 +0,0 @@
|
|||||||
From 5ba0df319351e42065b742c24315f3cf9264c590 Mon Sep 17 00:00:00 2001
|
|
||||||
From: weidong <weidong@uniontech.com>
|
|
||||||
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
|
|
||||||
|
|
||||||
@ -1,34 +0,0 @@
|
|||||||
From 1615aa6f28f48959511597094c6ec388431effe6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: weidong <weidong@uniontech.com>
|
|
||||||
Date: Thu, 15 Oct 2020 18:14:41 +0800
|
|
||||||
Subject: [PATCH] Fix compilation errors
|
|
||||||
|
|
||||||
---
|
|
||||||
introduction.pro | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/introduction.pro b/introduction.pro
|
|
||||||
index e739018..39d97c1 100644
|
|
||||||
--- a/introduction.pro
|
|
||||||
+++ b/introduction.pro
|
|
||||||
@@ -3,7 +3,7 @@ TEMPLATE = app
|
|
||||||
QT = core gui widgets dbus multimedia multimediawidgets
|
|
||||||
CONFIG += link_pkgconfig c++11
|
|
||||||
QT += dtkwidget
|
|
||||||
-PKGCONFIG += dframeworkdbus libdmr gsettings-qt
|
|
||||||
+PKGCONFIG += dframeworkdbus gsettings-qt
|
|
||||||
DESTDIR = $$_PRO_FILE_PWD_
|
|
||||||
|
|
||||||
#load(dtk_qmake)
|
|
||||||
@@ -77,7 +77,7 @@ contains(TARGET_ARCH, x86_64) {
|
|
||||||
DEFINES += DISABLE_VIDEO
|
|
||||||
HEADERS -= src/modules/videowidget.h
|
|
||||||
SOURCES -= src/modules/videowidget.cpp
|
|
||||||
- PKGCONFIG -= libdmr
|
|
||||||
+ # PKGCONFIG -= libdmr
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
2.18.4
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
dde-introduction-5.6.0.7.tar.gz
Normal file
BIN
dde-introduction-5.6.0.7.tar.gz
Normal file
Binary file not shown.
@ -1,51 +1,62 @@
|
|||||||
%bcond_with check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
Name: dde-introduction
|
Name: dde-introduction
|
||||||
Version: 5.5.6.1
|
Version: 5.6.0.7
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Qt platform theme integration plugins
|
Summary: Introduction for UOS
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Source0: %{name}-%{version}.orig.tar.xz
|
URL: https://github.com/linuxdeepin/%{name}
|
||||||
Patch0: Fix-compilation-errors.patch
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch1: Fix-compilation-errors-02.patch
|
|
||||||
|
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: qt5-linguist
|
BuildRequires: qt5-devel
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: dtkwidget-devel
|
BuildRequires: dtkcore-devel dtkwidget-devel
|
||||||
BuildRequires: dtkcore-devel
|
BuildRequires: pkgconfig(dframeworkdbus)
|
||||||
BuildRequires: dde-qt-dbus-factory-devel
|
#BuildRequires: pkgconfig(libdmr)
|
||||||
BuildRequires: gsettings-qt-devel
|
BuildRequires: pkgconfig(gsettings-qt)
|
||||||
BuildRequires: qt5-qtmultimedia-devel
|
|
||||||
BuildRequires: qt5-qtx11extras-devel
|
#BuildRequires: ffmpegthumbnailer-devel
|
||||||
|
|
||||||
|
BuildRequires: deepin-desktop-server
|
||||||
|
Requires: deepin-desktop-server
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Qt platform theme integration plugins for DDE
|
When you log into the system for the first time, a welcome program will automatically start.
|
||||||
Multiple Qt plugins to provide better Qt5 integration for DDE is included.
|
Watch the introduction video to get new features, customize your desktop, enable the window
|
||||||
|
effect and know more about UnionTech OS.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
|
# disable dmr lib
|
||||||
|
sed -i 's/contains(TARGET_ARCH, x86_64)/contains(TARGET_ARCH, mips)/' introduction.pro
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=$PATH:/usr/lib64/qt5/bin
|
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||||
mkdir build && cd build
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
%{_libdir}/qt5/bin/qmake ..
|
mkdir build && pushd build
|
||||||
%{__make}
|
%qmake_qt5 ../ VERSION=%{version} DEFINES+="VERSION=%{version}"
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd %{_builddir}/%{name}-%{version}/build
|
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||||
%make_install INSTALL_ROOT=%{buildroot}
|
# bugfix#50424
|
||||||
|
pushd %{buildroot}%{_datadir}/dde-introduction
|
||||||
|
ln -svf server.mp4 demo.mp4
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/dde-introduction
|
%doc CHANGELOG.md
|
||||||
%{_datadir}/applications/*
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/dde-introduction/*
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
%{_datadir}/icons/*
|
%{_datadir}/%{name}/translations/*.qm
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 23 2020 panchenbo <panchenbo@uniontech.com> - 5.6.0.7-1
|
||||||
|
- update to 5.6.0.7
|
||||||
|
|
||||||
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-4
|
* Thu Oct 15 2020 weidong <weidong@openeuler.org> - 5.5.6.1-4
|
||||||
- Fix compilation errors
|
- Fix compilation errors
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user