Skip to content

Instantly share code, notes, and snippets.

@shsteven
Last active August 3, 2021 09:15
Show Gist options
  • Save shsteven/b12fcb18e1fb88c1b3d6dbb8a9e5939d to your computer and use it in GitHub Desktop.
Save shsteven/b12fcb18e1fb88c1b3d6dbb8a9e5939d 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
@shsteven
Copy link
Author

Yeah it’s open source, feel free to use it or modify it!

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