[phonon-backend-xine] * Wed Feb 02 2011 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.4.4-2 - bump the preference on F14 and o

Kevin Kofler kkofler at fedoraproject.org
Wed Feb 2 22:53:44 UTC 2011


commit 723d5347ed09e24220d7e7c5e26db5142f3d5be0
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date:   Wed Feb 2 23:53:28 2011 +0100

    * Wed Feb 02 2011 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.4.4-2
    - bump the preference on F14 and older to keep this as the default there

 phonon-backend-xine-4.4.4-InitialPreference.patch |   12 ++++++++++++
 phonon-backend-xine.spec                          |   10 +++++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/phonon-backend-xine-4.4.4-InitialPreference.patch b/phonon-backend-xine-4.4.4-InitialPreference.patch
new file mode 100644
index 0000000..9c9abb9
--- /dev/null
+++ b/phonon-backend-xine-4.4.4-InitialPreference.patch
@@ -0,0 +1,12 @@
+diff -ur phonon-backend-xine-4.4.4/xine/xine.desktop.cmake phonon-backend-xine-4.4.4-InitialPreference/xine/xine.desktop.cmake
+--- phonon-backend-xine-4.4.4/xine/xine.desktop.cmake	2011-01-19 20:20:53.000000000 +0100
++++ phonon-backend-xine-4.4.4-InitialPreference/xine/xine.desktop.cmake	2011-02-02 23:49:38.000000000 +0100
+@@ -7,7 +7,7 @@
+ X-KDE-PhononBackendInfo-Version=@PHONON_XINE_VERSION@
+ X-KDE-PhononBackendInfo-Website=http://www.xinehq.de/
+ Icon=phonon-xine
+-InitialPreference=5
++InitialPreference=20
+ 
+ Name=Xine
+ Name[bg]=Xine
diff --git a/phonon-backend-xine.spec b/phonon-backend-xine.spec
index 154ea8a..4a35deb 100644
--- a/phonon-backend-xine.spec
+++ b/phonon-backend-xine.spec
@@ -4,7 +4,7 @@
 Summary: Xine phonon backend 
 Name:    phonon-backend-xine
 Version: 4.4.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group:   System Environment/Libraries
 License: LGPLv2+
 URL:     http://phonon.kde.org/
@@ -15,6 +15,8 @@ Source1: phonon-xine_snapshot.sh
 %else
 Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/phonon-backend-xine/%{version}/src/phonon-backend-xine-%{version}.tar.bz2
 %endif
+# bump the priority to make this the default backend (conditionally applied)
+Patch0:  phonon-backend-xine-4.4.4-InitialPreference.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: automoc4
@@ -39,6 +41,9 @@ Requires: qt4%{?_isa} >= %{_qt4_version}
 
 %prep
 %setup -q -n phonon-backend-xine-%{version}
+%if 0%{?fedora} < 15
+%patch0 -p1 -b .InitialPreference
+%endif
 
 %build
 mkdir -p %{_target_platform}
@@ -88,6 +93,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
 
 
 %changelog
+* Wed Feb 02 2011 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.4.4-2
+- bump the preference on F14 and older to keep this as the default there
+
 * Fri Jan 21 2011 Rex Dieter <rdieter at fedoraproject.org> 4.4.4-1
 - phonon-backend-xine-4.4.4
 


More information about the scm-commits mailing list