[packages/qt6] - PhysX is built only with qtquick3dphysics

qboosh qboosh at pld-linux.org
Sat Sep 14 20:52:53 CEST 2024


commit c5fee8b3e794fdf9464c8e1eedb36ace96c4c6f2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 14 20:55:49 2024 +0200

    - PhysX is built only with qtquick3dphysics

 qt6.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/qt6.spec b/qt6.spec
index 8e02705..9f577ab 100644
--- a/qt6.spec
+++ b/qt6.spec
@@ -3865,10 +3865,8 @@ DESTDIR=$RPM_BUILD_ROOT %{__cmake} --build build/ --target install_docs
 %endif
 
 # bundled libs, not required by installed components - probably no need to package
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt6BundledPhysX.a
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt6BundledResonanceAudio.a
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledOpenwnn
-%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledPhysX
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledPinyin
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledResonanceAudio
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledTcime
@@ -3877,6 +3875,10 @@ DESTDIR=$RPM_BUILD_ROOT %{__cmake} --build build/ --target install_docs
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt6BundledEmbree.a
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledEmbree
 %endif
+%if %{with qtquick3dphysics}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt6BundledPhysX.a
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledPhysX
+%endif
 
 # external plugins loaded from qtbase libs
 install -d $RPM_BUILD_ROOT%{qt6dir}/plugins/{iconengines,webview}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt6.git/commitdiff/c5fee8b3e794fdf9464c8e1eedb36ace96c4c6f2



More information about the pld-cvs-commit mailing list