From 67a440561ad1152fadee52c44478aa3e05a48d3f Mon Sep 17 00:00:00 2001 From: akshayaurora <akshayaurora@gmail.com> Date: Mon, 27 Jul 2015 20:46:20 +0530 Subject: [PATCH] New Photolibrary recipe for accessing gallery and camera --- recipes/photolibrary/__init__.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/photolibrary/__init__.py diff --git a/recipes/photolibrary/__init__.py b/recipes/photolibrary/__init__.py new file mode 100644 index 0000000..4b8dd17 --- /dev/null +++ b/recipes/photolibrary/__init__.py @@ -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() + +