2018-08-28 23:21:20 +08:00
|
|
|
Pod::Spec.new do |s|
|
2018-08-29 19:50:53 +08:00
|
|
|
s.name = 'SDWebImageWebPCoder'
|
2024-04-17 17:14:57 +08:00
|
|
|
s.version = '0.14.6'
|
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
|
|
|
|
2024-02-06 18:37:31 +08:00
|
|
|
s.source_files = 'SDWebImageWebPCoder/Classes/**/*', 'SDWebImageWebPCoder/Private/*.h', 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.h'
|
|
|
|
s.private_header_files = 'SDWebImageWebPCoder/Private/*.h'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.xcconfig = {
|
2024-03-25 16:15:01 +08:00
|
|
|
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1'
|
2018-08-28 23:21:20 +08:00
|
|
|
}
|
|
|
|
s.watchos.xcconfig = {
|
2024-03-25 16:15:01 +08:00
|
|
|
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1'
|
|
|
|
}
|
|
|
|
s.pod_target_xcconfig = {
|
|
|
|
'USER_HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/libwebp/src'
|
2018-08-28 23:21:20 +08:00
|
|
|
}
|
2023-06-14 21:23:22 +08:00
|
|
|
s.framework = 'CoreGraphics'
|
2023-07-09 20:42:22 +08:00
|
|
|
s.dependency 'SDWebImage/Core', '~> 5.17'
|
2018-08-28 23:21:20 +08:00
|
|
|
s.dependency 'libwebp', '~> 1.0'
|
|
|
|
|
|
|
|
end
|