Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add OS X support to Podspec.

  • Loading branch information...
commit e4ee46d428b1a74d59c7fa1f8d2ffa2b672abff6 1 parent 4745a60
@calebd calebd authored
Showing with 15 additions and 4 deletions.
  1. +15 −4 GPUImage.podspec
View
19 GPUImage.podspec
@@ -2,15 +2,26 @@ Pod::Spec.new do |s|
s.name = 'GPUImage'
s.version = '0.1.2'
s.license = 'BSD'
- s.platform = :ios, '5.0'
s.summary = 'An open source iOS framework for GPU-based image and video processing.'
s.homepage = 'https://github.com/BradLarson/GPUImage'
s.author = { 'Brad Larson' => 'contact@sunsetlakesoftware.com' }
s.source = { :git => 'https://github.com/BradLarson/GPUImage.git', :tag => "#{s.version}" }
+
s.source_files = 'framework/Source/**/*.{h,m}'
s.resources = 'framework/Resources/*.png'
- s.osx.exclude_files = 'framework/Source/iOS/**/*.{h,m}'
- s.ios.exclude_files = 'framework/Source/Mac/**/*.{h,m}'
- s.frameworks = ['OpenGLES', 'CoreVideo', 'CoreMedia', 'QuartzCore', 'AVFoundation']
s.requires_arc = true
+ s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES' }
+
+ s.ios.deployment_target = '5.0'
+ s.ios.exclude_files = 'framework/Source/Mac'
+
+ s.osx.deployment_target = '10.6'
+ s.osx.exclude_files = 'framework/Source/iOS',
+ 'framework/Source/GPUImageFilterPipeline.*',
+ 'framework/Source/GPUImageMovie.*',
+ 'framework/Source/GPUImageMovieComposition.*',
+ 'framework/Source/GPUImageVideoCamera.*',
+ 'framework/Source/GPUImageStillCamera.*',
+ 'framework/Source/GPUImageUIElement.*'
+ s.osx.xcconfig = { 'GCC_WARN_ABOUT_RETURN_TYPE' => 'YES' }
end
Please sign in to comment.
Something went wrong with that request. Please try again.