Permalink
Browse files

[Chameleon] Fix.

  • Loading branch information...
1 parent f4a7444 commit c2a896e559117ddba61a185318f17c9ee31735c0 @fabiopelosin fabiopelosin committed Jun 21, 2012
Showing with 41 additions and 34 deletions.
  1. +39 −32 Chameleon/0.0.1/Chameleon.podspec
  2. +2 −2 CocoaPods-version.yml
@@ -1,46 +1,53 @@
Pod::Spec.new do |s|
- s.name = "Chameleon"
- s.version = "0.0.1"
- s.summary = "Chameleon is a port of Apple's UIKit for iOS (and some minimal related frameworks) to Mac OS X."
- s.homepage = "http://chameleonproject.org/"
- s.author = { "Sean Heber" => "sean@iconfactory.com" }
- s.source = { :git => "https://github.com/BigZaphod/Chameleon.git", :commit => "af3dcfd6e86078ed6b2fd1c4c45adf3622b0e925" }
-
- s.license = {
- :type => 'Copyright (c) The Iconfactory',
- :file => 'LICENSE',
- }
-
+ 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.platform = :osx
- s.clean_paths = 'Examples'
-
- s.frameworks = 'IOKit', 'QuartzCore', 'SystemConfiguration', 'AppKit', 'Foundation', 'QTKit', 'WebKit'
-
- s.subspec 'UIKit' do |su|
- su.source_files = 'UIKit/Classes/*.{h,m}'
- su.resources = "UIKit/Resources/*.png"
+ s.homepage = "http://chameleonproject.org/"
+ s.author = { "Sean Heber" => "sean@iconfactory.com" }
+ s.source = { :git => "https://github.com/BigZaphod/Chameleon.git", :commit => "b73f34a77052160ef69527b4eecffe9532466820" }
+ 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 |ss|
- ss.source_files = 'StoreKit/Classes/*.{h,m}'
+ s.subspec 'StoreKit' do |sb|
+ sb.source_files = 'StoreKit/Classes/*.{h,m}'
+ sb.header_dir = 'StoreKit'
end
- s.subspec 'AVFoundation' do |sa|
- sa.source_files = 'AVFoundation/Classes/*.{h,m}'
+ s.subspec 'AVFoundation' do |sb|
+ sb.source_files = 'AVFoundation/Classes/*.{h,m}'
+ sb.header_dir = 'AVFoundation'
end
- s.subspec 'AssetsLibrary' do |sal|
- sal.source_files = 'AssetsLibrary/Classes/*.{h,m}'
+ s.subspec 'AssetsLibrary' do |sb|
+ sb.source_files = 'AssetsLibrary/Classes/*.{h,m}'
+ sb.header_dir = 'AssetsLibrary'
end
- s.subspec 'MediaPlayer' do |sm|
- sm.source_files = 'MediaPlayer/Classes/*.{h,m}'
+ s.subspec 'MediaPlayer' do |sb|
+ sb.source_files = 'MediaPlayer/Classes/*.{h,m}'
+ sb.header_dir = 'MediaPlayer'
end
- s.subspec 'MessageUI' do |smu|
- smu.source_files = 'MessageUI/*.{h,m}', 'MessageUI/Classes/*.{h,m}'
+ s.subspec 'MessageUI' do |sb|
+ sb.source_files = 'MessageUI/*.{h,m}', 'MessageUI/Classes/*.{h,m}'
+ sb.header_dir = 'MessageUI'
end
-
end
@@ -1,4 +1,4 @@
---
-min: "0.6.0.rc1"
-last: "0.6.0.rc2"
+min: "0.6.0.rc3"
+last: "0.6.0.rc3"

0 comments on commit c2a896e

Please sign in to comment.