# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Nonofficial ebuild by Ycarus, additions by Oliver Schneider and Matthias Kuhn. For new version look here : http://gentoo.zugaina.org/ IUSE="" inherit eutils DESCRIPTION="A GTK+ 2.6 based XMMS2 client" SRC_URI="http://wej.k.vu/files/${P}.tar.gz" HOMEPAGE="http://wej.k.vu/projects/xmms2/" LICENSE="GPL-2" SLOT="0" RESTRICT="nomirror" KEYWORDS="~amd64 ~ppc ~sparc x86 ~hppa ~mips ~ppc64 ~alpha ~ia64" IUSE="gkrellm" RDEPEND=">=x11-libs/gtk+-2.6 >=media-sound/xmms2-0.2.6 gkrellm? ( app-admin/gkrellm )" src_compile() { sed -i -e "s/\/usr\/local\/bin/\/usr\/bin/g" Makefile if use gkrellm; then emake all || die "make failed" else emake gxmms2 || die "make failed" fi } src_install() { dodir /usr/bin exeinto /usr/bin doexe gxmms2 if use gkrellm; then CONF_LIBDIR=/lib/gkrellm2/plugins/ dolib gkrellxmms2.so #insinto /lib/gkrellm2/plugins/ #dolib gkrellxmms2.so fi }