Last active
August 3, 2021 09:15
-
-
Save shsteven/b12fcb18e1fb88c1b3d6dbb8a9e5939d to your computer and use it in GitHub Desktop.
Podspec for GPUImage3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' => '[email protected]' } | |
# 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 |
@HusamAamer
Thanks! 👍 Why aren't you contribute the podspec on GPUImage3? If you allow, I want to contribute it!
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
Thanks, very helpful
For those who wants to use GPUImage3 as a CocoaPod library add
GPUImage3.podspec
to your project directory then add this line to your pods filepod 'GPUImage3', podspec:'./GPUImage3.podspec'