Merge pull request #154 from kivy/photolibrary

New Photolibrary recipe for accessing gallery and camera
This commit is contained in:
Mathieu Virbel 2015-11-16 15:23:42 +01:00
commit 20e30b1668

View file

@ -0,0 +1,16 @@
from toolchain import CythonRecipe
class PhotoRecipe(CythonRecipe):
version = "master"
url = "https://github.com/akshayaurora/photolibrary/archive/master.zip"
library = "libphotolibrary.a"
depends = ["python"]
pbx_frameworks = ["UIKit", "Photos", "MobileCoreServices"]
def install(self):
self.install_python_package(name="photolibrary.so", is_dir=False)
recipe = PhotoRecipe()