Files
JBChartView/ZXing/2.0/ZXing.podspec
T
2012-08-04 17:30:35 +02:00

28 lines
1.2 KiB
Ruby

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/', '-Wno-deprecated-declarations'
s.prefix_header_contents = '#import <ImageIO/CGImageSource.h>'
s.platform = :osx
s.requires_arc = false
s.subspec 'ios' do |ios|
ios.source_files = 'iphone/Barcodes/Classes/*.{h,m}', 'iphone/ZXingWidget/Classes/**/*.{h,m,mm}'
ios.compiler_flags = '-IZXing/cpp/core/src/'
ios.dependency = 'ZXing'
ios.platform = :ios, '4.3'
end
end