Christophe Giboudeaux 2016-02-24 11:49:16 +00:00 committed by Git OBS Bridge
parent 4865771bd4
commit e1d8e4d5bc
3 changed files with 23 additions and 1 deletions

13
kaffeine-cmake34.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d803558..a94b676 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,8 @@ if(DEFINED QT_VERSION_MAJOR)
add_definitions(-DQT_STRICT_ITERATORS)
endif(DEFINED QT_VERSION_MAJOR)
+include(CheckIncludeFiles)
+
check_include_files(${CMAKE_CURRENT_SOURCE_DIR}/include/frontend.h HAVE_DVB)
if(NOT HAVE_DVB)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 24 11:47:17 UTC 2016 - cgiboudeaux@gmx.com
- Add kaffeine-cmake34.patch. Include files containing the
functions used by the build system.
-------------------------------------------------------------------
Wed Jan 6 13:43:54 UTC 2016 - wbauer@tmo.at

View File

@ -1,7 +1,7 @@
#
# spec file for package kaffeine
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -43,6 +43,8 @@ Patch6: crash-on-resume-fix.patch
Patch7: kaffeine-gcc47.patch
# PATCH-FEATURE-UPSTREAM support_for_sundtek_tv_tuners.patch boo#827097 -- Add support for Sundtek DVB Devices
Patch8: support_for_sundtek_tv_tuners.patch
#PATCH-FIX-UPSTREAM kaffeine-cmake34.patch -- Include files containing the functions used by the build system
Patch9: kaffeine-cmake34.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libkde4-devel
@ -79,6 +81,7 @@ and Ogg Vorbis. It also handles Video CDs, DVDs, and DVB cards.
%patch6 -p1
%patch7
%patch8 -p1
%patch9 -p1
%build
%cmake_kde4 -d build