1 # Subversion repository ebuild for conky by drphibes
4 ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/conky/trunk/conky1"
8 DESCRIPTION="Conky is an advanced, highly configurable system monitor for X"
9 HOMEPAGE="http://conky.sf.net"
13 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
14 IUSE="truetype X ipv6 audacious bmpx hddtemp mpd vim-syntax"
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 )
39 vim-syntax? ( || ( app-editors/vim
56 ./autogen.sh ${ESVN_STORE_DIR}/${ESVN_PROJECT}/conky1
61 ewarn "You have the ipv6 USE flag enabled. Please note that using"
62 ewarn "the ipv6 USE flag with Conky disables the port monitor."
65 mymake="MPD_NO_IPV6=noipv6"
68 myconf="--enable-own-window --enable-proc-uptime"
69 use X && myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage"
72 $(use_enable truetype xft) \
73 $(use_enable audacious) \
75 $(use_enable hddtemp ) \
77 $(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
84 dohtml doc/docs.html doc/config_settings.html doc/variables.html
86 if use vim-syntax; then
87 insinto /usr/share/vim/vimfiles/ftdetect
88 doins "${S}"/extras/vim/ftdetect/conkyrc.vim
90 insinto /usr/share/vim/vimfiles/syntax
91 doins "${S}"/extras/vim/syntax/conkyrc.vim
96 einfo 'Default configuration file is "~/.conkyrc"'
97 einfo "You can find a sample configuration file in"
98 einfo "/usr/share/doc/${PF}/conkyrc.sample.gz"
100 einfo "For more info on Conky's new features,"
101 einfo "please look at the README and ChangeLog:"
102 einfo "/usr/share/doc/${PF}/README.gz"
103 einfo "/usr/share/doc/${PF}/ChangeLog.gz"
104 einfo "There are also pretty html docs available"
105 einfo "on Conky's site or in /usr/share/doc/${PF}"
107 einfo "Also see http://www.gentoo.org/doc/en/conky-howto.xml"
109 einfo "Vim syntax highlighting for conkyrc now enabled with"
110 einfo "USE=vim-syntax"