Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions pythonforandroid/recipes/materialyoucolor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
from pythonforandroid.recipe import PyProjectRecipe


class MaterialyoucolorRecipe(CppCompiledComponentsPythonRecipe):
class MaterialyoucolorRecipe(PyProjectRecipe):
stl_lib_name = "c++_shared"
version = "2.0.9"
version = "2.0.10"
url = "https://github.com/T-Dynamos/materialyoucolor-python/releases/download/v{version}/materialyoucolor-{version}.tar.gz"
depends = ["setuptools"]

def get_recipe_env(self, arch, **kwargs):
env = super().get_recipe_env(arch, **kwargs)
env['LDCXXSHARED'] = env['CXX'] + ' -shared'
return env


recipe = MaterialyoucolorRecipe()
Loading