*** xbmc-9.11-r3.ebuild 2010-05-11 21:37:03.000000000 +0100 --- xbmc-9.11-r4.ebuild 2010-05-11 21:49:16.000000000 +0100 *************** *** 1,10 **** # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 ! # $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9.11-r3.ebuild,v 1.3 2010/04/07 20:39:16 scarabeus Exp $ EAPI="2" ! inherit eutils # Use XBMC_ESVN_REPO_URI to track a different branch ESVN_REPO_URI=${XBMC_ESVN_REPO_URI:-http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk} --- 1,10 ---- # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 ! # $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9.11-r1.ebuild,v 1.3 2010/01/25 13:38:30 ssuominen Exp $ EAPI="2" ! inherit eutils python # Use XBMC_ESVN_REPO_URI to track a different branch ESVN_REPO_URI=${XBMC_ESVN_REPO_URI:-http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk} *************** *** 26,32 **** LICENSE="GPL-2" SLOT="0" ! IUSE="aac alsa altivec avahi css debug joystick midi profile pulseaudio sse sse2 vdpau xrandr" RDEPEND="virtual/opengl app-arch/bzip2 --- 26,32 ---- LICENSE="GPL-2" SLOT="0" ! IUSE="aac alsa altivec avahi css debug joystick midi profile pulseaudio sse sse2 tools vdpau xrandr" RDEPEND="virtual/opengl app-arch/bzip2 *************** *** 91,96 **** --- 91,98 ---- dev-util/cmake x86? ( dev-lang/nasm )" + PYTHON_DEPEND="tools? *" + src_unpack() { if [[ ${PV} == "9999" ]] ; then subversion_src_unpack *************** *** 193,198 **** --- 194,207 ---- dodoc README.linux known_issues.txt rm "${D}"/usr/share/xbmc/{README.linux,LICENSE.GPL,*.txt} + + if use tools; then + cd "tools/EventClients" + + insinto "${EPREFIX}$(python_get_sitedir)" + doins "lib/python/xbmcclient.py" || die + newbin "Clients/XBMC Send/xbmc-send.py" xbmc-send || die + fi } pkg_postinst() {