代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-dde/dde-kwin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global repo dde-kwin
Name: dde-kwin
Version: 5.3.19
Release: 2%{?dist}
Summary: KWin configuration for Deepin Desktop Environment
License: GPLv3+
URL: https://github.com/linuxdeepin/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: libarchive
BuildRequires: gdb
BuildRequires: kwin-devel
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: gsettings-qt-devel
BuildRequires: libepoxy-devel
BuildRequires: dtkcore-devel
BuildRequires: dtkcommon-devel
BuildRequires: kf5-kwayland-devel
BuildRequires: kf5-kglobalaccel-devel
BuildRequires: kf5-kdeclarative-devel
BuildRequires: kf5-kservice-devel
BuildRequires: kf5-plasma-devel
BuildRequires: kdecoration-devel
BuildRequires: kf5-ktextwidgets-devel
BuildRequires: cmake(KDecoration2)
BuildRequires: extra-cmake-modules
BuildRequires: qt5-linguist
BuildRequires: qt5-qttools-devel
#Add for v5.3.19
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: kf5-kcoreaddons-devel
BuildRequires: kf5-kconfig-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
BuildRequires: glib2-devel
BuildRequires: libXrender-devel
BuildRequires: mtdev-devel
BuildRequires: deepin-gettext-tools
BuildRequires: libXdamage-devel
BuildRequires: libXcomposite-devel
# for libQt5EdidSupport.a
BuildRequires: qt5-qtbase-static
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: dtkgui-devel
BuildRequires: kf5-ki18n-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
Requires: dde-qt5integration%{?_isa}
#Requires: kwin%{?_isa} >= 5.17
Requires: kwin%{?_isa} = 5.15.8.67
# since F31
Obsoletes: deepin-wm <= 1.9.38
Obsoletes: deepin-wm-switcher <= 1.1.9
Obsoletes: deepin-metacity <= 3.22.24
Obsoletes: deepin-metacity-devel <= 3.22.24
Obsoletes: deepin-mutter <= 3.20.38
Obsoletes: deepin-mutter-devel <= 3.20.38
Requires: kf5-kconfig-core
Requires: kf5-kcoreaddons
Requires: kf5-kglobalaccel-libs
Requires: kf5-ki18n
Requires: kf5-kwindowsystem
Requires: kdecoration
%description
This package provides a kwin configuration that used as the new WM for Deepin
Desktop Environment.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kwin-devel%{?_isa}
Requires: qt5-qtx11extras-devel%{?_isa}
Requires: gsettings-qt-devel%{?_isa}
Requires: dtkcore-devel%{?_isa}
Requires: kf5-kglobalaccel-devel%{?_isa}
%description devel
Header files and libraries for %{sname}.
%prep
%setup -q -n %{name}-%{version}
sed -i 's:/lib:/%{_lib}:' plugins/platforms/lib/CMakeLists.txt
sed -i 's:/usr/lib:%{_libdir}:' plugins/platforms/plugin/main.cpp
sed -i 's:/usr/lib:%{_libexecdir}:' deepin-wm-dbus/deepinwmfaker.cpp
%build
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
export PATH=%{_qt5_bindir}:$PATH
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=Release -DKWIN_VERSION=$(rpm -q --qf '%%{version}' kwin-devel) .
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
chmod 755 %{buildroot}%{_bindir}/kwin_no_scale
%ldconfig_scriptlets
%files
%doc CHANGELOG.md
%license LICENSE
%{_sysconfdir}/xdg/*
%{_bindir}/deepin-wm-dbus
%{_bindir}/kwin_no_scale
%{_libdir}/libkwin-xcb.so.*
%{_qt5_plugindir}/org.kde.kdecoration2/libdeepin-chameleon.so
%{_qt5_plugindir}/platforms/lib%{name}-xcb.so
%{_qt5_plugindir}/platforms/libdde-kwin-wayland.so
%{_qt5_plugindir}/kwin/effects/plugins/
%{_datadir}/dde-kwin-xcb/
#%{_datadir}/applications/kwin-wm-multitaskingview.desktop
%{_datadir}/dbus-1/services/*.service
%{_datadir}/dbus-1/interfaces/*.xml
%{_datadir}/kwin/scripts/*
%{_datadir}/kwin/tabbox/*
%{_libdir}/qt5/plugins/kwin/effects/plugins/libblur.so
%{_libdir}/qt5/plugins/kwin/effects/plugins/libmultitasking.so
%{_libdir}/qt5/plugins/kwin/effects/plugins/libscissor-window.so
%files devel
%{_libdir}/libkwin-xcb.so
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/%{name}
%changelog
* Thu Jul 21 2022 liuxingwei liuxingwei@uniontech.com - 5.3.19-2
- rebuild for an8.6
* Thu Oct 21 2021 Zhang taikun <zhangtaikun@uniontech.com> - 5.3.19-1
- Update to 5.3.19
* Wed Apr 14 2021 uoser <cheeselee@uniontech.com> - 5.1.0.20-1
- update to 5.1.0.20
* Thu Feb 27 2020 Robin Lee <cheeselee@fedoraproject.org> - 0.1.0-6
- Fix path conflict with kdeplasma-addons (RHBZ#1807283)
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Dec 23 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.1.0-4
- Fix runtime issue with kwin 5.17
* Mon Dec 09 2019 Jan Grulich <jgrulich@redhat.com> - 0.1.0-3
- rebuild (qt5)
* Wed Sep 25 2019 Jan Grulich <jgrulich@redhat.com> - 0.1.0-2
- rebuild (qt5)
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 17 2019 Jan Grulich <jgrulich@redhat.com> - 0.0.4-3
- rebuild (qt5)
* Wed Jun 05 2019 Jan Grulich <jgrulich@redhat.com> - 0.0.4-2
- rebuild (qt5)
* Mon Apr 22 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.0.4-1
- new version
* Mon Apr 15 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.0.3.2-1
- Update to 0.0.3.2
* Fri Apr 12 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.0.3.1-1
- Initial packaging
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。