summaryrefslogtreecommitdiff
blob: a9b0cfcbc978714af6df6cd0957df39ca621ea0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

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 ~ppc x86"
IUSE="debug"

DEPEND="
	x11-libs/libXScrnSaver
	dev-qt/qtsql:4[sqlite]
	>=media-libs/xine-lib-1.1.18.1
"
RDEPEND="${DEPEND}"

DOCS=( Changelog NOTES )

PATCHES=(
	"${FILESDIR}/${PN}-1.2.2-gcc4.7.patch"
	"${FILESDIR}/${PN}-1.3.1-cmake34.patch"
)

src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use_build debug DEBUG_MODULE)
	)

	kde4-base_src_configure
}