# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="XMMS2 is a redesign of the XMMS music player." HOMEPAGE="http://wiki.xmms2.xmms.se/" MY_P="xmms2-0.1DR1.1" SRC_URI="mirror://sourceforge/xmms2/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="curl ogg sid python ruby" DEPEND=">=dev-util/scons-0.94 >=dev-lang/python-2.2.1 >=dev-libs/glib-2.2.0 media-sound/madplay =dev-db/sqlite-3.2* curl? ( >=net-misc/curl-7.11.2 ) ogg? ( media-libs/libvorbis ) sid? ( media-sound/sidplay ) sid? ( media-libs/resid ) python? ( dev-python/pyrex ) ruby? ( >=dev-lang/ruby-1.8 )" RDEPEND="" S=${WORKDIR}/${MY_P} src_unpack () { unpack ${A} } src_compile () { cd ${S} scons \ || die "scons failed" } src_install () { cd ${S} scons PREFIX=/usr/ MANDIR=/usr/share/man INSTALLDIR=${D} install \ || die dodoc AUTHORS COPYING ChangeLog README scons -c ewarn "This is xmms2-0.1 Developer Release 1.1" }