forked from Neeeo/ZBar
-
Notifications
You must be signed in to change notification settings - Fork 14
/
ZBarSDK.podspec
37 lines (28 loc) · 1.73 KB
/
ZBarSDK.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Pod::Spec.new do |s|
s.name = 'ZBarSDK'
s.version = '1.3.2'
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' => '[email protected]' }
s.source = { :git => 'https://github.com/cooketjoy/ZBar.git', :tag => 'iPhoneSDK-1.3.2' }
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.requires_arc = false
s.public_header_files = 'iphone/**/**/*.h', 'include/*.h'
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.resources = 'iphone/res/{zbar-*.png,zbar-help.html}'
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" => 'NDEBUG=1' }
s.prefix_header_file = 'iphone/include/prefix.pch'
s.compiler_flags = '-w'
end