Browse files

Merge pull request #376 from jerolimov/master

Add ZXing 2.0 and 2.1 pods
  • Loading branch information...
2 parents ddda756 + 0fcf505 commit c51614dbf712e64a713e78f970242148763752d3 @fabiopelosin fabiopelosin committed Aug 6, 2012
View
7 Cordova/1.0.0/Cordova.podspec
@@ -1,23 +1,22 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.0.0"
- s.summary = "Library to include Cordova (formally known as PhoneGap) as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://www.phonegap.com/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap Contributors"
s.license = 'The "New" BSD License *or* the MIT License (2008)'
# s.source = { :git => "http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git", :tag => "1.0.0" }
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.0.0" }
- s.source_files = 'PhoneGapLib/Classes/*.{h,m}'
+ s.source_files = 'PhoneGapLib/Classes/*.{h,m}', 'PhoneGapLib/Classes/JSON/*.{h,m}'
s.resources = 'PhoneGapLib/javascripts/core/*.js', 'PhoneGapLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage', '-Wno-unused-value', '-Wno-visibility'
+ s.compiler_flags = '-Wno-deprecated-objc-isa-usage', '-Wno-unused-value', '-Wno-visibility'
s.platform = :ios, '4.3'
s.requires_arc = false
- s.dependency 'SBJson', '~> 2.2.3'
s.frameworks = 'AddressBook', 'AddressBookUI', 'AudioToolbox', 'AVFoundation', 'CoreLocation', 'MediaPlayer', 'QuartzCore', 'SystemConfiguration', 'MobileCoreServices', 'CoreMedia'
end
View
7 Cordova/1.1.0/Cordova.podspec
@@ -1,23 +1,22 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.1.0"
- s.summary = "Library to include Cordova (formally known as PhoneGap) as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://www.phonegap.com/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap Contributors"
s.license = 'The "New" BSD License *or* the MIT License (2008)'
# s.source = { :git => "http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git", :tag => "1.1.0" }
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.1.0" }
- s.source_files = 'PhoneGapLib/Classes/*.{h,m}'
+ s.source_files = 'PhoneGapLib/Classes/*.{h,m}', 'PhoneGapLib/Classes/JSON/*.{h,m}'
s.resources = 'PhoneGapLib/javascripts/core/*.js', 'PhoneGapLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage', '-Wno-visibility'
+ s.compiler_flags = '-Wno-deprecated-objc-isa-usage', '-Wno-visibility'
s.platform = :ios, '4.3'
s.requires_arc = false
- s.dependency 'SBJson', '~> 2.2.3'
s.frameworks = 'AddressBook', 'AddressBookUI', 'AudioToolbox', 'AVFoundation', 'CoreLocation', 'MediaPlayer', 'QuartzCore', 'SystemConfiguration', 'MobileCoreServices', 'CoreMedia'
end
View
4 Cordova/1.2.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.2.0"
- s.summary = "Library to include Cordova (formally known as PhoneGap) as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://www.phonegap.com/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap Contributors"
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.2.0" }
s.source_files = 'PhoneGapLib/Classes/*.{h,m}'
s.resources = 'PhoneGapLib/javascripts/core/*.js', 'PhoneGapLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
+ s.compiler_flags = '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
4 Cordova/1.3.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.3.0"
- s.summary = "Library to include Cordova (formally known as PhoneGap) as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://www.phonegap.com/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap Contributors"
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.3.0" }
s.source_files = 'PhoneGapLib/Classes/*.{h,m}'
s.resources = 'PhoneGapLib/javascripts/core/*.js', 'PhoneGapLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
+ s.compiler_flags = '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
4 Cordova/1.4.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.4.0"
- s.summary = "Library to include Cordova (formally known as PhoneGap) as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://www.phonegap.com/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap Contributors"
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.4.0" }
s.source_files = 'PhoneGapLib/Classes/*.{h,m}'
s.resources = 'PhoneGapLib/javascripts/core/*.js', 'PhoneGapLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage', '-Wno-deprecated-declarations'
+ s.compiler_flags = '-Wno-deprecated-objc-isa-usage', '-Wno-deprecated-declarations'
s.platform = :ios, '4.3'
View
4 Cordova/1.4.1/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.4.1"
- s.summary = "Library to include Cordova (formally known as PhoneGap) as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://www.phonegap.com/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap Contributors"
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.4.1" }
s.source_files = 'PhoneGapLib/Classes/*.{h,m}'
s.resources = 'PhoneGapLib/javascripts/core/*.js', 'PhoneGapLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage', '-Wno-deprecated-declarations'
+ s.compiler_flags = '-Wno-deprecated-objc-isa-usage', '-Wno-deprecated-declarations'
s.platform = :ios, '4.3'
View
3 Cordova/1.5.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.5.0"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.5.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascripts/core/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
3 Cordova/1.6.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.6.0"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.6.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascript/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
3 Cordova/1.6.1/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.6.1"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.6.1" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascript/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
3 Cordova/1.7.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.7.0"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.7.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascript/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
3 Cordova/1.8.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.8.0"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.8.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascript/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
3 Cordova/1.8.1/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.8.1"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.8.1" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascript/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
3 Cordova/1.9.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "1.9.0"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "1.9.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascript/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
3 Cordova/2.0.0/Cordova.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Cordova"
s.version = "2.0.0"
- s.summary = "Library to include Cordova as dependecy in own applications."
+ s.summary = "Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript."
s.homepage = "http://incubator.apache.org/cordova/"
s.author = "Original developed by Nitobi (acquire by Adobe) and all other PhoneGap and Cordova Contributors"
@@ -11,7 +11,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/apache/incubator-cordova-ios.git", :tag => "2.0.0" }
s.source_files = 'CordovaLib/Classes/*.{h,m}'
s.resources = 'CordovaLib/javascript/*.js', 'CordovaLib/VERSION'
- s.compiler_flags = '-Wno-format', '-Wno-deprecated-objc-isa-usage'
s.platform = :ios, '4.3'
View
35 ZXing/2.0/ZXing.podspec
@@ -0,0 +1,35 @@
+Pod::Spec.new do |s|
+ s.name = "ZXing"
+ s.version = "2.0"
+ s.summary = "Multi-format 1D/2D barcode image processing library."
+ s.homepage = "http://code.google.com/p/zxing/"
+ s.author = "ZXing team (http://code.google.com/p/zxing/people/list)"
+
+ s.license = { :type => 'Apache License 2.0', :file => 'COPYING' }
+
+# Use svn url because tags are not available in git repo.
+ s.source = { :svn => "http://zxing.googlecode.com/svn/tags/2.0" }
+# s.source = { :git => "https://github.com/zxing/zxing.git" }
+
+ s.source_files = 'cpp/core/src/zxing/**/*.{h,cpp}', 'objc/src/ZXing/*.{h,m,mm}'
+ s.compiler_flags = '-IZXing/cpp/core/src/'
+ s.requires_arc = false
+
+# workaround for a missing import in objc/src/ZXing/ZXImage.mm
+ s.prefix_header_contents = '#import <ImageIO/CGImageSource.h>'
+
+ s.libraries = 'stdc++', 'iconv'
+ s.frameworks = 'AddressBook', 'AudioToolbox', 'AVFoundation', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'ImageIO'
+
+ s.subspec 'ios' do |ios|
+ ios.platform = :ios, '4.3'
+ ios.ios.deployment_target = '4.3'
+
+ ios.source_files = 'iphone/ZXingWidget/Classes/**/*.{h,m,mm}'
+ ios.compiler_flags = '-IZXing/cpp/core/src/', '-IZXing/iphone/ZXingWidget/Classes/'
+
+# must use xcconfig additional to compiler_flag -I to make this header path also available for the including project
+ ios.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/ZXing/cpp/core/src/ ${PODS_ROOT}/ZXing/iphone/ZXingWidget/Classes/' }
+ ios.frameworks = 'AddressBookUI', 'QuartzCore'
+ end
+end

0 comments on commit c51614d

Please sign in to comment.