1 # Copyright 1999-2006 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="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
14 IUSE="truetype X ipv6 audacious bmpx hddtemp mpd"
19 || ( ( x11-libs/libICE
29 truetype? ( >=media-libs/freetype-2 )
30 audacious? ( >=media-sound/audacious-0.1 )
31 bmpx? ( media-sound/bmpx
36 RDEPEND="${DEPEND_COMMON}
37 hddtemp? ( app-admin/hddtemp )
38 mpd? ( media-sound/mpd )"
57 ewarn "You have the ipv6 USE flag enabled. Please note that using"
58 ewarn "the ipv6 USE flag with Conky disables the port monitor."
61 mymake="MPD_NO_IPV6=noipv6"
64 myconf="--enable-own-window --enable-proc-uptime"
65 use X && myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage"
68 $(use_enable truetype xft) \
69 $(use_enable audacious) \
71 $(use_enable hddtemp ) \
73 $(use_enable !ipv6 portmon) || die "econf failed"
74 emake ${mymake} || die "compile failed"
78 emake DESTDIR=${D} install || die "make install failed"
79 dodoc ChangeLog AUTHORS README doc/conkyrc.sample
80 dohtml doc/docs.html doc/config_settings.html doc/variables.html
84 einfo 'Default configuration file is "~/.conkyrc"'
85 einfo "You can find a sample configuration file in"
86 einfo "/usr/share/doc/${PF}/conkyrc.sample.gz"
88 einfo "For more info on Conky's new features,"
89 einfo "please look at the README and ChangeLog:"
90 einfo "/usr/share/doc/${PF}/README.gz"
91 einfo "/usr/share/doc/${PF}/ChangeLog.gz"
92 einfo "There are also pretty html docs available"
93 einfo "on Conky's site or in /usr/share/doc/${PF}"
95 einfo "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
97 einfo "Check out app-vim/conky-syntax for conkyrc"
98 einfo "syntax highlighting in Vim"