Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
89074cae9c
!39 add sw_64 in macros qt5_qtwebengine_arches
From: @hailianguniontech 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2025-04-23 05:54:32 +00:00
Hailiang
1c575e2114 add sw_64 in macros qt5_qtwebengine_arches 2025-04-23 10:44:19 +08:00
openeuler-ci-bot
629ddcea4f
!35 [sync] PR-32: Redefine qmake binary depending on buildarch at runtime
From: @openeuler-sync-bot 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2024-12-05 09:03:28 +00:00
Funda Wang
01de18e3f5 Redefine qmake binary depending on buildarch at runtime
(cherry picked from commit 6f7af4666fc0d1473e5176f4a7cdc9a424b95601)
2024-12-04 09:36:39 +08:00
openeuler-ci-bot
69c524faa9
!27 [sync] PR-25: add loongarch in macros qt5_qtwebengine_arches
From: @openeuler-sync-bot 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2024-04-07 07:49:55 +00:00
liweigang
4ca84ff80a add loongarch in macros qt5_qtwebengine_arches
Signed-off-by: liweigang <liweiganga@uniontech.com>
(cherry picked from commit 1d4ea7bd99fbd684aa7afed8ee0cbbac1d9adde2)
2024-04-07 15:35:49 +08:00
openeuler-ci-bot
e93ddb7fc8
!23 [sync] PR-22: Add support for riscv64
From: @openeuler-sync-bot 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2024-04-07 07:29:33 +00:00
shafeipaozi
4cb12ced0a add support riscv
(cherry picked from commit 5e27f4dfb8bb369a01d8c0f0728991d0dd3b3984)
2024-04-07 15:14:32 +08:00
openeuler-ci-bot
65ca821498
!19 fix other qt5-xx pkg, clang build need -spec linux-clang
From: @mdLUbG 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2023-09-13 08:37:39 +00:00
s
10255fbefc fix other qt5-xx pkg, clang build need -spec linux-clang 2023-09-13 15:49:36 +08:00
3 changed files with 33 additions and 4 deletions

View File

@ -11,7 +11,13 @@
%_qt5_libexecdir %{_qt5_archdatadir}/libexec
%_qt5_plugindir %{_qt5_archdatadir}/plugins
%_qt5_qmldir %{_qt5_archdatadir}/qml
%_qt5_qmake @@QMAKE@@
%_qt5_qmake \\\
%ifarch noarch \
%{_bindir}/qmake-qt5 \\\
%else \
%{_prefix}/%{_lib}/qt5/bin/qmake \\\
%endif \
%{nil}
%_qt5_settingsdir %{_sysconfdir}/xdg
%_qt5_sysconfdir %{_qt5_settingsdir}
%_qt5_translationdir %{_datadir}/qt5/translations
@ -33,3 +39,6 @@
%qmake_qt5 %{_qt5_qmake} %{?_qt5_qmake_flags}
%qmake_qt5_wrapper @@QMAKE_QT5_WRAPPER@@
%qmake_qt5_build %make_build
%qmake_qt5_install %make_install INSTALL_ROOT=%{?buildroot}

View File

@ -5,5 +5,5 @@
# # If you cannot get this package to build on your secondary architecure, please:
# # * remove your architecture from this list AND
# # * put #1298011 onto your ExcludeArch tracker.
%qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el
%qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el riscv64 loongarch32 loongarch64 sw_64

View File

@ -1,6 +1,6 @@
Name: qt5
Version: 5.15.10
Release: 1
Release: 6
Summary: Qt5 meta package
License: GPLv3
URL: https://getfedora.org/
@ -60,10 +60,15 @@ sed -i \
-e "s|@@QT5_CXXFLAGS@@|%{?qt5_cxxflags}|g" \
-e "s|@@QT5_RPM_LD_FLAGS@@|%{?qt5_rpm_ld_flags}|g" \
-e "s|@@QT5_RPM_OPT_FLAGS@@|%{?qt5_rpm_opt_flags}|g" \
-e "s|@@QMAKE@@|%{_prefix}/%%{_lib}/qt5/bin/qmake|g" \
-e "s|@@QMAKE_QT5_WRAPPER@@|%{_bindir}/qmake-qt5.sh|g" \
%{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
%if "%toolchain" == "clang"
sed -i \
-e '/QMAKE_LFLAGS_RELEASE/a \ -spec linux-clang \\\\\\' \
%{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
%endif
mkdir -p %{buildroot}%{_docdir}/qt5
mkdir -p %{buildroot}%{_docdir}/qt5-devel
echo "- Qt5 meta package" > %{buildroot}%{_docdir}/qt5/README
@ -88,6 +93,21 @@ echo "- Qt5 devel meta package" > %{buildroot}%{_docdir}/qt5-devel/README
%{_rpmconfigdir}/macros.d/macros.qt5-srpm
%changelog
* Wed Apr 23 2025 mahailiang <mahailiang@uniontech.com> - 5.15.10-6
- add sw_64 in macros qt5_qtwebengine_arches
* Thu Nov 28 2024 Funda Wang <fundawang@yeah.net> - 5.15.10-5
- Redefine qmake binary depending on buildarch at runtime
* Sun Apr 07 2024 liweigang <liweiganga@uniontech.com> - 5.15.10-4
- add loongarch in macros qt5_qtwebengine_arches
* Sun Apr 7 2024 shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn> - 5.15.10-3
- add riscv64 in macros qt5_qtwebengine_arches
* Wed Sep 13 2023 yoo <sunyuechi@iscas.ac.cn> - 5.15.10-2
- fix other qt5-xx pkg, clang build need -spec linux-clang
* Mon Aug 07 2023 peijiankang <peijiankang@kylinos.cn> - 5.15.10-1
- update to 5.15.10