2018-08-28 23:21:20 +08:00
|
|
|
Pod::Spec.new do |s|
|
2018-08-29 19:50:53 +08:00
|
|
|
s.name = 'SDWebImageWebPCoder'
|
2023-06-14 21:19:40 +08:00
|
|
|
s.version = '0.12.0'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.summary = 'WebP decoder/encoder for SDWebImage coder plugin.'
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
2019-02-02 11:41:30 +08:00
|
|
|
This is a SDWebImage coder plugin to support WebP image.
|
2018-08-28 23:21:20 +08:00
|
|
|
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
|
|
|
|
2020-11-22 18:42:56 +08:00
|
|
|
s.ios.deployment_target = '9.0'
|
|
|
|
s.osx.deployment_target = '10.11'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.tvos.deployment_target = '9.0'
|
|
|
|
s.watchos.deployment_target = '2.0'
|
2019-02-02 11:38:05 +08:00
|
|
|
s.module_map = 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.modulemap'
|
2018-08-28 23:21:20 +08:00
|
|
|
|
2019-02-02 11:38:05 +08:00
|
|
|
s.source_files = 'SDWebImageWebPCoder/Classes/**/*', 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.h'
|
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'
|
|
|
|
}
|
2023-06-14 17:16:26 +08:00
|
|
|
s.dependency 'SDWebImage/Core', '~> 5.16'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.dependency 'libwebp', '~> 1.0'
|
|
|
|
|
|
|
|
end
|