forked from nesterenkodm/pjsip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pjsip.podspec
61 lines (52 loc) · 4.13 KB
/
pjsip.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Pod::Spec.new do |s|
s.name = "pjsip"
s.version = "2.3.0.7"
s.summary = "Open Source SIP, Media and NAT Traversal Library."
s.homepage = "http://www.pjsip.org"
s.author = 'www.pjsip.org'
s.source = { :git => "https://github.com/chebur/pjsip.git", :tag => "#{s.version}" }
s.platform = :ios, '7.0'
s.description = <<-DESC
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. It combines signaling protocol (SIP) with rich multimedia framework and NAT traversal functionality into high level API that is portable and suitable for almost any type of systems ranging from desktops, embedded systems, to mobile handsets.
PJSIP is both compact and feature rich. It supports audio, video, presence, and instant messaging, and has extensive documentation. PJSIP is very portable. On mobile devices, it abstracts system dependent features and in many cases is able to utilize the native multimedia capabilities of the device.
PJSIP has been developed by a small team working exclusively for the project since 2005, with participation of hundreds of developers from around the world, and is routinely tested at SIP Interoperability Event (SIPit ) since 2007.
DESC
s.license = {
:type => 'Dual-License',
:text => <<-LICENSE
PJSIP source code ("The Software") is licensed under both General Public License (GPL) version 2 or later and a proprietary license that can be arranged with us. In practical sense, this means:
if you are developing Open Source Software (OSS) based on PJSIP, chances are you will be able to use PJSIP freely under GPL. But please double check here for OSS license compatibility with GPL.
Alternatively, if you are unable to release your application as Open Source Software, you may arrange alternative licensing with us. Just send your inquiry to [email protected] to discuss this option.
PJSIP may include third party software in its source code distribution. Third Party Software does not comprise part of "The Software". Please make sure that you comply with the licensing term of each software.
LICENSE
}
s.public_header_files = 'build/pjproject/src/pjsip/include/**',
'build/pjproject/src/pjlib/include/**',
'build/pjproject/src/pjlib-util/include/**',
'build/pjproject/src/pjnath/include/**',
'build/pjproject/src/pjmedia/include/**'
s.preserve_paths = 'build/pjproject/src/pjsip/include/**/*',
'build/pjproject/src/pjlib/include/**/*',
'build/pjproject/src/pjlib-util/include/**/*',
'build/pjproject/src/pjnath/include/**/*',
'build/pjproject/src/pjmedia/include/**/*'
s.vendored_libraries = 'build/openh264/lib/*.a',
'build/pjproject/src/pjsip/lib/*.a',
'build/pjproject/src/pjlib/lib/*.a',
'build/pjproject/src/pjlib-util/lib/*.a',
'build/pjproject/src/pjnath/lib/*.a',
'build/pjproject/src/pjmedia/lib/*.a',
'build/pjproject/src/third_party/lib/*.a'
header_search_paths = '"$(PODS_ROOT)/pjsip/build/pjproject/src/pjsip/include"',
'"$(PODS_ROOT)/pjsip/build/pjproject/src/pjlib/include"',
'"$(PODS_ROOT)/pjsip/build/pjproject/src/pjlib-util/include"',
'"$(PODS_ROOT)/pjsip/build/pjproject/src/pjnath/include"',
'"$(PODS_ROOT)/pjsip/build/pjproject/src/pjmedia/include"'
s.xcconfig = {'HEADER_SEARCH_PATHS' => header_search_paths.join(' '),
'GCC_PREPROCESSOR_DEFINITIONS' => 'PJ_AUTOCONF=1'}
s.dependency 'OpenSSL-Universal', '1.0.1.l'
s.frameworks = 'CFNetwork', 'AudioToolbox', 'AVFoundation', 'CoreMedia'
s.libraries = 'stdc++'
s.header_mappings_dir = 'build/pjproject-2.3'
s.requires_arc = false
end