forked from svga/SVGAPlayer-iOS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SVGAPlayer.podspec
33 lines (31 loc) · 1.27 KB
/
SVGAPlayer.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
Pod::Spec.new do |s|
s.name = "SVGAPlayer"
s.version = "2.5.9"
s.summary = "SVGAPlayer 是一个高性能的动画播放器"
s.description = <<-DESC
SVGA 是一种全新的动画格式,由 YY UED 团队主导开发;
SVGA 让动画开发分工明确,大大减少动画交互的沟通成本,提升开发效率;
SVGA 可以在 iOS / Android / Web / Flutter 实现高性能的动画播放。
DESC
s.homepage = "http://code.yy.com/ued/SVGAPlayer"
s.license = "Apache 2.0"
s.author = { "PonyCui" => "[email protected]" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/pianxian/SVGAPlayer-iOS.git", :tag => s.version }
s.subspec 'Core' do |ss|
ss.source_files = "Source/*.{h,m}"
ss.requires_arc = true
ss.dependency 'SSZipArchive','>=1.8.1'
ss.library = "z"
ss.framework = "AVFoundation"
ss.dependency 'SVGAPlayer/ProtoFiles'
end
s.subspec 'ProtoFiles' do |ss|
ss.source_files = "Source/pbobjc/*.{h,m}"
ss.requires_arc = false
ss.dependency 'Protobuf'
ss.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1',
}
end
end