Skip to content

Instantly share code, notes, and snippets.

@AndreyZarembo
Forked from shsteven/GPUImage3.podspec
Created May 17, 2020 07:13
Show Gist options
  • Save AndreyZarembo/7204c93fd721fcc21fb73ccda4c3e9c2 to your computer and use it in GitHub Desktop.
Save AndreyZarembo/7204c93fd721fcc21fb73ccda4c3e9c2 to your computer and use it in GitHub Desktop.
Podspec for GPUImage3
Pod::Spec.new do |s|
s.name = 'GPUImage3'
s.version = '0.1.0'
s.license = 'BSD'
s.summary = 'An open source iOS framework for GPU-based image and video processing.'
s.homepage = 'https://github.com/BradLarson/GPUImage3'
s.author = { 'Brad Larson' => 'contact@sunsetlakesoftware.com' }
# This commit on that fork of GPUImage should contain just upgrades needed for Swift 4 compatibility. See https://github.com/BradLarson/GPUImage2/pull/212
# Replace with https://github.com/BradLarson/GPUImage2.git when merged
# into BradLarson's repository.
s.source = { :git => 'https://github.com/BradLarson/GPUImage3', :commit => '9085d33cd472dd9658e24a3e1891baecbe32272a' }
s.source_files = 'framework/Source/**/*.{swift}'
s.resources = 'framework/Source/Operations/Shaders/*.{fsh}'
s.requires_arc = true
s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES', 'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES"}
s.ios.deployment_target = '9.0'
s.ios.exclude_files = 'framework/Source/Mac', 'framework/Source/Linux', 'framework/Source/Operations/Shaders/ConvertedShaders_GL.swift'
s.frameworks = ['Metal', 'CoreMedia', 'QuartzCore', 'AVFoundation']
end
@AndreyZarembo
Copy link
Author

pod 'GPUImage3', podspec:'./GPUImage3.podspec'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment