Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes audiostream recipe on Python3 #1495

Merged
merged 2 commits into from
Dec 1, 2018
Merged

Fixes audiostream recipe on Python3 #1495

merged 2 commits into from
Dec 1, 2018

Conversation

misl6
Copy link
Member

@misl6 misl6 commented Nov 29, 2018

This PR adds python3 support to audiostream recipe.
Before merging we need to merge kivy/audiostream#24 .

@misl6
Copy link
Member Author

misl6 commented Nov 29, 2018

With kivy/audiostream#24 that is been merged, now for me it's ok to merge also this recipe.


env['CFLAGS'] += ' -I{jni_path}/{sdl_include}/include -I{jni_path}/{sdl_mixer_include}'.format(
jni_path=join(self.ctx.bootstrap.build_dir, 'jni'),
sdl_include=sdl_include,
sdl_mixer_include=sdl_mixer_include)
env['NDKPLATFORM'] = self.ctx.ndk_platform
env['LIBLINK'] = 'NOTNONE'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you tell us about that line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Audiostream setup.py checks for env variable 'LIBLINK' in order to set android as build target.

AndreMiras
AndreMiras previously approved these changes Nov 30, 2018
Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!
It's already an improvement over what we had before so I'm in for the merge.
Can you simply address that minor question regarding the LIBLINK environment variable?
If some code comment could help future maintainer to understand why is this, feel free to add it 😉

@KeyWeeUsr
Copy link
Contributor

@AndreMiras https://github.com/kivy/audiostream/blob/d42315ed8d870c6b23dae13841215cddc3ca3dc6/setup.py#L12

@AndreMiras AndreMiras merged commit c06cf52 into kivy:master Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants