[packages/qt5-qtwebview] - create plugins dir if webengine plugin not enabled

qboosh qboosh at pld-linux.org
Tue Apr 20 22:05:58 CEST 2021


commit d364c0ac0c2143c58040a8b4becad392703f3b0e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 20 22:07:44 2021 +0200

    - create plugins dir if webengine plugin not enabled

 qt5-qtwebview.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/qt5-qtwebview.spec b/qt5-qtwebview.spec
index 4246eb4..1937939 100644
--- a/qt5-qtwebview.spec
+++ b/qt5-qtwebview.spec
@@ -151,6 +151,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
+%if %{without webengine}
+install -d $RPM_BUILD_ROOT%{qt5dir}/plugins/webview
+%endif
+
 %if %{with doc}
 %{__make} install_docs \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtwebview.git/commitdiff/d364c0ac0c2143c58040a8b4becad392703f3b0e



More information about the pld-cvs-commit mailing list