Skip to content

Commit 0f3bdb2

Browse files
committed
Revert sharpyuv as standalone subspec because it depends webp as well
1 parent 1a4ea0e commit 0f3bdb2

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

libwebp.podspec

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ Pod::Spec.new do |s|
1919
'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libwebp/ ${PODS_TARGET_SRCROOT}/'
2020
}
2121
s.preserve_paths = 'src', 'sharpyuv'
22-
s.default_subspecs = 'webp', 'demux', 'mux', 'sharpyuv'
22+
s.default_subspecs = 'webp', 'demux', 'mux'
2323

2424
# webp decoding && encoding
2525
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}'
2827
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'
2928
end
3029

@@ -42,12 +41,6 @@ Pod::Spec.new do |s|
4241
ss.public_header_files = 'src/webp/mux.h'
4342
end
4443

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-
5144
# fix #include <inttypes.h> cause 'Include of non-modular header inside framework module error'
5245
s.prepare_command = <<-CMD
5346
sed -i.bak 's/<inttypes.h>/<stdint.h>/g' './src/webp/types.h'

0 commit comments

Comments
 (0)