add linux_mipsel by inpos
parent
c8c8f50eea
commit
d9e2de3c06
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<addon id='script.module.libtorrent' version='1.0.9f' name='python-libtorrent' provider-name='DiMartino, srg70, RussakHH, aisman, inpos'>
|
||||
<addon id='script.module.libtorrent' version='1.0.9g' name='python-libtorrent' provider-name='DiMartino, srg70, RussakHH, aisman, inpos'>
|
||||
<requires>
|
||||
<import addon='xbmc.python' version='2.1.0'/>
|
||||
</requires>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
1.0.9:
|
||||
Added 1.0.9 for Android, Mac, iOS, Unix ARM & mipsel
|
||||
Added 1.0.9 for Android, Mac, iOS, Unix ARM & mipsel (UCS2, UCS4)
|
||||
Added 1.0.9 for Windows, Unix x86 & amd64
|
||||
|
||||
1.0.8:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
4596396
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
'''
|
||||
python-libtorrent for Kodi (script.module.libtorrent)
|
||||
Copyright (C) 2015-2016 DiMartino, srg70, RussakHH, aisman
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
'''
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
'''
|
||||
python-libtorrent for Kodi (script.module.libtorrent)
|
||||
Copyright (C) 2015-2016 DiMartino, srg70, RussakHH, aisman
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
'''
|
|
@ -48,7 +48,8 @@ def log(msg):
|
|||
def get_libname(platform):
|
||||
libname=[]
|
||||
if platform['system'] in ['darwin', 'linux_x86', 'linux_arm', 'linux_armv6',
|
||||
'linux_armv7', 'linux_x86_64', 'ios_arm', 'linux_mips']:
|
||||
'linux_armv7', 'linux_x86_64', 'ios_arm',
|
||||
'linux_mipsel_ucs2', 'linux_mipsel_ucs4']:
|
||||
libname=['libtorrent.so']
|
||||
elif platform['system'] == 'windows':
|
||||
libname=['libtorrent.pyd']
|
||||
|
@ -100,7 +101,10 @@ def get_platform():
|
|||
ret["arch"] = "arm"
|
||||
elif system==10:
|
||||
ret["os"] = "linux"
|
||||
ret["arch"] = "mips"
|
||||
ret["arch"] = "mipsel_ucs2"
|
||||
elif system==11:
|
||||
ret["os"] = "linux"
|
||||
ret["arch"] = "mipsel_ucs4"
|
||||
else:
|
||||
|
||||
ret = {
|
||||
|
@ -121,7 +125,10 @@ def get_platform():
|
|||
else:
|
||||
ret["arch"] = "arm"
|
||||
elif "mips" in uname:
|
||||
ret["arch"] = "mips"
|
||||
if sys.maxunicode > 65536:
|
||||
ret["arch"] = 'mipsel_ucs4'
|
||||
else:
|
||||
ret["arch"] = 'mipsel_ucs2'
|
||||
elif xbmc.getCondVisibility("system.platform.windows"):
|
||||
ret["os"] = "windows"
|
||||
elif xbmc.getCondVisibility("system.platform.osx"):
|
||||
|
|
|
@ -92,7 +92,7 @@ if platform['system'] not in ['windows']:
|
|||
|
||||
try:
|
||||
if platform['system'] in ['linux_x86', 'windows', 'linux_armv6', 'linux_armv7',
|
||||
'linux_x86_64', 'linux_mips']:
|
||||
'linux_x86_64', 'linux_mipsel_ucs2', 'linux_mipsel_ucs4']:
|
||||
import libtorrent
|
||||
elif platform['system'] in ['darwin', 'ios_arm']:
|
||||
import imp
|
||||
|
|
|
@ -48,7 +48,8 @@ def log(msg):
|
|||
def get_libname(platform):
|
||||
libname=[]
|
||||
if platform['system'] in ['darwin', 'linux_x86', 'linux_arm', 'linux_armv6',
|
||||
'linux_armv7', 'linux_x86_64', 'ios_arm', 'linux_mips']:
|
||||
'linux_armv7', 'linux_x86_64', 'ios_arm',
|
||||
'linux_mipsel_ucs2', 'linux_mipsel_ucs4']:
|
||||
libname=['libtorrent.so']
|
||||
elif platform['system'] == 'windows':
|
||||
libname=['libtorrent.pyd']
|
||||
|
@ -100,7 +101,10 @@ def get_platform():
|
|||
ret["arch"] = "arm"
|
||||
elif system==10:
|
||||
ret["os"] = "linux"
|
||||
ret["arch"] = "mips"
|
||||
ret["arch"] = "mipsel_ucs2"
|
||||
elif system==11:
|
||||
ret["os"] = "linux"
|
||||
ret["arch"] = "mipsel_ucs4"
|
||||
else:
|
||||
|
||||
ret = {
|
||||
|
@ -121,7 +125,10 @@ def get_platform():
|
|||
else:
|
||||
ret["arch"] = "arm"
|
||||
elif "mips" in uname:
|
||||
ret["arch"] = "mips"
|
||||
if sys.maxunicode > 65536:
|
||||
ret["arch"] = 'mipsel_ucs4'
|
||||
else:
|
||||
ret["arch"] = 'mipsel_ucs2'
|
||||
elif xbmc.getCondVisibility("system.platform.windows"):
|
||||
ret["os"] = "windows"
|
||||
elif xbmc.getCondVisibility("system.platform.osx"):
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
<string id="1107">OS X</string>
|
||||
<string id="1108">Apple TV2</string>
|
||||
<string id="1109">iOS</string>
|
||||
<string id="1110">Linux MIPS</string>
|
||||
<string id="1110">Linux MIPSEL (UCS2)</string>
|
||||
<string id="1111">Linux MIPSEL (UCS4)</string>
|
||||
|
||||
<string id="1150">0.16.19</string>
|
||||
<string id="1151">1.0.6</string>
|
||||
|
|
Loading…
Reference in New Issue