-
Notifications
You must be signed in to change notification settings - Fork 48
/
NBUImagePicker.podspec
80 lines (64 loc) · 3.47 KB
/
NBUImagePicker.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Pod::Spec.new do |s|
s.name = "NBUImagePicker"
s.version = "1.6.0"
s.summary = "Modular image picker with Simulator-compatible AVFondation camera, assets library, filters and more."
s.description = "Modular and fully customizable UIImagePickerController replacement with Simulator-compatible AVFondation camera, AssetsLibrary and custom directory assets' browser, and image cropping, filters and gallery. Change element's sizes, position, customize picker workflow, add/remove/rename filters, localize for other languages, use cropping features from other libraries, etc."
s.homepage = "http://cyberagent.github.io/iOS-NBUImagePicker/"
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.author = { "CyberAgent Inc." => "", "Ernesto Rivera" => "[email protected]" }
s.source = { :git => "https://github.com/CyberAgent/iOS-NBUImagePicker.git", :tag => "#{s.version}" }
s.screenshots = [ "http://cyberagent.github.io/iOS-NBUImagePicker/images/screenshot3.png",
"http://cyberagent.github.io/iOS-NBUImagePicker/images/screenshot4.png",
"http://cyberagent.github.io/iOS-NBUImagePicker/images/screenshot5.png",
"http://cyberagent.github.io/iOS-NBUImagePicker/images/screenshot6.png",
"http://cyberagent.github.io/iOS-NBUImagePicker/images/screenshot1.png"]
s.platform = :ios, '6.0'
s.requires_arc = true
s.preserve_paths = "README.md", "NOTICE"
s.dependency 'NBUKit', '>= 2.5.1'
s.subspec 'Base' do |sub|
sub.source_files = 'Source/*.{h,m}'
end
s.subspec 'Camera' do |sub|
sub.source_files = 'Source/Camera/*.{h,m}'
sub.frameworks = 'AVFoundation', 'CoreVideo'
sub.dependency 'NBUImagePicker/Assets'
sub.dependency 'NBUCore', '>= 2.1.0'
sub.dependency 'RBVolumeButtons@PTEz'
sub.dependency 'MotionOrientation@PTEz', '>= 1.1.0'
end
s.subspec 'Assets' do |sub|
sub.source_files = 'Source/Assets/*.{h,m}'
sub.frameworks = 'AssetsLibrary'
sub.dependency 'NBUImagePicker/Base'
end
s.subspec 'Filters' do |sub|
sub.source_files = 'Source/Filters/*.{h,m}'
sub.frameworks = 'CoreImage'
sub.dependency 'NBUImagePicker/Base'
sub.dependency 'GPUImage', '>= 0.1.5'
end
s.subspec 'Image' do |sub|
sub.source_files = 'Source/Image/*.{h,m}'
sub.dependency 'NBUImagePicker/MediaInfo'
end
s.subspec 'Gallery' do |sub|
sub.source_files = 'Source/Gallery/*.{h,m}'
sub.dependency 'NBUImagePicker/Assets'
sub.dependency 'NBUImagePicker/MediaInfo'
end
s.subspec 'MediaInfo' do |sub|
sub.source_files = 'Source/MediaInfo/*.{h,m}'
sub.dependency 'NBUImagePicker/Assets'
end
s.subspec 'Picker' do |sub|
sub.source_files = 'Source/Picker/*.{h,m}'
sub.dependency 'NBUImagePicker/Camera'
sub.dependency 'NBUImagePicker/Image'
sub.dependency 'NBUImagePicker/Gallery'
sub.dependency 'NBUImagePicker/Resources'
end
s.subspec 'Resources' do |sub|
sub.resource_bundle = { 'NBUImagePicker' => ['Resources/*.{png,lproj}', 'Resources/filters', 'Source/**/*.{storyboard,xib}'] }
end
end