summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2009-05-29 17:37:30 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2009-05-29 17:37:30 +0000
commit46ef8f21f0affbef7ed5d1a352ec3e6c18d1d497 (patch)
tree3ef401b28f7bbbb788c0a78675a5e3243071d84f /x11-misc
parentFix my old e-mail address. (diff)
downloadgentoo-2-46ef8f21f0affbef7ed5d1a352ec3e6c18d1d497.tar.gz
gentoo-2-46ef8f21f0affbef7ed5d1a352ec3e6c18d1d497.tar.bz2
gentoo-2-46ef8f21f0affbef7ed5d1a352ec3e6c18d1d497.zip
EAPI2, change slot to :3.5, fix langs, fix intergration with kontact, bug 242796, thanks to Boian Berberov for the patch
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/basket/ChangeLog9
-rw-r--r--x11-misc/basket/basket-1.0.3.1.ebuild33
2 files changed, 36 insertions, 6 deletions
diff --git a/x11-misc/basket/ChangeLog b/x11-misc/basket/ChangeLog
index d2406144515f..a8b22fdcf5fb 100644
--- a/x11-misc/basket/ChangeLog
+++ b/x11-misc/basket/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/basket
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/basket/ChangeLog,v 1.40 2008/07/01 19:24:56 keytoaster Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/basket/ChangeLog,v 1.41 2009/05/29 17:37:30 tampakrap Exp $
+
+ 29 May 2009; Theo Chatzimichos <tampakrap@gentoo.org>
+ basket-1.0.3.1.ebuild:
+ EAPI2, change slot to :3.5, fix langs, fix intergration with kontact, bug
+ 242796, thanks to Boian Berberov for the patch
*basket-1.0.3.1 (01 Jul 2008)
diff --git a/x11-misc/basket/basket-1.0.3.1.ebuild b/x11-misc/basket/basket-1.0.3.1.ebuild
index ee25cb3bad67..df2d9dfbfbf1 100644
--- a/x11-misc/basket/basket-1.0.3.1.ebuild
+++ b/x11-misc/basket/basket-1.0.3.1.ebuild
@@ -1,6 +1,14 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/basket/basket-1.0.3.1.ebuild,v 1.2 2008/07/01 22:50:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/basket/basket-1.0.3.1.ebuild,v 1.3 2009/05/29 17:37:30 tampakrap Exp $
+
+EAPI="2"
+
+ARTS_REQUIRED="never"
+
+USE_KEG_PACKAGING="1"
+
+LANGS="cs da de es fr it ja nl nn pt ru tr zh_CN"
inherit kde
@@ -10,11 +18,28 @@ DESCRIPTION="A DropDrawers clone. Multiple information organizer"
HOMEPAGE="http://basket.kde.org/"
SRC_URI="http://basket.kde.org/downloads/${P}.tar.gz"
-SLOT="0"
+SLOT="3.5"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
-DEPEND="crypt? ( >=app-crypt/gpgme-1.0 )"
+DEPEND="crypt? ( >=app-crypt/gpgme-1.0 )
+ !<x11-misc/basket-1.0.3.1"
RDEPEND="${DEPEND}"
need-kde 3.3
+
+src_install() {
+ kde_src_install
+
+ local dir="${KDEDIR}/share/services/kontact"
+
+ # http://basket.kde.org/news.php#the-2008-02-28
+ insinto "${dir}"
+ # 6 and 7 work for up to 3.5.10
+ for version in 6 7; do
+ einfo "Creating additional Kontact plug-in file for version ${version}"
+ newins kontact_plugin/basket.desktop basket_v${version}.desktop
+ dosed "s:^X-KDE-KontactPluginVersion=5:X-KDE-KontactPluginVersion=${version}:" \
+ "${dir}/basket_v${version}.desktop"
+ done
+}