blob: 024705416561d88895b70f145930085cc89396ca (
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
43
44
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/fancytasks-1.1.2-r1.ebuild,v 1.2 2014/04/24 14:14:38 johu Exp $
EAPI=5
KDE_LINGUAS="de en_GB es et fr km nds pl pt ru sv tr uk"
KDE_LINGUAS_DIR=( applet/locale containment/locale )
KDE_MINIMAL="4.8"
inherit kde4-base
DESCRIPTION="Task and launch representation plasmoid"
HOMEPAGE="http://kde-look.org/content/show.php/Fancy+Tasks?content=99737"
SRC_URI="http://kde-look.org/CONTENT/content-files/99737-${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="amd64 x86"
IUSE="debug"
DEPEND="
$(add_kdebase_dep plasma-workspace)
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXext
"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG README TODO )
src_prepare() {
kde4-base_src_prepare
local lang
for lang in ${KDE_LINGUAS} ; do
if ! use linguas_${lang} ; then
local dir
for dir in ${KDE_LINGUAS_DIR[@]} ; do
if [ -f ${dir}/${lang}.mo ]; then
rm ${dir}/${lang}.mo
fi
done
fi
done
}
|