# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils subversion ESVN_REPO_URI="https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC" DESCRIPTION="XBMC is a free and open source media-player and entertainment hub" HOMEPAGE="http://xbmc.org/" #SRC_URI="mirror://sourceforge/xbmc/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="debug mms pcre xrandr" RDEPEND=">=dev-lang/python-2.4 dev-libs/fribidi pcre? ( dev-libs/libpcre ) dev-libs/lzo dev-libs/tre =dev-python/pysqlite-2* media-libs/alsa-lib media-libs/freetype media-libs/glew media-libs/jasper media-libs/libmad mms? ( media-libs/libmms ) media-libs/libogg media-libs/libvorbis media-libs/sdl-gfx media-libs/sdl-image media-libs/sdl-mixer media-libs/sdl-sound net-fs/samba net-misc/curl sys-apps/dbus sys-apps/hal sys-apps/pmount x11-libs/libXinerama xrandr? ( x11-libs/libXrandr ) x11-libs/libXrender x11-proto/xineramaproto virtual/mysql" DEPEND="${RDEPEND}" src_unpack() { subversion_src_unpack } src_compile() { econf \ --prefix=/usr \ $(use_enable debug) \ $(use_enable mms) \ $(use_enable pcre) \ $(use_enable xrandr) \ || die "Configure failed!" emake || die "Make failed!" } src_install() { emake DESTDIR="${D}" install || die "Install failed!" }