SDWebImage.podspec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Pod::Spec.new do |s|
  2. s.name = 'SDWebImage'
  3. s.version = '3.7.0'
  4. s.platform = :ios, '5.0'
  5. s.license = 'MIT'
  6. s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.'
  7. s.homepage = 'https://github.com/rs/SDWebImage'
  8. s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' }
  9. s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => s.version.to_s }
  10. s.description = 'This library provides a category for UIImageView with support for remote ' \
  11. 'images coming from the web. It provides an UIImageView category adding web ' \
  12. 'image and cache management to the Cocoa Touch framework, an asynchronous ' \
  13. 'image downloader, an asynchronous memory + disk image caching with automatic ' \
  14. 'cache expiration handling, a guarantee that the same URL won\'t be downloaded ' \
  15. 'several times, a guarantee that bogus URLs won\'t be retried again and again, ' \
  16. 'and performances!'
  17. s.requires_arc = true
  18. s.framework = 'ImageIO'
  19. s.default_subspec = 'Core'
  20. s.subspec 'Core' do |core|
  21. core.source_files = 'SDWebImage/{NS,SD,UI}*.{h,m}'
  22. core.exclude_files = 'SDWebImage/UIImage+WebP.{h,m}'
  23. end
  24. s.subspec 'MapKit' do |mk|
  25. mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'
  26. mk.framework = 'MapKit'
  27. mk.dependency 'SDWebImage/Core'
  28. end
  29. s.subspec 'WebP' do |webp|
  30. webp.source_files = 'SDWebImage/UIImage+WebP.{h,m}'
  31. webp.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1' }
  32. webp.dependency 'SDWebImage/Core'
  33. webp.dependency 'libwebp'
  34. end
  35. end