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 bmpx bmp xmms xmms2 infopipe audacious"
19 || ( ( x11-libs/libICE
28 truetype? ( >=media-libs/freetype-2 )
29 bmpx? ( media-sound/bmpx
32 bmp? ( media-sound/beep-media-player )
33 audacious? ( media-sound/audacious )
34 infopipe? ( media-plugins/xmms-infopipe )
35 xmms? ( media-sound/xmms )
36 xmms2? ( medis-sound/xmms2 )
39 RDEPEND="${DEPEND_COMMON}"
58 ewarn "You have the ipv6 USE flag enabled. Please note that"
59 ewarn "using the ipv6 USE flag with Conky disables the port"
64 mymake="MPD_NO_IPV6=noipv6"
67 myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime \
68 --enable-mpd --enable-mldonkey"
71 $(use_enable truetype xft) \
77 $(use_enable audacious) \
78 $(use_enable infopipe) \
79 $(use_enable !ipv6 portmon) || die "econf failed"
80 emake ${mymake} || die "compile failed"
84 make DESTDIR=${D} install || die "make install failed"
85 dodoc ChangeLog AUTHORS README doc/conkyrc.sample
86 dohtml doc/variables.html doc/docs.html doc/config_settings.html
90 einfo 'Default configuration file is "~/.conkyrc"'
91 einfo "you can find a sample configuration file in"
92 einfo "/usr/share/doc/${PF}/conkyrc.sample.gz"
94 einfo "For more info on Conky's new features,"
95 einfo "please look at the README and ChangeLog:"
96 einfo "/usr/share/doc/${PF}/README.gz"
97 einfo "/usr/share/doc/${PF}/ChangeLog.gz"
98 einfo "There are also pretty html docs available"
99 einfo "on Conky's site or in /usr/share/doc/${PF}"
101 einfo "Check out app-vim/conky-syntax for conkyrc"
102 einfo "syntax highlighting in Vim"