Skip to content

Commit 1c413d1

Browse files
authored
materialyoucolor: shift to PPR (#3251)
1 parent 4536b72 commit 1c413d1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
1+
from pythonforandroid.recipe import PyProjectRecipe
22

33

4-
class MaterialyoucolorRecipe(CppCompiledComponentsPythonRecipe):
4+
class MaterialyoucolorRecipe(PyProjectRecipe):
55
stl_lib_name = "c++_shared"
6-
version = "2.0.9"
6+
version = "2.0.10"
77
url = "https://github.com/T-Dynamos/materialyoucolor-python/releases/download/v{version}/materialyoucolor-{version}.tar.gz"
8-
depends = ["setuptools"]
8+
9+
def get_recipe_env(self, arch, **kwargs):
10+
env = super().get_recipe_env(arch, **kwargs)
11+
env['LDCXXSHARED'] = env['CXX'] + ' -shared'
12+
return env
913

1014

1115
recipe = MaterialyoucolorRecipe()

0 commit comments

Comments
 (0)