8b2694efb7
* fix build for openssl 1.1.1b required for sdk (cherry picked from commit aa49e3b2755b97b6331cdbbb89efc954de8d5977) * use js code from master * fix openssl recipe and tweak build (cherry picked from commit 6e94c27021c7bd7b1e880c2fc314850e36a5a38e) * remove unused build recipes (cherry picked from commit f5c0577bdb175bfc0990602936bbc9e2052e1f25)
25 lines
654 B
Python
25 lines
654 B
Python
from pythonforandroid.recipe import CompiledComponentsPythonRecipe
|
|
|
|
|
|
class EvdevRecipe(CompiledComponentsPythonRecipe):
|
|
name = 'evdev'
|
|
version = 'v0.4.7'
|
|
url = 'https://github.com/gvalkov/python-evdev/archive/{version}.zip'
|
|
|
|
depends = []
|
|
|
|
build_cmd = 'build'
|
|
|
|
patches = ['evcnt.patch',
|
|
'keycnt.patch',
|
|
'remove-uinput.patch',
|
|
'include-dir.patch',
|
|
'evdev-permissions.patch']
|
|
|
|
def get_recipe_env(self, arch=None):
|
|
env = super(EvdevRecipe, self).get_recipe_env(arch)
|
|
env['NDKPLATFORM'] = self.ctx.ndk_platform
|
|
return env
|
|
|
|
|
|
recipe = EvdevRecipe()
|