]> git.pld-linux.org Git - packages/qt4.git/commitdiff
- rel 7; build with phonon but don't package it (in effect - use phonon from phonon... auto/th/qt4-4_5_0-7
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 12 Mar 2009 08:11:37 +0000 (08:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qt4.spec -> 1.203

qt4.spec

index ebc75bfa59c5509502e6436189c3568ac395ce12..6c098bf1b0e32c050ede6dba0f248a3c2046a461 100644 (file)
--- a/qt4.spec
+++ b/qt4.spec
@@ -42,6 +42,7 @@
 %bcond_without ibase           # don't build ibase (InterBase/Firebird) plugin
 %bcond_without pch             # disable pch in qmake
 %bcond_without gtk             # don't build GTK theme integration
+%bcond_without system_phonon
 %bcond_with    sse             # use SSE instructions in gui/painting module
 %bcond_with    sse2            # use SSE2 instructions
 #
@@ -64,7 +65,7 @@ Summary(pl.UTF-8):    Biblioteka Qt do tworzenia GUI
 Summary(pt_BR.UTF-8):  Estrutura para rodar aplicações GUI Qt
 Name:          qt4
 Version:       4.5.0
-Release:       6
+Release:       7
 License:       LGPL v2.1 or GPL v3.0
 Group:         X11/Libraries
 Source0:       http://download.qtsoftware.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
@@ -1019,7 +1020,11 @@ Group:           X11/Development/Libraries
 Requires:      QtGui-devel = %{version}-%{release}
 Requires:      QtNetwork-devel = %{version}-%{release}
 Requires:      QtWebKit = %{version}-%{release}
+%if %{with system_phonon}
+Requires:      phonon-devel
+%else
 Requires:      qt4-phonon-devel = %{version}-%{release}
+%endif
 
 %description -n QtWebKit-devel
 Classes for rendering HTML, XHTML and SVG documents - development
@@ -1983,12 +1988,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_desktopdir}/linguist-qt4.desktop
 %{_pixmapsdir}/linguist-qt4.png
 
+%if ! %{with system_phonon}
 %files phonon
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libphonon.so.*.*
 %attr(755,root,root) %ghost %{_libdir}/libphonon.so.4
 %dir %{_qtdir}/plugins/phonon_backend
 %attr(755,root,root) %{_qtdir}/plugins/phonon_backend/libphonon_gstreamer.so
+%endif
 
 %files qmake
 %defattr(644,root,root,755)
@@ -2079,8 +2086,10 @@ rm -rf $RPM_BUILD_ROOT
 %files -n QtXmlPatterns-devel -f QtXmlPatterns-devel.files
 %defattr(644,root,root,755)
 
+%if ! %{with system_phonon}
 %files phonon-devel -f phonon-devel.files
 %defattr(644,root,root,755)
+%endif
 
 %if %{with static_libs}
 %files -n Qt3Support-static
This page took 0.097692 seconds and 4 git commands to generate.