-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImageExtract.podspec
98 lines (89 loc) · 4.8 KB
/
ImageExtract.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Pod::Spec.new do |s|
s.name = "ImageExtract"
s.version = "2.1.1"
s.summary = "A Swift library to allows you to extract the size of an image without downloading."
s.homepage = "https://github.com/gumob/ImageExtract"
s.documentation_url = "https://gumob.github.io/ImageExtract/"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "gumob" => "[email protected]" }
s.module_name = "ImageExtract"
s.source = { :git => "https://github.com/gumob/ImageExtract.git", :tag => "#{s.version}", :submodules => true }
s.source_files = ["Source/*.{swift}"]
# s.public_header_files = "Source/ImageExtract.h"
s.private_header_files = "Module/CWebP/CWebP-umbrella.h"
# s.preserve_paths = "Module/CWebP/module.modulemap"
# s.module_map = "Module/CWebP/module.modulemap"
s.requires_arc = true
s.swift_version = "5.0"
ios_deployment_target = "9.0"
tvos_deployment_target = "10.0"
watchos_deployment_target = "3.0"
osx_deployment_target = "10.11"
s.ios.deployment_target = ios_deployment_target
# s.tvos.deployment_target = tvos_deployment_target
# s.watchos.deployment_target = watchos_deployment_target
s.osx.deployment_target = osx_deployment_target
s.ios.framework = "Foundation", "UIKit"
# s.tvos.framework = "Foundation", "UIKit"
# s.watchos.framework = "Foundation", "UIKit"
s.osx.framework = "Foundation", "AppKit"
s.libraries = "webp"
# s.subspec "libwebp-iOS" do |webp|
# webp.name = "webp"
# webp.ios.deployment_target = ios_deployment_target
# webp.tvos.deployment_target = tvos_deployment_target
# s.watchos.deployment_target = watchos_deployment_target
# webp.osx.deployment_target = osx_deployment_target
# # webp.preserve_paths = "Submodule/libwebp"
# webp.source_files = "Submodule/libwebp/src/**/*.{h,c}"
# webp.public_header_files = ["Submodule/libwebp/src/webp/decode.h", "Submodule/libwebp/src/webp/encode.h", "Submodule/libwebp/src/webp/types.h"]
# webp.xcconfig = {
# # "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) IE_WEBP=1",
# "USER_HEADER_SEARCH_PATHS" => "$(inherited) $(SRCROOT)/Submodule/libwebp/src"
# }
# # webp.dependency "libwebp"
# end
#
# s.subspec "libwebp-tvOS" do |webp|
# webp.name = "webp"
# webp.tvos.deployment_target = tvos_deployment_target
# # webp.preserve_paths = "Submodule/libwebp"
# webp.source_files = "Submodule/libwebp/src/**/*.{h,c}"
# webp.public_header_files = ["Submodule/libwebp/src/webp/decode.h", "Submodule/libwebp/src/webp/encode.h", "Submodule/libwebp/src/webp/types.h"]
# # webp.static_framework = true
# webp.xcconfig = {
# # "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) IE_WEBP=1",
# "USER_HEADER_SEARCH_PATHS" => "$(inherited) $(SRCROOT)/Submodule/libwebp/src"
# }
# # webp.dependency "libwebp"
# end
#
# s.subspec "libwebp-watchOS" do |webp|
# webp.name = "webp"
# webp.watchos.deployment_target = watchos_deployment_target
# # webp.preserve_paths = "Submodule/libwebp"
# webp.source_files = "Submodule/libwebp/src/**/*.{h,c}"
# webp.public_header_files = ["Submodule/libwebp/src/webp/decode.h", "Submodule/libwebp/src/webp/encode.h", "Submodule/libwebp/src/webp/types.h"]
# # webp.static_framework = true
# webp.xcconfig = {
# # "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) IE_WEBP=1",
# "USER_HEADER_SEARCH_PATHS" => "$(inherited) $(SRCROOT)/Submodule/libwebp/src"
# }
# # webp.dependency "libwebp"
# end
#
# s.subspec "libwebp-macOS" do |webp|
# webp.name = "webp"
# webp.osx.deployment_target = osx_deployment_target
# webp.preserve_paths = "Submodule/libwebp"
# webp.source_files = "Submodule/libwebp/src/**/*.{h,c}"
# webp.public_header_files = ["Submodule/libwebp/src/webp/decode.h", "Submodule/libwebp/src/webp/encode.h", "Submodule/libwebp/src/webp/types.h"]
# # webp.static_framework = true
# webp.xcconfig = {
# # "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) IE_WEBP=1",
# "USER_HEADER_SEARCH_PATHS" => "$(inherited) $(SRCROOT)/Submodule/libwebp/src"
# }
# # webp.dependency "libwebp"
# end
# s.default_subspecs = "CWebP"
end