New Photolibrary recipe for accessing gallery and camera

This commit is contained in:
akshayaurora 2015-07-27 20:46:20 +05:30
parent 9826a7cba0
commit 67a440561a

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()