# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils IUSE="nls" DESCRIPTION="A plugin for GKrellM2 that has a VU meter and a sound chart" HOMEPAGE="http://gkrellm.net/gkrellmss/gkrellmss.html" SRC_URI="http://web.wt.net/~billw/gkrellmss/${P}.tar.gz" DEPEND="=app-admin/gkrellm-2* =dev-libs/fftw-2* media-sound/esound" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc ~alpha" src_unpack() { unpack ${A} cd ${S} # epatch ${FILESDIR}/gkrellmss-patch-2.3.diff } src_compile() { local myconf use nls && myconf="${myconf} enable_nls=1" # ALSA test causes sandbox to break (even though configure still succeeds) addpredict /dev/snd emake ${myconf} || die } src_install () { exeinto /usr/lib/gkrellm2/plugins doexe src/gkrellmss.so dodoc README Changelog Themes }