commit: 2161b9b6421b4b857956b9419c7d27f3d8d5a998 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Aug 24 02:25:25 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Aug 24 02:25:58 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=2161b9b6
media-video/kaffeine: Import 1.3.1 from before slot 4 removal Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../kaffeine/files/kaffeine-1.3.1-cmake34.patch | 26 ++++++++++++++ media-video/kaffeine/kaffeine-1.3.1.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/media-video/kaffeine/files/kaffeine-1.3.1-cmake34.patch b/media-video/kaffeine/files/kaffeine-1.3.1-cmake34.patch new file mode 100644 index 00000000..a8c31f19 --- /dev/null +++ b/media-video/kaffeine/files/kaffeine-1.3.1-cmake34.patch @@ -0,0 +1,26 @@ +From 4a1a90ee1b2b4d13302046f043adf1c2a1de758d Mon Sep 17 00:00:00 2001 +From: Raphael Kubo da Costa <rak...@freebsd.org> +Date: Thu, 26 Nov 2015 15:36:26 +0100 +Subject: [PATCH] Explicitly include CheckIncludeFiles. + +This fixes the build with CMake 3.4.0. We were calling check_include_files() +and implicitly relying on CheckIncludeFiles being included. +--- + CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d9be8db..b74b44d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -21,6 +21,7 @@ if(STRICT_BUILD) + -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS) + endif(STRICT_BUILD) + ++include(CheckIncludeFiles) + check_include_files(${CMAKE_CURRENT_SOURCE_DIR}/include/frontend.h HAVE_DVB) + + if(NOT HAVE_DVB) +-- +2.4.10 + diff --git a/media-video/kaffeine/kaffeine-1.3.1.ebuild b/media-video/kaffeine/kaffeine-1.3.1.ebuild new file mode 100644 index 00000000..fa4c65b8 --- /dev/null +++ b/media-video/kaffeine/kaffeine-1.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_LINGUAS="ar ast be bg ca ca@valencia cs da de el en_GB eo es et fi fr ga gl +hr hu it ja km ko ku lt mai nb nds nl nn pa pl pt pt_BR ro ru se sk +sr@ijekavian sr@ijekavianlatin sr@latin sv th tr uk zh_CN zh_TW" +KDE_SCM="git" +inherit kde4-base + +DESCRIPTION="Media player with digital TV support by KDE" +HOMEPAGE="https://kaffeine.kde.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 FDL-1.2" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND=" + x11-libs/libXScrnSaver + dev-qt/qtsql:4[sqlite] + >=media-video/vlc-1.2[X] + x11-libs/libXScrnSaver +" +RDEPEND="${DEPEND}" + +DOCS=( Changelog NOTES ) + +PATCHES=( "${FILESDIR}/${P}-cmake34.patch" ) + +src_configure() { + local mycmakeargs=( + -DBUILD_DEBUG_MODULE=$(usex debug) + ) + + kde4-base_src_configure +}