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

18 lines
453 B
Python
Raw Normal View History

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