Merge pull request #154 from kivy/photolibrary
New Photolibrary recipe for accessing gallery and camera
This commit is contained in:
commit
20e30b1668
1 changed files with 16 additions and 0 deletions
16
recipes/photolibrary/__init__.py
Normal file
16
recipes/photolibrary/__init__.py
Normal 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()
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue