summaryrefslogtreecommitdiff
blob: 039d5e4eca5430a03b2fb54a55dbc4ee8a663690 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/rox-base/tasklist/tasklist-0.5.ebuild,v 1.5 2009/05/31 13:27:55 nixnut Exp $

ROX_CLIB_VER=2.1.10
inherit rox-0install

MY_PN="Tasklist"
DESCRIPTION="Tasklist is a ROX applet which shows a list of running applications"
HOMEPAGE="http://rox.sourceforge.net/phpwiki/index.php/Tasklist"
SRC_URI="ftp://ftp.berlios.de/pub/rox4debian/apps/${MY_PN}-${PV}.tgz"

DEPEND="x11-libs/libwnck"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

APPNAME=${MY_PN}
S=${WORKDIR}
LOCAL_FEED_SRC="${FILESDIR}/${MY_PN}-${PV}.xml"

src_unpack() {
	unpack ${A}
	cd "${S}/${MY_PN}"

	# Oh my, includes pre-compiled binary which requires libwnck-1.8!
	# Those crazy rox folks... Remove it.
	rm -rf Linux-ix86

	# No need for 2 identical files here, link one:
	rm AppletRun
	ln -s AppRun AppletRun

	# Patch to override default settings of ${HOME}/Choices/
	epatch "${FILESDIR}/choicespath.patch"
}