lbry-android-sdk/p4a/pythonforandroid/recipes/sdl2_mixer/__init__.py

18 lines
453 B
Python
Raw Normal View History

2022-12-02 21:15:34 +01:00
import os
from pythonforandroid.recipe import BootstrapNDKRecipe
2017-08-13 03:24:00 +02:00
class LibSDL2Mixer(BootstrapNDKRecipe):
2022-12-02 21:15:34 +01:00
version = '2.6.2'
url = 'https://github.com/libsdl-org/SDL_mixer/releases/download/release-{version}/SDL2_mixer-{version}.tar.gz'
2017-08-13 03:24:00 +02:00
dir_name = 'SDL2_mixer'
2022-12-02 21:15:34 +01:00
def get_include_dirs(self, arch):
return [
os.path.join(self.ctx.bootstrap.build_dir, "jni", "SDL2_mixer", "include")
]
2017-08-13 03:24:00 +02:00
2017-08-13 03:24:00 +02:00
recipe = LibSDL2Mixer()