This repository has been archived by the owner on May 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathDFImageManager.podspec
60 lines (54 loc) · 2.51 KB
/
DFImageManager.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Pod::Spec.new do |s|
s.name = 'DFImageManager'
s.version = '2.0.2'
s.summary = 'Advanced framework for managing images. Zero config, yet immense customization.'
s.description = <<-DESC
Advanced framework for loading, caching, processing, displaying and preheating images. DFImageManager is a pipeline that loads images using multiple dependencies which can be injected in runtime. It features optional AFNetworking, FLAnimatedImage and WebP integration.
DESC
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = 'https://github.com/kean/DFImageManager'
s.author = 'Alexander Grebenyuk'
s.social_media_url = 'https://twitter.com/a_grebenyuk'
s.ios.deployment_target = '8.0'
s.watchos.deployment_target = '2.0'
s.source = { :git => 'https://github.com/kean/DFImageManager.git', :tag => s.version.to_s }
s.requires_arc = true
s.default_subspecs = 'Core', 'UI'
s.subspec 'Core' do |ss|
ss.source_files = 'Pod/Source/Core/**/*.{h,m}'
ss.private_header_files = 'Pod/Source/Core/Private/*.h'
end
s.subspec 'UI' do |ss|
ss.ios.deployment_target = '8.0'
ss.dependency 'DFImageManager/Core'
ss.ios.source_files = 'Pod/Source/UI/**/*.{h,m}'
end
s.subspec 'AFNetworking' do |ss|
ss.ios.deployment_target = '8.0'
ss.prefix_header_contents = '#define DF_SUBSPEC_AFNETWORKING_ENABLED 1'
ss.dependency 'DFImageManager/Core'
ss.dependency 'AFNetworking/NSURLSession', '~> 3.0'
ss.source_files = 'Pod/Source/AFNetworking/**/*.{h,m}'
end
s.subspec 'PhotosKit' do |ss|
ss.ios.deployment_target = '8.0'
ss.prefix_header_contents = '#define DF_SUBSPEC_PHOTOSKIT_ENABLED 1'
ss.dependency 'DFImageManager/Core'
ss.source_files = 'Pod/Source/PhotosKit/**/*.{h,m}'
end
s.subspec 'GIF' do |ss|
ss.ios.deployment_target = '8.0'
ss.prefix_header_contents = '#define DF_SUBSPEC_GIF_ENABLED 1'
ss.dependency 'DFImageManager/Core'
ss.dependency 'DFImageManager/UI'
ss.dependency 'FLAnimatedImage', '~> 1.0'
ss.source_files = 'Pod/Source/GIF/**/*.{h,m}'
end
s.subspec 'WebP' do |ss|
ss.ios.deployment_target = '8.0'
ss.prefix_header_contents = '#define DF_SUBSPEC_WEBP_ENABLED 1'
ss.dependency 'DFImageManager/Core'
ss.dependency 'libwebp'
ss.source_files = 'Pod/Source/WebP/**/*.{h,m}'
end
end