summaryrefslogtreecommitdiff
blob: 90de0e8a6cc452531ded7f8fd0df641fc2f68b1a (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/superkaramba/superkaramba-3.5.10.ebuild,v 1.9 2009/07/12 11:21:00 armin76 Exp $

EAPI="1"
KMNAME=kdeutils
inherit kde-meta eutils

DESCRIPTION="A tool to create interactive applets for the KDE desktop."
KEYWORDS="~alpha amd64 ~hppa ~mips ppc ppc64 ~sparc x86"
IUSE="kdehiddenvisibility"

RDEPEND="!x11-misc/superkaramba"

PATCHES=( "${FILESDIR}/${PN}-3.5.2-multilib-python.diff"
	"${FILESDIR}/${PN}-3.5.7-network_sensor.patch"
	"${FILESDIR}/${PN}-python-2.6.patch" )

pkg_setup() {
	if ! built_with_use dev-lang/python threads ; then
		eerror "superkarambe needs dev-lang/python built with threads USE flag."
		eerror "Please enable this USE flag and re-install dev-lang/python."
		die "dev-lang/python needs to be rebuilt with threads support."
	fi

	kde_pkg_setup
}