android x86
This commit is contained in:
		
							parent
							
								
									1495a0f975
								
							
						
					
					
						commit
						b1c3d29031
					
				@ -1,5 +1,5 @@
 | 
				
			|||||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
 | 
					<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
 | 
				
			||||||
<addon id='script.module.libtorrent' version='0.6.19b' name='LibTorrent' provider-name='DiMartino'>
 | 
					<addon id='script.module.libtorrent' version='0.6.19c' name='LibTorrent' provider-name='DiMartino'>
 | 
				
			||||||
  <requires>
 | 
					  <requires>
 | 
				
			||||||
    <import addon='xbmc.python' version='2.1.0'/>
 | 
					    <import addon='xbmc.python' version='2.1.0'/>
 | 
				
			||||||
  </requires>
 | 
					  </requires>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,7 @@
 | 
				
			|||||||
0.6.19b:
 | 
					0.6.19c:
 | 
				
			||||||
 | 
					Added Android x86 0.16.19
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					0.6.19b:
 | 
				
			||||||
Added windows 0.16.19, OS X 0.16.19, Android ARM 0.16.19
 | 
					Added windows 0.16.19, OS X 0.16.19, Android ARM 0.16.19
 | 
				
			||||||
Automatic download system
 | 
					Automatic download system
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -17,7 +17,7 @@ def get_libname(platform):
 | 
				
			|||||||
        libname=['libtorrent.so']
 | 
					        libname=['libtorrent.so']
 | 
				
			||||||
    elif platform['system'] == 'windows':
 | 
					    elif platform['system'] == 'windows':
 | 
				
			||||||
        libname=['libtorrent.pyd']
 | 
					        libname=['libtorrent.pyd']
 | 
				
			||||||
    elif platform['system'] == 'android_armv7':
 | 
					    elif platform['system'] in ['android_armv7','android_x86']:
 | 
				
			||||||
        libname=['libtorrent.so', 'liblibtorrent.so']
 | 
					        libname=['libtorrent.so', 'liblibtorrent.so']
 | 
				
			||||||
    return libname
 | 
					    return libname
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -34,7 +34,7 @@ log('platform ' + str(platform))
 | 
				
			|||||||
try:
 | 
					try:
 | 
				
			||||||
    if platform['system'] in ['darwin', 'linux_x86', 'linux_x86_64', 'windows']:
 | 
					    if platform['system'] in ['darwin', 'linux_x86', 'linux_x86_64', 'windows']:
 | 
				
			||||||
        import libtorrent
 | 
					        import libtorrent
 | 
				
			||||||
    elif platform['system'] == 'android_armv7':
 | 
					    elif platform['system'] in ['android_armv7', 'android_x86']:
 | 
				
			||||||
        import imp
 | 
					        import imp
 | 
				
			||||||
        from ctypes import *
 | 
					        from ctypes import *
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										5
									
								
								python_libtorrent/android_x86/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								python_libtorrent/android_x86/__init__.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					#-*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					'''
 | 
				
			||||||
 | 
					    Torrenter v2 plugin for XBMC/Kodi
 | 
				
			||||||
 | 
					    Copyright (C) 2015 srg70, RussakHH, DiMartino
 | 
				
			||||||
 | 
					'''
 | 
				
			||||||
							
								
								
									
										1
									
								
								python_libtorrent/android_x86/libtorrent.so.size.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								python_libtorrent/android_x86/libtorrent.so.size.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					7145572
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								python_libtorrent/android_x86/libtorrent.so.zip
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								python_libtorrent/android_x86/libtorrent.so.zip
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@ -14,7 +14,8 @@ class Public:
 | 
				
			|||||||
                        {'system':'linux_x86'},
 | 
					                        {'system':'linux_x86'},
 | 
				
			||||||
                        {'system':'linux_x86_64'},
 | 
					                        {'system':'linux_x86_64'},
 | 
				
			||||||
                        {'system':'windows'},
 | 
					                        {'system':'windows'},
 | 
				
			||||||
                        {'system':'android_armv7'}]
 | 
					                        {'system':'android_armv7'},
 | 
				
			||||||
 | 
					                        {'system':'android_x86'}]
 | 
				
			||||||
        self.root=os.path.dirname(__file__)
 | 
					        self.root=os.path.dirname(__file__)
 | 
				
			||||||
        self._generate_size_file()
 | 
					        self._generate_size_file()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user