forked from ibireme/YYImage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
YYImage.podspec
36 lines (31 loc) · 1.23 KB
/
YYImage.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
Pod::Spec.new do |s|
s.name = 'YYImage'
s.summary = 'Image framework for iOS to display/encode/decode animated WebP, APNG, GIF, and more.'
s.version = '1.0.4'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'ibireme' => '[email protected]' }
s.social_media_url = 'http://blog.ibireme.com'
s.homepage = 'https://github.com/ibireme/YYImage'
s.platform = :ios, '6.0'
s.ios.deployment_target = '6.0'
s.source = { :git => 'https://github.com/ibireme/YYImage.git', :tag => s.version.to_s }
s.requires_arc = true
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'YYImage/*.{h,m}'
core.public_header_files = 'YYImage/*.{h}'
core.libraries = 'z'
core.frameworks = 'UIKit', 'CoreFoundation', 'QuartzCore', 'AssetsLibrary', 'ImageIO', 'Accelerate', 'MobileCoreServices'
end
s.subspec 'WebP' do |webp|
webp.dependency 'YYImage/Core'
webp.ios.vendored_frameworks = 'Vendor/WebP.framework'
end
s.subspec 'libwebp' do |libwebp|
libwebp.dependency 'YYImage/Core'
libwebp.dependency 'libwebp'
libwebp.xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
end
end