From c2e89ad67736dc554aff9a8a2b325ed6addb7db5 Mon Sep 17 00:00:00 2001 From: yangxianzhao Date: Mon, 4 Sep 2023 18:08:54 +0800 Subject: [PATCH] add script for build on Qt5-qtbase-5.15.10 (cherry picked from commit 7784bf1fa8d67aabda9ba383d7c9ffb23e2537ec) --- qt5platform-plugins.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/qt5platform-plugins.spec b/qt5platform-plugins.spec index 2ae1050..e40de29 100644 --- a/qt5platform-plugins.spec +++ b/qt5platform-plugins.spec @@ -2,7 +2,7 @@ Name: dde-qt5platform-plugins Version: 5.0.71 -Release: 1 +Release: 2 Summary: Qt platform plugins for DDE License: GPLv3 URL: https://github.com/linuxdeepin/qt5platform-plugins @@ -71,7 +71,8 @@ BuildRequires: qt5-qtmultimedia-devel %prep %autosetup -p1 -n %{repo}-%{version} -sed -i 's|wayland/wayland.pro|#wayland/wayland.pro|' qt5platform-plugins.pro +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 @@ -89,10 +90,13 @@ 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 04 2023 yangxianzhao - 5.0.71-2 +- add script for build on Qt5-qtbase-5.15.10 + * Tue Aug 01 2023 leeffo - 5.0.71-1 - upgrade to version 5.0.71