2018-08-28 23:21:20 +08:00
|
|
|
Pod::Spec.new do |s|
|
2018-08-29 19:50:53 +08:00
|
|
|
s.name = 'SDWebImageWebPCoder'
|
2019-01-28 17:29:41 +08:00
|
|
|
s.version = '0.1.2'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.'
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
This is a simple SDWebImage coder plugin to support WebP image.
|
|
|
|
DESC
|
|
|
|
|
2018-08-29 19:50:53 +08:00
|
|
|
s.homepage = 'https://github.com/SDWebImage/SDWebImageWebPCoder'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
|
|
|
s.author = { 'Bogdan Poplauschi' => 'bpoplauschi@gmail.com' }
|
2018-08-29 19:50:53 +08:00
|
|
|
s.source = { :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :tag => s.version.to_s }
|
2018-08-28 23:21:20 +08:00
|
|
|
|
|
|
|
s.ios.deployment_target = '8.0'
|
|
|
|
s.osx.deployment_target = '10.10'
|
|
|
|
s.tvos.deployment_target = '9.0'
|
|
|
|
s.watchos.deployment_target = '2.0'
|
|
|
|
|
2018-08-29 19:50:53 +08:00
|
|
|
s.source_files = 'SDWebImageWebPCoder/Classes/**/*'
|
2018-08-28 23:21:20 +08:00
|
|
|
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'
|
|
|
|
}
|
2019-01-26 18:35:21 +08:00
|
|
|
s.dependency 'SDWebImage/Core', '>= 5.0.0-beta4'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.dependency 'libwebp', '~> 1.0'
|
|
|
|
|
|
|
|
end
|