Authored by Olivier Poitrey

Merge pull request #413 from stylight/master

Fixed dependency on libwebp in the podspec
@@ -8,7 +8,7 @@ Pod::Spec.new do |s| @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
8 s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' } 8 s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' }
9 s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => '3.2' } 9 s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => '3.2' }
10 10
11 - s.description = 'This library provides a category for UIImageVIew with support for remote ' \ 11 + s.description = 'This library provides a category for UIImageView with support for remote ' \
12 'images coming from the web. It provides an UIImageView category adding web ' \ 12 'images coming from the web. It provides an UIImageView category adding web ' \
13 'image and cache management to the Cocoa Touch framework, an asynchronous ' \ 13 'image and cache management to the Cocoa Touch framework, an asynchronous ' \
14 'image downloader, an asynchronous memory + disk image caching with automatic ' \ 14 'image downloader, an asynchronous memory + disk image caching with automatic ' \
@@ -20,6 +20,8 @@ Pod::Spec.new do |s| @@ -20,6 +20,8 @@ Pod::Spec.new do |s|
20 s.source_files = 'SDWebImage/{NS,SD,UI}*.{h,m}' 20 s.source_files = 'SDWebImage/{NS,SD,UI}*.{h,m}'
21 s.framework = 'ImageIO' 21 s.framework = 'ImageIO'
22 22
  23 + s.dependency 'libwebp'
  24 +
23 # TODO currently CocoaPods always tries to install the subspec even if the dependency is on just 'SDWebImage' 25 # TODO currently CocoaPods always tries to install the subspec even if the dependency is on just 'SDWebImage'
24 s.subspec 'MapKit' do |mk| 26 s.subspec 'MapKit' do |mk|
25 mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*' 27 mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'