1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Conky is an advanced, highly configurable system monitor for X"
8 HOMEPAGE="http://conky.sf.net"
9 SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2"
13 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14 IUSE="truetype seti metar"
19 truetype? ( >=media-libs/freetype-2 )
22 metar? ( dev-libs/mdsplib )
26 #sparc and am64 awaiting keywords as per bug #99262
29 RDEPEND="${DEPEND_COMMON}
30 seti? ( sci-astronomy/setiathome )"
34 >=sys-devel/automake-1.4
39 >=sys-process/procps-3.2.5"
44 myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime --enable-mpd --enable-mldonkey"
45 if !use amd64 && !use sparc
47 myconf="${myconf} $(use_enable metar)"
51 $(use_enable truetype xft) \
53 $(use_enable metar) || die "econf failed"
54 emake || die "compile failed"
58 emake DESTDIR=${D} install || die "make install failed"
59 dodoc ChangeLog AUTHORS README conkyrc.sample
63 einfo 'default configuration file is "~/.conkyrc"'
64 einfo "you can find a sample configuration file in"
65 einfo "/usr/share/doc/${PF}/conkyrc.sample.gz"
67 einfo "For more info on Conky's new features,"
68 einfo "please look at the README and ChangeLog:"
69 einfo "/usr/share/doc/${PF}/README.gz"
70 einfo "/usr/share/doc/${PF}/ChangeLog.gz"
72 einfo "Comment out temperature info lines if you have no kernel"
73 einfo "support for it."
75 ewarn "Conky doesn't work with window managers that"
76 ewarn "take control over root window such as Gnome's nautilus."