[packages/qt6] - embree is x86_64/arm64 only

qboosh qboosh at pld-linux.org
Sat Sep 14 20:25:46 CEST 2024


commit c3c834d630005403ab8861289fa41f889b3c862d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 14 20:28:41 2024 +0200

    - embree is x86_64/arm64 only

 qt6.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/qt6.spec b/qt6.spec
index 007d6bf..8e02705 100644
--- a/qt6.spec
+++ b/qt6.spec
@@ -3865,16 +3865,18 @@ 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}/libQt6BundledEmbree.a
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt6BundledPhysX.a
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt6BundledResonanceAudio.a
-%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledEmbree
 %{__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
 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6Bundled_Clip2Tri
+%ifarch %{x8664} aarch64
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt6BundledEmbree.a
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/Qt6BundledEmbree
+%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/c3c834d630005403ab8861289fa41f889b3c862d



More information about the pld-cvs-commit mailing list