-
Notifications
You must be signed in to change notification settings - Fork 152
/
Concorde.podspec
44 lines (34 loc) · 1.39 KB
/
Concorde.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
Pod::Spec.new do |s|
s.name = "Concorde"
s.version = "0.1.1"
s.summary = "Download and decode progressive JPEGs easily."
s.homepage = "https://github.com/contentful-labs/Concorde/"
s.social_media_url = 'https://twitter.com/contentful'
s.license = {
:type => 'MIT',
:file => 'LICENSE'
}
s.authors = { "Boris Bügling" => "[email protected]" }
s.source = { :git => "https://github.com/contentful-labs/Concorde.git",
:tag => s.version.to_s }
s.requires_arc = true
s.ios.deployment_target = '10.0'
s.ios.frameworks = 'UIKit'
s.osx.deployment_target = '10.9'
s.default_subspecs = 'Core', 'UI'
s.subspec 'Core' do |core_spec|
core_spec.source_files = 'Code/*.{h,m}', 'vendor/libjpeg-turbo/include/*'
core_spec.public_header_files = 'Code/CCBufferedImageDecoder.h'
core_spec.vendored_libraries = 'vendor/libjpeg-turbo/lib/libturbojpeg.a'
end
s.subspec 'UI' do |ui|
ui.ios.source_files = 'Code/CCBufferedImageView.swift'
ui.dependency 'Concorde/Core'
end
s.subspec 'Contentful' do |contentful_spec|
contentful_spec.ios.source_files = 'Code/CCBufferedImageView+Contentful.swift'
contentful_spec.dependency 'Concorde/Core'
contentful_spec.dependency 'Concorde/UI'
contentful_spec.dependency 'ContentfulDeliveryAPI', '>= 1.6.0'
end
end