summaryrefslogtreecommitdiff
blob: 6f8e397cb4fc84b7ad997dfd437bf67e74717250 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/metabar/metabar-0.7.ebuild,v 1.6 2006/02/21 18:25:05 carlo Exp $

inherit kde

DESCRIPTION="A sidebar plugin for konqueror."
HOMEPAGE="http://www.kde-look.org/content/show.php?content=21168"
SRC_URI="mirror://sourceforge/metabar/${P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~amd64 ~sparc"
IUSE=""

DEPEND="|| ( kde-base/konqueror >=kde-base/kdebase-3.4 )
	!>=kde-base/konq-plugins-3.5.0"

need-kde 3.4

S="${WORKDIR}/${PN}"

pkg_setup() {
	if ! use arts; then
		eerror "${PN} needs USE=\"arts\" (and kdelibs compiled with USE=\"arts\")"
		die
	fi

	kde_pkg_setup
}

pkg_postinst()
{
	echo
	einfo "To use Metabar, run Konqueror, right-click the sidebar,"
	einfo "and choose 'Add New -> Metabar'."
	echo
}