-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathSDWebImageAVIFCoder.podspec
45 lines (38 loc) · 1.93 KB
/
SDWebImageAVIFCoder.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
37
38
39
40
41
42
43
44
45
#
# Be sure to run `pod lib lint SDWebImageAVIFCoder.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'SDWebImageAVIFCoder'
s.version = '0.11.0'
s.summary = 'A SDWebImage coder plugin to support AVIF(AV1 Image File Format) image'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
This is a SDWebImage coder plugin to add AV1 Image File Format (AVIF) support.
Which is built based on the open-sourced libavif codec.
DESC
s.homepage = 'https://github.com/SDWebImage/SDWebImageAVIFCoder'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'DreamPiggy' => '[email protected]' }
s.source = { :git => 'https://github.com/SDWebImage/SDWebImageAVIFCoder.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.source_files = 'SDWebImageAVIFCoder/Classes/**/*', 'SDWebImageAVIFCoder/Module/SDWebImageAVIFCoder.h'
s.public_header_files = 'SDWebImageAVIFCoder/Classes/Public/*.{h,m}', 'SDWebImageAVIFCoder/Module/SDWebImageAVIFCoder.h'
s.private_header_files = 'SDWebImageAVIFCoder/Classes/Private/*.{h,m}'
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libavif/include',
}
s.dependency 'SDWebImage', '~> 5.10'
s.dependency 'libavif/core', '>= 0.11.0'
s.libraries = 'c++'
end