add make podspec

This commit is contained in:
Danmei Chen 2018-05-21 15:31:27 +02:00
parent 36e1b6bd41
commit 51f1bdf203
2 changed files with 16 additions and 0 deletions

13
Tools/liblinphone.podspec Normal file
View file

@ -0,0 +1,13 @@
Pod::Spec.new do |s|
s.name = "liblinphone"
s.version = "FRAMEWORK_VERSION"
s.summary = "This is liblinphone, a free (GPL) video voip library based on the SIP protocol"
s.homepage = "https://github.com/BelledonneCommunications/linphone-iphone"
s.license = "GNU GPL 2"
s.author = "employees@belledonne-communications.com"
s.platform = :ios, "9.0"
s.source = { :http => "lhttps://www.linphone.org/releases/ios/liblinphone-iphone-sdk-FRAMEWORK_VERSION.zip" }
s.vendored_frameworks = "liblinphone-sdk/apple-darwin/Frameworks/**"
end

View file

@ -353,6 +353,9 @@ zipsdk: sdk
\t-x liblinphone-tutorials/hello-world/hello-world.xcodeproj/*.pbxuser \\
\t-x liblinphone-tutorials/hello-world/hello-world.xcodeproj/*.mode1v3
podspec: zipsdk
\tsed "s/FRAMEWORK_VERSION/$(LINPHONE_IPHONE_VERSION)/g" Tools/liblinphone.podspec > liblinphone.podspec
pull-transifex:
\ttx pull -af