summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client/kcheckgmail/kcheckgmail-0.5.7.5.ebuild')
-rw-r--r--mail-client/kcheckgmail/kcheckgmail-0.5.7.5.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/mail-client/kcheckgmail/kcheckgmail-0.5.7.5.ebuild b/mail-client/kcheckgmail/kcheckgmail-0.5.7.5.ebuild
new file mode 100644
index 000000000000..d66dd4ed0e81
--- /dev/null
+++ b/mail-client/kcheckgmail/kcheckgmail-0.5.7.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2008 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.5.ebuild,v 1.1 2008/07/26 17:32:39 keytoaster 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 wa"
+
+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"
+}