代码拉取完成,页面将自动刷新
%define anolis_release .0.2
%global sname deepin-dock
Name: dde-dock
Version: 5.5.76
Release: 8%{anolis_release}%{?dist}
Summary: Deepin desktop-environment - Dock module
License: GPLv3
URL: https://github.com/linuxdeepin/dde-dock/
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch1: 0001-Mask-intelligent-hiding.patch
Patch2: 0001-Hidden-state.patch
Patch3: 0001-hide-status-box.patch
BuildRequires: cmake
BuildRequires: libarchive
BuildRequires: gcc-c++
BuildRequires: pkgconfig(dbusmenu-qt5)
BuildRequires: dde-network-core-devel
BuildRequires: dtkcommon-devel
BuildRequires: dtkwidget-devel >= 5.4.19
BuildRequires: dtkcore-devel >= 5.4.14
BuildRequires: dtkgui-devel >= 5.4.13
BuildRequires: pkgconfig(dframeworkdbus)
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: pkgconfig(xcb-damage)
BuildRequires: qt5-linguist
BuildRequires: gtest-devel
BuildRequires: gmock-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qttools-devel
BuildRequires: libXtst-devel
BuildRequires: libxcb
BuildRequires: dde-control-center-devel >= 5.5.77
BuildRequires: dde-control-center >= 5.5.77
Requires: dbusmenu-qt5
Requires: dde-network-core
Requires: dde-qt-dbus-factory
Requires: xcb-util-wm
Requires: xcb-util-image
Requires: libxcb
Requires: deepin-desktop-schemas
Requires: dde-daemon
Requires: startdde
Requires: libqtxdg-devel
Requires: onboard
%description
Deepin desktop-environment - Dock module.
%package devel
Summary: Development package for %{sname}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Header files and libraries for %{sname}.
%package onboard-plugin
Summary: deepin desktop-environment - dock plugin
Requires: %{name}%{?_isa} = %{version}-%{release}
%description onboard-plugin
deepin desktop-environment - dock plugin.
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
find plugins/ -mindepth 2 -maxdepth 2 -type f -name CMakeLists.txt | grep -vE 'dcc-dock-plugin/CMakeLists.txt' | xargs -I '{file_name}' sed -i '/TARGETS/s|lib|%{_lib}|' '{file_name}'
sed -i '/TARGETS/s|lib|%{_lib}|' plugins/plugin-guide/plugins-developer-guide.md
sed -i 's|/lib|/%{_lib}|' frame/controller/dockpluginscontroller.cpp \
frame/window/mainpanelcontrol.cpp \
plugins/tray/system-trays/systemtrayscontroller.cpp
sed -i 's|/lib|/libexec|g' plugins/show-desktop/showdesktopplugin.cpp \
frame/window/mainpanelcontrol.cpp \
frame/window/components/desktop_widget.cpp
sed -i 's:libdir.*:libdir=%{_libdir}:' dde-dock.pc.in
sed -i 's|/usr/lib/dde-dock/plugins|%{_libdir}/dde-dock/plugins|' plugins/plugin-guide/plugins-developer-guide.md
sed -i 's|local/lib/dde-dock/plugins|local/%{_lib}/dde-dock/plugins|' plugins/plugin-guide/plugins-developer-guide.md
sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh
%build
export PATH=%{_qt5_bindir}:$PATH
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITECTURE=%{_arch} -DCMAKE_INSTALL_SYSCONFDIR=/etc .
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%ldconfig_scriptlets
%files
%{_datadir}/%{name}/translations/*.qm
%license LICENSE
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_datarootdir}/glib-2.0/schemas/com.deepin.dde.dock.module.gschema.xml
%{_datarootdir}/polkit-1/actions/com.deepin.dde.dock.overlay.policy
%{_datadir}/dsg/
%{_datadir}/dcc-dock-plugin/
%{_prefix}/lib/dde-control-center/modules/
%{_sysconfdir}/%{name}/
%files devel
%doc plugins/plugin-guide
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/cmake/DdeDock/DdeDockConfig.cmake
%files onboard-plugin
%{_libdir}/dde-dock/plugins/libonboard.so
%changelog
* Fri Jan 12 2024 yangxianzhao <yangxianzhao@uniontech.com> - 5.5.76-8.0.2
- rebuild for qt5-qtbase
* Wed Sep 20 2023 yangxianzhao <yangxianzhao@uniontech.com> - 5.5.76-8.0.1
- rebuild for qt5-qtbase-5.15.3
* Sat May 06 2023 songmingliang <songmingliangliang@uniontech.com> - 5.5.76-8
- fix: Mask dcc state(bugid:187109)
* Tue Apr 18 2023 mahailiang <mahailiang@uniontech.com> - 5.5.76-7
- fix: Mask state(bugid:187109)
* Tue Apr 11 2023 mahailiang <mahailiang@uniontech.com> - 5.5.76-6
- fix: Mask intelligent hiding(bugid:187109)
* Thu Mar 09 2023 liweiganga <liweiganga@uniontech.com> - 5.5.76-5
- feat: fix show desktop function
* Fri Feb 03 2023 liweiganga <liweiganga@uniontech.com> - 5.5.76-3
- spec: modify dde-control-center plugin path
* Fri Feb 03 2023 liweiganga <liweiganga@uniontech.com> - 5.5.76-2
- spec: dde-network-utils replace for dde-network-core
* Tue Jan 17 2023 liweiganga <liweiganga@uniontech.com> - 5.5.76-1.01
- spec: fix /etc/dde-dock path
* Mon Jan 09 2023 liweiganga <liweiganga@uniontech.com> - 5.5.76-1
- update: update to 5.5.76
* Fri Jun 10 2022 haomimi <haomimi@uniontech.com> - 5.4.56.2-1.02
- Fix the desktop feature displayed in the lower right corner(bugID:112852)
* Fri Jun 10 2022 uoser <uoser@uniontech.com> - 5.4.56.2-1
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。