Init package
This commit is contained in:
parent
15c369a0b5
commit
708af584fc
13
fix-panel-taskview-icon.patch
Normal file
13
fix-panel-taskview-icon.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -ur ukui-panel-2.0.8/plugin-taskview/taskview.cpp ukui-panel-2.0.8~/plugin-taskview/taskview.cpp
|
||||||
|
--- ukui-panel-2.0.8/plugin-taskview/taskview.cpp 2020-06-22 15:53:13.000000000 +0800
|
||||||
|
+++ ukui-panel-2.0.8~/plugin-taskview/taskview.cpp 2020-06-28 14:10:34.000000000 +0800
|
||||||
|
@@ -44,7 +44,8 @@
|
||||||
|
{
|
||||||
|
mButton =new TaskViewButton();
|
||||||
|
mButton->setStyle(new CustomStyle());
|
||||||
|
- mButton->setIcon(QIcon::fromTheme("taskview",QIcon("/usr/share/ukui-panel/panel/img/taskview.svg")));
|
||||||
|
+ //mButton->setIcon(QIcon::fromTheme("taskview",QIcon("/usr/share/ukui-panel/panel/img/taskview.svg")));
|
||||||
|
+ mButton->setIcon(QIcon("/usr/share/ukui-panel/panel/img/taskview.svg"));
|
||||||
|
mButton->setToolTip(tr("Show Taskview"));
|
||||||
|
|
||||||
|
/* hide/show taskview
|
||||||
BIN
ukui-panel-2.0.8.tar.gz
Normal file
BIN
ukui-panel-2.0.8.tar.gz
Normal file
Binary file not shown.
79
ukui-panel.spec
Normal file
79
ukui-panel.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
|
Name: ukui-panel
|
||||||
|
Version: 2.0.8
|
||||||
|
Release: 1
|
||||||
|
Summary: ukui desktop panel
|
||||||
|
License: LGPL-2.1
|
||||||
|
URL: http://www.ukui.org
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: alsa-lib-devel
|
||||||
|
BuildRequires: dbusmenu-qt5-devel
|
||||||
|
BuildRequires: glib2-devel >= 2.36
|
||||||
|
BuildRequires: libicu-devel
|
||||||
|
BuildRequires: kf5-solid-devel
|
||||||
|
BuildRequires: kf5-kwindowsystem-devel
|
||||||
|
BuildRequires: pulseaudio-devel
|
||||||
|
BuildRequires: qt5-qtsvg-devel
|
||||||
|
BuildRequires: qt5-qtx11extras-devel
|
||||||
|
BuildRequires: lm_sensors-devel
|
||||||
|
BuildRequires: libstatgrab-devel
|
||||||
|
BuildRequires: libsysstat-devel >= 0.4.2
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
#BuildRequires: libxcb-damage0-dev
|
||||||
|
BuildRequires: xcb-util-devel
|
||||||
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libXcomposite-devel
|
||||||
|
BuildRequires: libXdamage-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
|
BuildRequires: libxkbcommon-x11-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
BuildRequires: qt5-qtwebkit-devel
|
||||||
|
BuildRequires: qt5-qttools-devel
|
||||||
|
BuildRequires: libqtxdg-devel
|
||||||
|
BuildRequires: gsettings-qt-devel
|
||||||
|
BuildRequires: poppler-devel
|
||||||
|
BuildRequires: poppler-qt5-devel
|
||||||
|
BuildRequires: libpeony-dev
|
||||||
|
BuildRequires: dconf-devel
|
||||||
|
BuildRequires: libpeony-dev
|
||||||
|
|
||||||
|
patch0: fix-panel-taskview-icon.patch
|
||||||
|
|
||||||
|
Provides: ukui-indicators
|
||||||
|
|
||||||
|
%description
|
||||||
|
The ukui desktop panel is used on ukui desktop and has some plugins like
|
||||||
|
starmenu, quicklaunch and other useful tools.
|
||||||
|
.
|
||||||
|
This package contains the ukui panel.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir build && cd build
|
||||||
|
%{cmake3} ..
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
cd %{_builddir}/%{name}-%{version}/build
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc debian/copyright debian/changelog
|
||||||
|
%{_sysconfdir}/xdg/autostart/*
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_includedir}/ukui/*
|
||||||
|
%{_libdir}/*
|
||||||
|
%{_datadir}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 2.0.8-1
|
||||||
|
- Init package for openEuler
|
||||||
Loading…
x
Reference in New Issue
Block a user