# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.5.1.ebuild,v 1.2 2008/04/22 06:05:45 omp Exp $ inherit eutils # used for epause DESCRIPTION="An advanced, highly configurable system monitor for X" HOMEPAGE="http://conky.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="audacious bmpx debug hddtemp ipv6 mpd nano-syntax rss truetype vim-syntax smapi wifi X" DEPEND_COMMON=" virtual/libc X? ( x11-libs/libICE x11-libs/libXext x11-libs/libX11 x11-libs/libSM x11-libs/libXrender x11-libs/libXdamage x11-libs/libXft truetype? ( >=media-libs/freetype-2 ) audacious? ( >=media-sound/audacious-1.4.0 ) bmpx? ( media-sound/bmpx >=sys-apps/dbus-0.35 ) ) rss? ( dev-libs/libxml2 net-misc/curl ) wifi? ( net-wireless/wireless-tools ) !ipv6? ( >=dev-libs/glib-2.0 )" RDEPEND="${DEPEND_COMMON} hddtemp? ( app-admin/hddtemp ) vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) nano-syntax? ( app-editors/nano )" DEPEND=" ${DEPEND_COMMON} dev-util/pkgconfig X? ( x11-libs/libXt x11-proto/xextproto x11-proto/xproto )" pkg_setup() { if use audacious; then if has_version