[Add] ZJSDK 2.5.7.5
[CocoaPods.git] / Specs / a / b / f / Vialer-pjsip-iOS / 3.3.4 / Vialer-pjsip-iOS.podspec.json
blobbe56a7993d4f3a2f2d341f08adc71bf604d538ba
2   "name": "Vialer-pjsip-iOS",
3   "version": "3.3.4",
4   "summary": "PJSIP 2.7.1 for iOS",
5   "description": "Pod for distributing PJSIP 2.7.1 wrapped in a framework. With Opus, OpenSSL and openh264.",
6   "homepage": "https://www.wearespindle.com",
7   "license": {
8     "type": "GNU GPLv3",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Devhouse Spindle": "vialersiplib@wearespindle.com"
13   },
14   "source": {
15     "git": "https://github.com/VoIPGRID/Vialer-pjsip-iOS.git",
16     "tag": "3.3.4"
17   },
18   "social_media_url": "https://twitter.com/wearespindle",
19   "platforms": {
20     "ios": "9.0"
21   },
22   "requires_arc": false,
23   "preserve_paths": "VialerPJSIP.framework/*",
24   "public_header_files": "VialerPJSIP.framework/Versions/A/Headers/**/*.{h,hpp}",
25   "source_files": "VialerPJSIP.framework/Versions/A/Headers/**/*.{h,hpp}",
26   "vendored_frameworks": "VialerPJSIP.framework",
27   "libraries": "stdc++",
28   "frameworks": [
29     "AudioToolbox",
30     "AVFoundation",
31     "CFNetwork",
32     "CoreMedia"
33   ],
34   "script_phases": {
35     "name": "Combine VialerPJSIP library in one file",
36     "execution_position": "after_compile",
37     "script": "\n\t\tBINARY_FILENAME=VialerPJSIP\n\t\tSPLIT_FILENAME_PREFIX=${BINARY_FILENAME}_Split\n\t\tVIALERPJSIP_FRAMEWORK_DIR=${SRCROOT}/Vialer-pjsip-iOS/VialerPJSIP.framework/Versions/Current\n\t\tVIALERPJSIP_FRAMEWORK_FILE=$VIALERPJSIP_FRAMEWORK_DIR/$BINARY_FILENAME\n\t\t\n\t\tminimumsize=50000000\n\t\tactualsize=$(wc -c <\"${VIALERPJSIP_FRAMEWORK_FILE}\")\n\t\t\n\t\tif [[ -f \"${VIALERPJSIP_FRAMEWORK_FILE}\" && $actualsize -ge $minimumsize ]]; then\n\t\t\techo \"The library is already combined\"\n\t\telse\n\t\t\tcd ${VIALERPJSIP_FRAMEWORK_DIR}\n\t\t\t#  But we have chunks! ...Probably\n\t\t\tif [ -f ${SPLIT_FILENAME_PREFIX}_aa ]; then\n\t\t\t\techo \"Creating file from smaller files with ${SPLIT_FILENAME_PREFIX} prefix\"\n\t\t\t\tcat ${SPLIT_FILENAME_PREFIX}_* > ${BINARY_FILENAME}\n\t\t\t    rm ${SPLIT_FILENAME_PREFIX}_*\n\t\t\tfi\n\t\tfi\t\t\n\t\t"
38   },
39   "xcconfig": {
40     "GCC_PREPROCESSOR_DEFINITIONS": "PJ_AUTOCONF=1"
41   }