summaryrefslogtreecommitdiff
path: root/media-video/kaffeine/kaffeine-9999.ebuild
blob: 9588baf2988c34e6cc464a4028650d78c275f78e (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

KMNAME="extragear/multimedia"
KMMODULE="kaffeine"
inherit kde4-base

DESCRIPTION="Media player for KDE using xine and gstreamer backends."
HOMEPAGE="http://kaffeine.sourceforge.net/"
if [[ ${PV} != *9999* ]] ; then
	KDE_LINGUAS="cs da de el en_GB es et fi fr ga gl hu it ja km ko ku lt mai nb
	nds nl nn pa pl pt pt_BR ro ru se sk sv th tr uk zh_CN zh_TW"
	SRC_URI="mirror://sourceforge/kaffeine/${P/_/-}.tar.gz"
else
	SRC_URI=""
fi

LICENSE="GPL-2"
KEYWORDS=""
SLOT="4"
IUSE="debug"

DEPEND="
	>=kde-base/phonon-kde-${KDE_MINIMAL}
	>=kde-base/solid-${KDE_MINIMAL}
"
RDEPEND="${DEPEND}
	!media-video/kaffeine:0
	!media-video/kaffeine:1
"

S=${WORKDIR}/${P/_/-}

src_configure() {
	mycmakeargs="-DBUILD_po=1
		$(cmake-utils_use_build debug DEBUG_MODULE)
	"
	kde4-base_src_configure
}