-
Notifications
You must be signed in to change notification settings - Fork 73
/
KingfisherWebP.podspec
41 lines (35 loc) · 1.6 KB
/
KingfisherWebP.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
Pod::Spec.new do |s|
s.name = 'KingfisherWebP'
s.version = ENV['LIB_VERSION']
s.swift_version = '5.0'
s.summary = 'A Kingfisher extension helping you process webp format'
s.description = <<-DESC
KingfisherWebP is an extension of the popular library [Kingfisher](https://github.com/onevcat/Kingfisher), providing a ImageProcessor and CacheSerializer for you to conveniently handle the WebP format.
DESC
s.homepage = 'https://github.com/yeatse/KingfisherWebP'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Yang Chao' => '[email protected]' }
s.source = { :git => 'https://github.com/yeatse/KingfisherWebP.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/yeatse'
s.ios.deployment_target = "13.0"
s.tvos.deployment_target = "13.0"
s.osx.deployment_target = "10.15"
s.watchos.deployment_target = "6.0"
s.frameworks = "Accelerate"
s.source_files = 'Sources/**/*.{h,m,swift}'
s.pod_target_xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
s.tvos.pod_target_xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
s.osx.pod_target_xcconfig = {
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
s.watchos.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) WEBP_USE_INTRINSICS=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
s.dependency 'Kingfisher', '~> 8.0'
s.dependency 'libwebp', '>= 1.1.0'
end