-
Notifications
You must be signed in to change notification settings - Fork 86
/
SDWebImageWebPCoder.podspec
36 lines (31 loc) · 1.42 KB
/
SDWebImageWebPCoder.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 = 'SDWebImageWebPCoder'
s.version = '0.14.6'
s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.'
s.description = <<-DESC
This is a SDWebImage coder plugin to support WebP image.
DESC
s.homepage = 'https://github.com/SDWebImage/SDWebImageWebPCoder'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Bogdan Poplauschi' => '[email protected]' }
s.source = { :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.module_map = 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.modulemap'
s.source_files = 'SDWebImageWebPCoder/Classes/**/*', 'SDWebImageWebPCoder/Private/*.h', 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.h'
s.private_header_files = 'SDWebImageWebPCoder/Private/*.h'
s.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1'
}
s.watchos.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1'
}
s.pod_target_xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/libwebp/src'
}
s.framework = 'CoreGraphics'
s.dependency 'SDWebImage/Core', '~> 5.17'
s.dependency 'libwebp', '~> 1.0'
end