# Copyright 1999-2004 by Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="psf plugin for xmms" HOMEPAGE="http://xodnizel.net/sexypsf/" SRC_URI="http://xodnizel.net/sexypsf/sexypsf045.tar.gz" LICENSE="GPL-2" SLOT="0" # Works well for me, but I have not tested it. # It should also be noted that the ebuild itself works on ppc, and # appears to work on all architectures, but I can't test that. KEYWORDS="~x86" IUSE="xmms" DEPEND="x11-libs/gtk+ xmms? ( media-sound/xmms )" src_unpack () { cd ${WORKDIR}; unpack ${A}; cd ${PN}; epatch ${FILESDIR}/gentoo-${PVR}.patch; } src_compile () { cd ${WORKDIR}/${PN} cd Linux; emake || die; cd ..; if use xmms; then cd xmms; emake || die; cd ..; fi; } src_install () { cd ${WORKDIR}/${PN}; dobin Linux/sexypsf; if use xmms; then insinto `xmms-config --input-plugin-dir`; cd xmms; doins libsexypsf.so || die; cd ..; fi; dodoc Docs/*; }