Accepting request 42099 from KDE:KDE4:Factory:Desktop

Copy from KDE:KDE4:Factory:Desktop/kaffeine based on submit request 42099 from user llunak

OBS-URL: https://build.opensuse.org/request/show/42099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kaffeine?expand=0&rev=28
This commit is contained in:
OBS User autobuild 2010-06-28 10:16:38 +00:00 committed by Git OBS Bridge
parent 24ca15f221
commit 5feb4be341
3 changed files with 30 additions and 3 deletions

11
initial-preference.diff Normal file
View File

@ -0,0 +1,11 @@
Index: src/kaffeine.desktop
===================================================================
--- src/kaffeine.desktop.orig
+++ src/kaffeine.desktop
@@ -97,3 +97,6 @@ X-KDE-HasTempFileOption=true
#To enable back when doc will be available
#X-DocPath=kaffeine/index.html
X-Desktop-File-Install-Version=0.15
+#Lower than Amarok so we don't override for audio.
+#Will break if Amarok ever starts to play video files.
+InitialPreference=4

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Jun 26 11:47:58 UTC 2010 - cmorve69@yahoo.es
- Add InitialPreference to set it as the default video player
-------------------------------------------------------------------
Fri Jun 25 09:39:47 UTC 2010 - beineri@opensuse.org
- fix build for <11.3
-------------------------------------------------------------------
Wed Apr 14 13:14:00 UTC 2010 - llunak@novell.com

View File

@ -19,14 +19,16 @@
Name: kaffeine
BuildRequires: libkdepimlibs4-devel
BuildRequires: libksuseinstall-devel xine-devel
BuildRequires: libkdepimlibs4-devel xine-devel
%if %suse_version > 1120
BuildRequires: libksuseinstall-devel
%endif
Url: http://kaffeine.sourceforge.net/
License: GPLv2+
Group: Productivity/Multimedia/Video/Players
Summary: Xine-Based Multimedia Player
Version: 0.9+1.0pre3
Release: 3
Release: 4
%define rversion 1.0-pre3
# http://kaffeine.kde.org/?q=node/22
Source0: kaffeine-%rversion.tar.gz
@ -34,6 +36,7 @@ Source1: kaffeine-icons.tar.bz2
Patch1: fix_plasma_startup_error.diff
Patch2: kaffeine-1.0-pre3-include_mkfifo.patch
Patch3: ksuseinstall.diff
Patch4: initial-preference.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libqt4-sql-sqlite
%kde4_runtime_requires
@ -55,7 +58,10 @@ Authors:
%setup -q -n kaffeine-%rversion -b 1
%patch1
%patch2
%if %suse_version > 1120
%patch3
%endif
%patch4
%build
%cmake_kde4 -d build