Permalink
Browse files

Merge pull request #1402 from calebd/master

Add OS X support to Podspec.
  • Loading branch information...
2 parents 4745a60 + e4ee46d commit 3e49ec8fda7dd906cfbfcceb207dbc0f6ceccb24 @BradLarson committed Feb 4, 2014
Showing with 15 additions and 4 deletions.
  1. +15 −4 GPUImage.podspec
View
@@ -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

0 comments on commit 3e49ec8

Please sign in to comment.