forked from SDWebImage/SDWebImageWebPCoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SDWebImageWebPCoder.podspec
33 lines (28 loc) · 1.34 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
Pod::Spec.new do |s|
s.name = 'SDWebImageWebPCoder'
s.version = '0.6.1'
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 = '8.0'
s.osx.deployment_target = '10.10'
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/Module/SDWebImageWebPCoder.h'
s.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
s.watchos.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
s.dependency 'SDWebImage/Core', '~> 5.7'
s.dependency 'libwebp', '~> 1.0'
end