blob: d3ecac4468897e6acdaf62ca736fffcad8c5b9c8 (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/kcheckgmail/kcheckgmail-0.5.7.3.ebuild,v 1.1 2007/11/16 22:13:48 philantrop Exp $
inherit kde
DESCRIPTION="Gmail notifier applet for kde"
HOMEPAGE="http://sourceforge.net/projects/kcheckgmail"
SRC_URI="mirror://sourceforge/kcheckgmail/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
need-kde 3.5
LANGS="ar de es et fr hu it ko lt pl pt_BR pt ru sk sv tr"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
src_unpack() {
kde_src_unpack
for X in ${LANGS} ; do
use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}.po"
done
cd "${S}/po"
sed -i -e "s:POFILES =.*:POFILES = ${MAKE_LANGS}:" Makefile.am
# Fix the desktop file
sed -i -e 's:\(^Categories=.*k\):\1;:' "${S}/src/kcheckgmail.desktop"
rm -f "${S}/configure"
}
|