# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Gustavo Sverzut Barbieri # $Header:$ inherit eutils DESCRIPTION="Libvisual is an abstraction library that comes between applications and audio visualisation plugins." SRC_URI="http://osdn.dl.sourceforge.net/sourceforge/libvisual/${P}.tar.gz" HOMEPAGE="http://libvisual.sourceforge.net/" LICENSE="LGPL-2.1 GPL-2" IUSE="pic static" SLOT="0" KEYWORDS="~x86" RDEPEND="media-sound/xmms media-libs/libsdl virtual/opengl =media-libs/libvisual-${PV}" DEPEND="${RDEPEND}" src_unpack() { unpack ${P}.tar.gz } src_compile() { local myconf="" use pic && myconf="${myconf} --with-pic" use static && myconf="${myconf} --enable-static" econf $myconf || die "configure failed" emake || die "make failed" } src_install() { make install DESTDIR=${D} }