| { |
| "name": "OLMKit", |
| "version": "2.2.1", |
| "summary": "An Objective-C wrapper of olm (http://matrix.org/git/olm)", |
| "description": "olm is an implementation of the Double Ratchet cryptographic ratchet in C++", |
| "homepage": "http://matrix.org/git/olm", |
| "license": { |
| "type": "Apache License, Version 2.0", |
| "file": "LICENSE" |
| }, |
| "authors": { |
| "Chris Ballinger": "chrisballinger@gmail.com", |
| "matrix.org": "support@matrix.org" |
| }, |
| "platforms": { |
| "ios": "5.0", |
| "osx": "10.9" |
| }, |
| "public_header_files": "xcode/OLMKit/*.h", |
| "source": { |
| "git": "https://matrix.org/git/olm.git", |
| "tag": "2.2.1" |
| }, |
| "source_files": [ |
| "xcode/OLMKit/*.{h,m}", |
| "include/**/*.{h,hh}", |
| "src/*.{c,cpp}", |
| "lib/crypto-algorithms/sha256.c", |
| "lib/crypto-algorithms/aes.c", |
| "lib/curve25519-donna/curve25519-donna.c" |
| ], |
| "private_header_files": "xcode/OLMKit/*_Private.h", |
| "preserve_paths": "lib/ed25519/**/*.{h,c}", |
| "libraries": "c++", |
| "compiler_flags": "-g -O3 -DOLMLIB_VERSION_MAJOR=2 -DOLMLIB_VERSION_MINOR=2 -DOLMLIB_VERSION_PATCH=1", |
| "xcconfig": { |
| "USER_HEADER_SEARCH_PATHS": "${PODS_ROOT}/OLMKit/include ${PODS_ROOT}/OLMKit/lib ./include ./lib" |
| }, |
| "subspecs": [ |
| { |
| "name": "olmc", |
| "source_files": [ |
| "src/*.{c}", |
| "lib/curve25519-donna.h", |
| "lib/crypto-algorithms/sha256.{h,c}", |
| "lib/crypto-algorithms/aes.{h,c}", |
| "lib/curve25519-donna/curve25519-donna.c" |
| ], |
| "compiler_flags": "-std=c99 -fPIC" |
| }, |
| { |
| "name": "olmcpp", |
| "source_files": "src/*.{cpp}", |
| "compiler_flags": "-std=c++11 -fPIC" |
| } |
| ] |
| } |