xbmc-wiimote: rebuild with xbmc.python API 2.0, source /etc/profile in scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-12-01 18:05:06 +01:00
parent e003e9ce5f
commit 1a8b872b5f
4 changed files with 17 additions and 4 deletions

View File

@ -1,2 +1,5 @@
1.90.1
- depends on xbmc.python API 2.0
1.90.0
- initial version xbmc-wiimote

View File

@ -20,7 +20,7 @@
PKG_NAME="xbmc-wiimote"
PKG_VERSION="1.90"
PKG_REV="0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.xbmc.org"

View File

@ -20,11 +20,12 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. /etc/profile
# Addon settings
ADDON_DIR="$HOME/.xbmc/addons/driver.remote.xbmc-wiimote"
ADDON_HOME="$HOME/.xbmc/userdata/addon_data/driver.remote.xbmc-wiimote"
################################################################################
# start ps3d
################################################################################

View File

@ -18,6 +18,15 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
import xbmc, time, os, subprocess
import os
import sys
import xbmcaddon
os.system("wiimote.service")
__scriptname__ = "WiiMote driver"
__author__ = "OpenELEC"
__url__ = "http://www.openelec.tv"
__settings__ = xbmcaddon.Addon(id='driver.remote.xbmc-wiimote')
__cwd__ = __settings__.getAddonInfo('path')
__path__ = xbmc.translatePath( os.path.join( __cwd__, 'bin', "wiimote.service") )
os.system(__path__)