!17 sync by openEuler-22.03-LTS-SP3

From: @Venland 
Reviewed-by: @xzyangha 
Signed-off-by: @xzyangha
This commit is contained in:
openeuler-ci-bot 2024-06-19 06:46:29 +00:00 committed by Gitee
commit 4a23f5875a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 3668 additions and 8 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,12 +1,14 @@
%global repo qt5platform-plugins
Name: dde-qt5platform-plugins
Version: 5.0.42
Release: 1
Version: 5.0.71
Release: 3
Summary: Qt platform plugins for DDE
License: GPLv3
URL: https://github.com/linuxdeepin/deepin-desktop-schemas
URL: https://github.com/linuxdeepin/qt5platform-plugins
Source0: %{name}-%{version}.tar.gz
Patch9000: 9000-fix-lose-cursor-issue.patch
Patch0: 0001-modify-x11-don-t-xcb-in-keys.patch
%description
%{summary}.
@ -69,8 +71,9 @@ BuildRequires: qt5-qtmultimedia-devel
%prep
%autosetup -p1
sed -i 's|wayland/wayland.pro|#wayland/wayland.pro|' qt5platform-plugins.pro
%autosetup -p1 -n %{repo}-%{version}
rm -r xcb/libqt5xcbqpa-dev wayland/qtwayland-dev
sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += %{_qt5_includedir}/QtXcb|' xcb/linux.pri
%build
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
@ -88,10 +91,20 @@ popd
%files -n dde-qt5wayland-plugin
#%{_libdir}/qt5/plugins/platforms/libdwayland.so
#%{_libdir}/qt5/plugins/wayland-shell-integration/libkwayland-shell.so
%{_libdir}/qt5/plugins/platforms/libdwayland.so
%{_libdir}/qt5/plugins/wayland-shell-integration/libkwayland-shell.so
%changelog
* Mon Sep 18 2023 leeffo <liweiganga@uniontech.com> - 5.0.71-3
- modify x11 don't xcb in keys
- add qt5-qtbase-5.15.10 support
* Mon Sep 04 2023 yangxianzhao <yangxianzhao@uniontech.com> - 5.0.71-2
- add script for build on Qt5-qtbase-5.15.10
* Tue Aug 01 2023 leeffo <liweiganga@uniontech.com> - 5.0.71-1
- upgrade to version 5.0.71
* Mon Apr 03 2023 liweiganga <liweiganga@uniontech.com> - 5.0.42-1
- update: update to 5.0.42