@@ -19,12 +19,11 @@ Pod::Spec.new do |s|
19
19
'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libwebp/ ${PODS_TARGET_SRCROOT}/'
20
20
}
21
21
s . preserve_paths = 'src' , 'sharpyuv'
22
- s . default_subspecs = 'webp' , 'demux' , 'mux' , 'sharpyuv'
22
+ s . default_subspecs = 'webp' , 'demux' , 'mux'
23
23
24
24
# webp decoding && encoding
25
25
s . subspec 'webp' do |ss |
26
- ss . dependency 'libwebp/sharpyuv'
27
- ss . source_files = 'src/webp/decode.h' , 'src/webp/encode.h' , 'src/webp/types.h' , 'src/webp/mux_types.h' , 'src/webp/format_constants.h' , 'src/utils/*.{h,c}' , 'src/dsp/*.{h,c}' , 'src/dec/*.{h,c}' , 'src/enc/*.{h,c}'
26
+ ss . source_files = 'src/webp/decode.h' , 'src/webp/encode.h' , 'src/webp/types.h' , 'src/webp/mux_types.h' , 'src/webp/format_constants.h' , 'src/utils/*.{h,c}' , 'src/dsp/*.{h,c}' , 'src/dec/*.{h,c}' , 'src/enc/*.{h,c}' , 'sharpyuv/*.{h,c}'
28
27
ss . public_header_files = 'src/webp/decode.h' , 'src/webp/encode.h' , 'src/webp/types.h' , 'src/webp/mux_types.h' , 'src/webp/format_constants.h'
29
28
end
30
29
@@ -42,12 +41,6 @@ Pod::Spec.new do |s|
42
41
ss . public_header_files = 'src/webp/mux.h'
43
42
end
44
43
45
- # sharpyuv converter
46
- s . subspec 'sharpyuv' do |ss |
47
- ss . source_files = 'sharpyuv/*.{h,c}'
48
- ss . public_header_files = 'sharpyuv/*.h'
49
- end
50
-
51
44
# fix #include <inttypes.h> cause 'Include of non-modular header inside framework module error'
52
45
s . prepare_command = <<-CMD
53
46
sed -i.bak 's/<inttypes.h>/<stdint.h>/g' './src/webp/types.h'
0 commit comments