diff --git a/Xcode/Info.plist b/Xcode/Info.plist
index 7860204..2d546c8 100644
--- a/Xcode/Info.plist
+++ b/Xcode/Info.plist
@@ -15,9 +15,9 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.2.4
+ 1.3.0
CFBundleVersion
- 1.2.4
+ 1.3.0
NSPrincipalClass
diff --git a/include/sharpyuv/sharpyuv.h b/include/sharpyuv/sharpyuv.h
new file mode 120000
index 0000000..40f3cc7
--- /dev/null
+++ b/include/sharpyuv/sharpyuv.h
@@ -0,0 +1 @@
+../../libwebp/sharpyuv/sharpyuv.h
\ No newline at end of file
diff --git a/libwebp.podspec b/libwebp.podspec
index 0fd5ac9..be6450e 100644
--- a/libwebp.podspec
+++ b/libwebp.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'libwebp'
- s.version = '1.2.4'
+ s.version = '1.3.0'
s.summary = 'Library to encode and decode images in WebP format.'
s.homepage = 'https://developers.google.com/speed/webp/'
s.authors = 'Google Inc.'
@@ -19,11 +19,18 @@ Pod::Spec.new do |s|
'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libwebp/ ${PODS_TARGET_SRCROOT}/'
}
s.preserve_paths = 'src', 'sharpyuv'
- s.default_subspecs = 'webp', 'demux', 'mux'
+ s.default_subspecs = 'sharpyuv', 'webp', 'demux', 'mux'
+
+ # sharpyuv converter
+ s.subspec 'sharpyuv' do |ss|
+ ss.source_files = 'sharpyuv/*.{h,c}'
+ ss.public_header_files = 'sharpyuv/sharpyuv.h'
+ end
# webp decoding && encoding
s.subspec 'webp' do |ss|
- 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}'
+ ss.dependency 'libwebp/sharpyuv'
+ 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}'
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'
end