Skip to content

Instantly share code, notes, and snippets.

@kovpas
Created January 9, 2014 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kovpas/8335942 to your computer and use it in GitHub Desktop.
Save kovpas/8335942 to your computer and use it in GitHub Desktop.
Latest version of Chameleon podspec
Pod::Spec.new do |s|
s.name = "Chameleon"
s.version = "0.0.1"
s.summary = "Chameleon is a port of Apple's UIKit (and some minimal related frameworks) to Mac OS X."
s.description = "Chameleon is a port of Apple's UIKit (and some minimal related frameworks) to Mac OS X. It is meant to be as much of a drop-in replacement for the real UIKit as possible. It also adapts some iOS user interface conventions to the Mac (such as UIAlertView being represented by NSAlert) so that apps built using Chameleon have as much chance as possible of feeling at home on the desktop with relatively little porting effort."
s.homepage = "http://chameleonproject.org/"
s.author = { "Sean Heber" => "sean@iconfactory.com" }
s.source = { :git => "https://github.com/BigZaphod/Chameleon.git", :commit => "4f06d4d0a3586a130b797da41ff07176190419e2" }
s.license = { :type => 'Modified BSD License' }
s.platform = :osx, '10.6'
s.frameworks = 'IOKit', 'QuartzCore', 'SystemConfiguration', 'AppKit', 'Foundation', 'QTKit', 'WebKit'
s.prefix_header_contents = "// If ARC is not enabled, declare empty ARC directives to supress compiler errors
#ifndef __has_feature
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
#endif
#if !__has_feature(objc_arc)
#define __unsafe_unretained
#define __bridge
#endif"
s.subspec 'UIKit' do |sb|
sb.source_files = 'UIKit/Classes/*.{h,m}'
sb.resources = "UIKit/Resources/*.png"
sb.header_dir = 'UIKit'
end
s.subspec 'StoreKit' do |sb|
sb.source_files = 'StoreKit/Classes/*.{h,m}'
sb.header_dir = 'StoreKit'
end
s.subspec 'AVFoundation' do |sb|
sb.source_files = 'AVFoundation/Classes/*.{h,m}'
sb.header_dir = 'AVFoundation'
end
s.subspec 'AssetsLibrary' do |sb|
sb.source_files = 'AssetsLibrary/Classes/*.{h,m}'
sb.header_dir = 'AssetsLibrary'
end
s.subspec 'MediaPlayer' do |sb|
sb.source_files = 'MediaPlayer/Classes/*.{h,m}'
sb.header_dir = 'MediaPlayer'
end
s.subspec 'MessageUI' do |sb|
sb.source_files = 'MessageUI/*.{h,m}', 'MessageUI/Classes/*.{h,m}'
sb.header_dir = 'MessageUI'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment