[packages/qt4] - phonon is not built or installed if building with system phonon

baggins baggins at pld-linux.org
Tue Aug 17 11:37:26 CEST 2021


commit e56a89381bc6929164720de4ec6e65ea5c3a50e5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Aug 17 11:36:57 2021 +0200

    - phonon is not built or installed if building with system phonon

 qt4.spec | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)
---
diff --git a/qt4.spec b/qt4.spec
index 5145262..7a0b9d9 100644
--- a/qt4.spec
+++ b/qt4.spec
@@ -1951,7 +1951,7 @@ mkdevfl QtCLucene
 mkdevfl QtXml
 mkdevfl QtXmlPatterns
 mkdevfl Qt3Support
-mkdevfl phonon
+%{!?with_system_phonon:mkdevfl phonon}
 
 # without *.la *.pc etc.
 mkdevfl QtDesigner || /bin/true
@@ -1977,17 +1977,6 @@ for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`; do
 	ifecho demos %{_examplesdir}/qt4-demos/$f
 done
 
-%if %{with system_phonon}
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libphonon.so* \
-	$RPM_BUILD_ROOT%{_libdir}/libphonon.{la,prl} \
-	$RPM_BUILD_ROOT%{_libdir}/qt4/plugins/phonon_backend/libphonon_gstreamer.so \
-	$RPM_BUILD_ROOT%{_pkgconfigdir}/phonon.pc
-%{__rm} -r $RPM_BUILD_ROOT%{_includedir}/qt4/phonon
-%if %{with static_libs}
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libphonon.a
-%endif
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt4.git/commitdiff/e56a89381bc6929164720de4ec6e65ea5c3a50e5



More information about the pld-cvs-commit mailing list