-
Notifications
You must be signed in to change notification settings - Fork 208
/
GCanvas.podspec
67 lines (51 loc) · 2.33 KB
/
GCanvas.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
Pod::Spec.new do |s|
s.name = "GCanvas"
s.version = "1.1.1"
s.summary = "GCanvas Source."
s.description = <<-DESC
A cross-platform fast Canvas render engine.
DESC
s.homepage = 'https://github.com/alibaba/GCanvas'
s.license = {
:type => 'Copyright',
:text => <<-LICENSE
Alibaba Inc. Copyright
LICENSE
}
s.author = { 'jwxbond' => 'jwxbond@gmail.com' }
s.platform = :ios
s.ios.deployment_target = '9.0'
# s.source = { :path => '.' }
s.source = { :git => "https://github.com/alibaba/GCanvas.git", :tag => s.version }
s.source_files = 'ios/BridgeModule/*.{h,m,mm}',
'core/src/export.h',
'core/src/GCanvas.{hpp,cpp}',
'core/src/GCanvasWeex.{hpp,cpp}',
'core/src/GCanvasManager.{h,cpp}',
'core/src/gcanvas/*.*',
'core/src/gcanvas/shaders/*.*',
'core/src/support/DynArray.h',
'core/src/support/Encode.{h,cpp}',
'core/src/support/GLUtil.{h,cpp}',
'core/src/support/Log.{h,cpp}',
'core/src/support/Util.{h,cpp}',
'core/src/platform/iOS/*.*'
s.public_header_files = 'ios/BridgeModule/*.h',
'core/src/export.h',
'core/src/GCanvas.hpp',
'core/src/GCanvasWeex.hpp',
'core/src/GCanvasManager.h',
'core/src/gcanvas/**/*.h',
'core/src/support/DynArray.h',
'core/src/support/Encode.h',
'core/src/support/GLUtil.h',
'core/src/support/Log.h',
'core/src/support/Util.h',
'core/src/platform/iOS/*.h'
s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => "'$(PODS_ROOT)/GCanvas'",
'HEADER_SEARCH_PATHS' => "'$(PODS_ROOT)/GCanvas'"}
s.requires_arc = true
s.frameworks = 'Foundation','UIKit','GLKit', 'CoreMedia', 'AVFoundation', 'OpenGLES', 'CoreText'
s.library = 'c++'
s.pod_target_xcconfig = { 'OTHER_CFLAGS' => '-DIOS -DGCANVAS_WEEX', 'GCC_PREPROCESSOR_DEFINITIONS' => 'IOS' }
end