forked from yackle/CLImageEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CLImageEditor.podspec
65 lines (51 loc) · 2.35 KB
/
CLImageEditor.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
Pod::Spec.new do |s|
s.name = "CLImageEditor"
s.version = "0.0.6"
s.summary = "CLImageEditor provides basic image editing features to iPhone apps."
s.homepage = "https://github.com/yackle/CLImageEditor"
s.source = { :git => "https://github.com/yackle/CLImageEditor.git", :tag => "v#{s.version}" }
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Sho Yakushiji" => "sho.yakushiji@gmail.com" }
s.platform = :ios, '5.0'
s.requires_arc = true
s.frameworks = 'CoreGraphics', 'CoreImage', 'Accelerate'
s.header_mappings_dir = "CLImageEditor"
s.default_subspec = "Core"
s.subspec 'Core' do |core|
core.source_files = 'CLImageEditor/*.{h,m,mm}', 'CLImageEditor/**/*.{h,m,mm}'
core.public_header_files = 'CLImageEditor/*.h'
core.resources = "CLImageEditor/*.bundle", "CLImageEditor/ViewController/*.xib"
end
s.subspec 'Dev' do |dev|
dev.dependency 'CLImageEditor/Core'
dev.public_header_files = 'CLImageEditor/*/*.h', 'CLImageEditor/ImageTools/ToolSettings/*.h', 'CLImageEditor/ImageTools/CLFilterTool/CLFilterBase.h', 'CLImageEditor/ImageTools/CLEffectTool/CLEffectBase.h'
end
s.subspec 'AllTools' do |all|
all.dependency 'CLImageEditor/Core'
all.dependency 'CLImageEditor/StickerTool'
all.dependency 'CLImageEditor/ResizeTool'
all.dependency 'CLImageEditor/TextTool'
#all.dependency 'CLImageEditor/CLGPUImageFilters'
end
s.subspec 'StickerTool' do |sub|
sub.dependency 'CLImageEditor/Core'
sub.source_files = 'OptionalImageTools/CLStickerTool/*.{h,m,mm}'
sub.private_header_files = 'OptionalImageTools/CLStickerTool/**.h'
end
s.subspec 'ResizeTool' do |sub|
sub.dependency 'CLImageEditor/Core'
sub.source_files = 'OptionalImageTools/CLResizeTool/*.{h,m,mm}'
sub.private_header_files = 'OptionalImageTools/CLResizeTool/**.h'
end
s.subspec 'TextTool' do |sub|
sub.dependency 'CLImageEditor/Core'
sub.source_files = 'OptionalImageTools/CLTextTool/*.{h,m,mm}'
sub.private_header_files = 'OptionalImageTools/CLTextTool/**.h'
end
s.subspec 'CLGPUImageFilters' do |sub|
sub.dependency 'GPUImage'
sub.dependency 'CLImageEditor/Core'
sub.source_files = 'OptionalImageTools/CLGPUImageFilters/*.{h,m,mm}'
sub.private_header_files = 'OptionalImageTools/CLGPUImageFilters/**.h'
end
end