Skip to content

Commit d17f9e4

Browse files
committed
Remark the sharpyuv to public header and public include folder
Currently it belong to libwebp, may separate to host different target in the future
1 parent 58e7e6e commit d17f9e4

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

Xcode/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2.4</string>
18+
<string>1.3.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>1.2.4</string>
20+
<string>1.3.0</string>
2121
<key>NSPrincipalClass</key>
2222
<string></string>
2323
</dict>

include/sharpyuv/sharpyuv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../libwebp/sharpyuv/sharpyuv.h

libwebp.podspec

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'libwebp'
3-
s.version = '1.2.4'
3+
s.version = '1.3.0'
44
s.summary = 'Library to encode and decode images in WebP format.'
55
s.homepage = 'https://developers.google.com/speed/webp/'
66
s.authors = 'Google Inc.'
@@ -19,11 +19,18 @@ 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'
22+
s.default_subspecs = 'sharpyuv', 'webp', 'demux', 'mux'
23+
24+
# sharpyuv converter
25+
s.subspec 'sharpyuv' do |ss|
26+
ss.source_files = 'sharpyuv/*.{h,c}'
27+
ss.public_header_files = 'sharpyuv/sharpyuv.h'
28+
end
2329

2430
# webp decoding && encoding
2531
s.subspec 'webp' do |ss|
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}'
32+
ss.dependency 'libwebp/sharpyuv'
33+
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}'
2734
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'
2835
end
2936

0 commit comments

Comments
 (0)