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 X ipv6 bmpx"
19 || ( ( x11-libs/libICE
28 truetype? ( >=media-libs/freetype-2 )
29 bmpx? ( media-sound/bmpx
34 RDEPEND="${DEPEND_COMMON}"
35 # seti? ( sci-astronomy/setiathome )"
61 ewarn "You have the ipv6 USE flag enabled. Please note that"
62 ewarn "using the ipv6 USE flag with Conky disables the port"
67 mymake="MPD_NO_IPV6=noipv6"
70 myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime
71 --enable-mpd --enable-mldonkey"
74 $(use_enable truetype xft) \
76 $(use_enable !ipv6 portmon) || die "econf failed"
78 emake ${mymake} || die "compile failed"
82 emake DESTDIR=${D} install || die "make install failed"
83 dodoc ChangeLog AUTHORS README doc/conkyrc.sample doc/variables.html
84 dodoc doc/docs.html doc/config_settings.html
88 einfo 'Default configuration file is "~/.conkyrc"'
89 einfo "you can find a sample configuration file in"
90 einfo "/usr/share/doc/${PF}/conkyrc.sample.gz"
92 einfo "For more info on Conky's new features,"
93 einfo "please look at the README and ChangeLog:"
94 einfo "/usr/share/doc/${PF}/README.gz"
95 einfo "/usr/share/doc/${PF}/ChangeLog.gz"
96 einfo "There are also pretty html docs available"
97 einfo "on Conky's site or in /usr/share/doc/${PF}"
99 einfo "Comment out temperature info lines if you have no kernel"
100 einfo "support for it."
102 einfo "Check out app-vim/conky-syntax for conkyrc"
103 einfo "syntax highlighting in Vim"
105 ewarn "Conky doesn't work with window managers that"
106 ewarn "take control over root window such as Gnome's nautilus."