Browse Source

updated: phonon

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@574 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 14 years ago
parent
commit
df89a3d963
1 changed files with 20 additions and 22 deletions
  1. 20 22
      p/phonon/phonon-vl.spec

+ 20 - 22
p/phonon/phonon-vl.spec

@@ -1,12 +1,14 @@
+%define tar_ver 4.4
+
 Summary: Multimedia framework api
 Summary(ja): マルチメディアフレームワーク API
 Name: phonon
-Version: 4.3.80
-Release: 2%{?_dist_release}
+Version: 4.4.0
+Release: 1%{?_dist_release}
 Group: System Environment/Libraries
 License: LGPLv2+
 URL: http://phonon.kde.org/
-Source0: ftp://ftp.kde.org/pub/kde/unstable/phonon/phonon-%{version}.tar.bz2
+Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.0/phonon-%{version}.tgz
 
 Source10: http://gstreamer.freedesktop.org/data/images/artwork/gstreamer-logo.svg
 Source11: hi16-phonon-gstreamer.png
@@ -16,25 +18,17 @@ Source14: hi48-phonon-gstreamer.png
 Source15: hi64-phonon-gstreamer.png
 Source16: hi128-phonon-gstreamer.png
 
-# Prefer PulseAudio
-# This one was easiest to port, but doesn't seem to work by itself as-is
-# maybe we can just wait for the improvie PA support to land.
-Patch1:  phonon-4.3.50-xine_pulseaudio.patch
-
 ## Mandriva/upstreamable patches
-Patch50: phonon-4.2.0-ogg-mime-type.patch
 Patch51: phonon-4.3.50-fix-decodebin-usage.patch
 Patch52: phonon-4.3.50-gstreamer-fix-seekable-query-failed.patch
 Patch53: phonon-4.3.50-phonon-allow-stop-empty-source.patch
-Patch54: phonon-4.3.80-fix-gstreamer-pulseaudio-deadlock.patch
+Patch57: phonon-4.3.80-pulse-devicemove-rejig.patch
 
 ## Upstream patches
-# http://bugs.kde.org/223662
-Patch100: phonon-4.3.80-kde223662.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: automoc4 >= 0.9.86
-BuildRequires: cmake >= 2.6.0
+BuildRequires: cmake >= 2.6.2
 BuildRequires: glib2-devel
 BuildRequires: gstreamer-devel
 BuildRequires: gstreamer-plugins-base-devel
@@ -43,10 +37,9 @@ BuildRequires: libxml2-devel
 BuildRequires: qt4-devel >= 4.4.0
 BuildRequires: xine-lib-devel
 BuildRequires: pulseaudio-libs-devel 
-#BuildRequires: pulseaudio-libs-devel >= 0.9.21
 
 Requires: phonon-backend >= %{version}
-Requires: qt4 >= 4.6.0
+Requires: qt4 >= 4.4.0
 
 %description
 Phonon is a cross-platform portable Multimedia Support Abstraction,
@@ -79,21 +72,19 @@ Provides: phonon-backend = %{version}-%{release}
 Summary: Development files for phonon
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
-Requires: qt4-devel >= 4.6.0
+Requires: qt4-devel >= 4.4.0
 
 %description devel
 Header files for developing applications using phonon
 
 %prep
-%setup -q
-%patch1 -p1 -b .xine_pulseaudio
+%setup -q -n %{name}-%{tar_ver}
 
-%patch50 -p0 -b .ogg-mime-type
 %patch51 -p0 -b .fix-decodebin-usage
 %patch52 -p1 -b .gstreamer-fix-seekable-query-failed
 %patch53 -p1 -b .phonon-allow-stop-empty-source
-%patch54 -p1 -b .gstreamer-pulseaudio-deadlock
-%patch100 -p3 -b .kde223662
+%patch57 -p1 -b .pulse-devicemove-rejig
+
 
 %build
 %ifarch x86_64
@@ -139,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %posttrans backend-gstreamer
-%gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
 
 %posttrans backend-xine
 gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
@@ -184,6 +175,13 @@ fi
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Sat Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.0-1
+- new upstream release
+- dropt Patch1, 50, 54 and 100
+- added Patch57
+  * Fri Jan 22 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.3.80-5.2
+  - F11: patch/modularize pa device-manager bits 
+
 * Sun Feb 14 2010 Shu KONNO <owa@bg.wakwak.com> 4.3.80-2
 - added qmake path to PATH (if x86_64)