summaryrefslogtreecommitdiff
blob: 791b7ad030f2a2440d80368014a6dc14aaa10311 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

KDE_LINGUAS_DIR="applet/locale"
KDE_LINGUAS="de et pl pt ru sv uk"
inherit kde4-base

DESCRIPTION="Multimedia player plasmoid"
HOMEPAGE="http://kde-look.org/content/show.php?content=95501"
SRC_URI="http://kde-look.org/CONTENT/content-files/95501-${P}.tar.bz2"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="4"
IUSE="debug"

DEPEND="
	media-libs/phonon[qt4]
"
RDEPEND="
	${DEPEND}
	kde-plasma/plasma-workspace:4
"

src_prepare() {
	local lang
	for lang in ${KDE_LINGUAS} ; do
		if ! use l10n_${lang} ; then
			rm ${KDE_LINGUAS_DIR}/${lang}.mo
		fi
	done

	kde4-base_src_prepare
}