]> git.pld-linux.org Git - packages/qt4.git/commitdiff
- phonon is not built or installed if building with system phonon
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Aug 2021 09:36:57 +0000 (11:36 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Aug 2021 09:36:57 +0000 (11:36 +0200)
qt4.spec

index 51452625f8ee20d3b19acc0b7533e20680d949f1..7a0b9d9e8ce4f3bf1e1cab3f0898ac9e762e9551 100644 (file)
--- 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
 
This page took 0.141372 seconds and 4 git commands to generate.