Skip to content

Loading…

Add Podspec file to repository #1270

Merged
merged 1 commit into from

3 participants

@rivera-ernesto

This will allow people using GPUImage from Cocoapods (#749, #802, #1148, #1252, etc.) to:

  • Force the latest version of the library at any time with pod 'GPUImage', :head.
  • Specify a given commit and/or fork to use with pod 'GPUImage', :git => 'https://github.com/...', :commit => '....

All without requiring to set version tags (although they would still be very much appreciated!).

@rivera-ernesto rivera-ernesto Add Podspec file
This will allow people using GPUImage from Cocoapods to:
* Force the latest version of the library at any time with `pod 'GPUImage', :head`.
* Specify a given commit and/or fork to use with `pod 'GPUImage', :git => 'https://github.com/...';, :commit => '...`.
f476a02
@ShayDavidson

I'll be glad if this can be treated, I'm experiencing versioning hell because of cocoapods missing the latest versions.
While this is being considered, does anyone know if one of the GPUImage pods in Cocoapods is updated to the master branch?

@rivera-ernesto

@ShayDavidson For now you can use one of the two options mentioned above, either setting your desired commit or using the latest version.

@ShayDavidson

Oh, I thought cocoapods removed the feature to specify a commit and now they only support tags.

@rivera-ernesto

They only support tags for podspec files, but one's free to use commits on your own Podfile ;)

@BradLarson BradLarson merged commit 024b442 into BradLarson:master
@BradLarson
Owner

I know nothing about CocoaPods, so I'll trust you on this one.

@rivera-ernesto rivera-ernesto deleted the rivera-ernesto:add_podspec branch
@rivera-ernesto

Thank you!

It would be helpful to mention somewhere in the Wiki or README GPUImage usage for Cocoapods users. Specifically:

Cocoapods Installation

Add one of these lines to your Podfile:

  • Latest tag release
    pod 'GPUImage'
  • Specific tag release
    pod 'GPUImage', '0.1.1'
  • Latest commit
    pod 'GPUImage', :head
  • Specific commit
    pod 'GPUImage', :git => 'https://github.com/BradLarson/GPUImage.git', :commit => 'xxxxxxxxxxxxxxxxxx'

More information.

Where the last option would make the need to tag commits less of an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 21, 2013
  1. @rivera-ernesto

    Add Podspec file

    rivera-ernesto committed
    This will allow people using GPUImage from Cocoapods to:
    * Force the latest version of the library at any time with `pod 'GPUImage', :head`.
    * Specify a given commit and/or fork to use with `pod 'GPUImage', :git => 'https://github.com/...';, :commit => '...`.
Showing with 16 additions and 0 deletions.
  1. +16 −0 GPUImage.podspec
View
16 GPUImage.podspec
@@ -0,0 +1,16 @@
+Pod::Spec.new do |s|
+ s.name = 'GPUImage'
+ s.version = '0.1.1'
+ 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
+end
Something went wrong with that request. Please try again.