[Add] SindarinSwiftSDK 1.0.0
[CocoaPods.git] / Specs / c / b / 1 / Tor / 407.14.1 / Tor.podspec.json
blobd45a9bdc8898ccbc83a571229b27fd96ffe9c423
2   "name": "Tor",
3   "version": "407.14.1",
4   "summary": "Tor.framework is the easiest way to embed Tor in your iOS application.",
5   "description": "Tor.framework is the easiest way to embed Tor in your iOS application. Currently, the framework compiles in static versions of tor, libevent, openssl, and liblzma.",
6   "homepage": "https://github.com/iCepa/Tor.framework",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Conrad Kramer": "conrad@conradkramer.com",
13     "Chris Ballinger": "chris@chatsecure.org",
14     "Mike Tigas": "mike@tig.as",
15     "Benjamin Erhart": "berhart@netzarchitekten.com"
16   },
17   "source": {
18     "git": "https://github.com/iCepa/Tor.framework.git",
19     "branch": "pure_pod",
20     "tag": "v407.14.1",
21     "submodules": true
22   },
23   "social_media_url": "https://twitter.com/tladesignz",
24   "platforms": {
25     "ios": "11.0",
26     "osx": "10.13"
27   },
28   "default_subspecs": "CTor",
29   "subspecs": [
30     {
31       "name": "Core",
32       "requires_arc": true,
33       "source_files": "Tor/Classes/Core/**/*"
34     },
35     {
36       "name": "CTor",
37       "dependencies": {
38         "Tor/Core": [
40         ]
41       },
42       "source_files": "Tor/Classes/CTor/**/*",
43       "pod_target_xcconfig": {
44         "HEADER_SEARCH_PATHS": "$(inherited) \"${PODS_TARGET_SRCROOT}/Tor/tor\" \"${PODS_TARGET_SRCROOT}/Tor/tor/src\" \"${PODS_TARGET_SRCROOT}/Tor/openssl/include\" \"${BUILT_PRODUCTS_DIR}/openssl\" \"${PODS_TARGET_SRCROOT}/Tor/libevent/include\"",
45         "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor\" -l\"z\" -l\"lzma\" -l\"crypto\" -l\"ssl\" -l\"event_core\" -l\"event_extra\" -l\"event_pthreads\" -l\"event\" -l\"tor\""
46       },
47       "ios": {
48         "pod_target_xcconfig": {
49           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-iOS\""
50         }
51       },
52       "osx": {
53         "pod_target_xcconfig": {
54           "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor-macOS\""
55         }
56       },
57       "script_phases": [
58         {
59           "name": "Build XZ",
60           "execution_position": "before_compile",
61           "output_files": [
62             "xz-always-execute-this-but-supress-warning"
63           ],
64           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/xz\"\n../xz.sh\n"
65         },
66         {
67           "name": "Build OpenSSL",
68           "execution_position": "before_compile",
69           "output_files": [
70             "openssl-always-execute-this-but-supress-warning"
71           ],
72           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/openssl\"\n../openssl.sh\n"
73         },
74         {
75           "name": "Build libevent",
76           "execution_position": "before_compile",
77           "output_files": [
78             "libevent-always-execute-this-but-supress-warning"
79           ],
80           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/libevent\"\n../libevent.sh\n"
81         },
82         {
83           "name": "Build Tor",
84           "execution_position": "before_compile",
85           "output_files": [
86             "tor-always-execute-this-but-supress-warning"
87           ],
88           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/tor\"\n../tor.sh\n"
89         }
90       ],
91       "preserve_paths": [
92         "Tor/include",
93         "Tor/libevent",
94         "Tor/libevent.sh",
95         "Tor/openssl",
96         "Tor/openssl.sh",
97         "Tor/tor",
98         "Tor/tor.sh",
99         "Tor/xz",
100         "Tor/xz.sh"
101       ]
102     },
103     {
104       "name": "GeoIP",
105       "dependencies": {
106         "Tor/CTor": [
108         ]
109       },
110       "resource_bundles": {
111         "GeoIP": [
112           "Tor/tor/src/config/geoip",
113           "Tor/tor/src/config/geoip6"
114         ]
115       }
116     },
117     {
118       "name": "Arti",
119       "dependencies": {
120         "Tor/Core": [
122         ]
123       },
124       "source_files": "Tor/Classes/Arti/**/*",
125       "pod_target_xcconfig": {
126         "HEADER_SEARCH_PATHS": "$(inherited) \"${PODS_TARGET_SRCROOT}/Tor/arti/common\"",
127         "OTHER_LDFLAGS": "$(inherited) -L\"${BUILT_PRODUCTS_DIR}/Tor\" -l\"arti_mobile_ex\""
128       },
129       "user_target_xcconfig": {
130         "GCC_PREPROCESSOR_DEFINITIONS": "USE_ARTI=1",
131         "SWIFT_ACTIVE_COMPILATION_CONDITIONS": "$(inherited) USE_ARTI"
132       },
133       "script_phases": [
134         {
135           "name": "Build Arti",
136           "execution_position": "before_compile",
137           "output_files": [
138             "arti-always-execute-this-but-supress-warning"
139           ],
140           "script": "cd \"${PODS_TARGET_SRCROOT}/Tor/arti\"\n../arti.sh\n"
141         }
142       ],
143       "preserve_paths": [
144         "Tor/arti",
145         "Tor/arti.sh"
146       ]
147     }
148   ]