Permalink
Browse files

Update ZBarSDK 1.3.1

  • Loading branch information...
1 parent 2c968bc commit 60785d209bad43968f484d4d3d027e0c057baa99 @MSNexploder MSNexploder committed Nov 18, 2012
Showing with 34 additions and 0 deletions.
  1. +34 −0 ZBarSDK/1.3.1/ZBarSDK.podspec
View
34 ZBarSDK/1.3.1/ZBarSDK.podspec
@@ -0,0 +1,34 @@
+Pod::Spec.new do |s|
+ s.name = 'ZBarSDK'
+ s.version = '1.3.1'
+ s.platform = :ios
+ s.license = 'GNU LGPL 2.1'
+ s.summary = 'QR and barcode scan library.'
+ s.homepage = 'http://zbar.sourceforge.net/'
+ s.author = { 'Jeff Brown' => 'spadix@users.sourceforge.net' }
+ s.source = { :hg => 'http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar', :tag => 'iPhoneSDK-1.3.1' }
+
+ s.description = 'ZBar is an open source software suite for reading bar codes from various sources, such as video streams, ' \
+ 'image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including ' \
+ 'EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.'
+
+ s.resources = 'iphone/res/{zbar-*.png,zbar-help.html}'
+
+ s.source_files = 'include/zbar.h', 'zbar/**/*.h', 'iphone/*.h', 'iphone/include/**/*.h',
+ 'zbar/{config,decoder,error,image,img_scanner,refcnt,scanner,symbol}.c',
+ 'zbar/decoder/{codabar,code39,code93,code128,databar,ean,i25,qr_finder}.c',
+ 'zbar/qrcode/*.c',
+ 'iphone/*.m'
+
+ s.header_mappings_dir = 'zbar'
+
+ s.frameworks = 'AVFoundation', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'QuartzCore'
+
+ s.library = 'iconv'
+
+ s.xcconfig = { "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*][arch=*]" => 'ZBarReaderViewImpl_Simulator.m',
+ "EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*][arch=*]" => 'ZBarReaderViewImpl_Capture.m ZBarCaptureReader.m',
+ "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) NDEBUG=1' }
+
+ s.prefix_header_file = 'iphone/include/prefix.pch'
+end

0 comments on commit 60785d2

Please sign in to comment.