-
Notifications
You must be signed in to change notification settings - Fork 573
/
CLImageEditor.podspec
78 lines (62 loc) · 3.03 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
66
67
68
69
70
71
72
73
74
75
76
77
78
Pod::Spec.new do |s|
s.name = "CLImageEditor"
s.version = "0.2.4"
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"
end
s.subspec 'Dev' do |dev|
dev.dependency 'CLImageEditor/Core'
dev.source_files = 'CLImageEditor/*/*.h', 'CLImageEditor/ImageTools/ToolSettings/*.h', 'CLImageEditor/ImageTools/CLFilterTool/CLFilterBase.h', 'CLImageEditor/ImageTools/CLEffectTool/CLEffectBase.h'
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/EmoticonTool'
all.dependency 'CLImageEditor/ResizeTool'
all.dependency 'CLImageEditor/TextTool'
all.dependency 'CLImageEditor/SplashTool'
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'
sub.header_mappings_dir = 'OptionalImageTools/CLStickerTool/'
end
s.subspec 'EmoticonTool' do |sub|
sub.dependency 'CLImageEditor/Core'
sub.source_files = 'OptionalImageTools/CLEmoticonTool/*.{h,m,mm}'
sub.private_header_files = 'OptionalImageTools/CLEmoticonTool/**.h'
sub.header_mappings_dir = 'OptionalImageTools/CLEmoticonTool/'
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'
sub.header_mappings_dir = 'OptionalImageTools/CLResizeTool/'
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'
sub.header_mappings_dir = 'OptionalImageTools/CLTextTool/'
end
s.subspec 'SplashTool' do |sub|
sub.dependency 'CLImageEditor/Core'
sub.source_files = 'OptionalImageTools/CLSplashTool/*.{h,m,mm}'
sub.private_header_files = 'OptionalImageTools/CLSplashTool/**.h'
sub.header_mappings_dir = 'OptionalImageTools/CLSplashTool/'
end
end