[Add] com-qqsdk-control-Tools 1.2.1
[CocoaPods.git] / Specs / 0 / f / 5 / OpenCV-iOS / 3.1.1 / OpenCV-iOS.podspec.json
blob588e62f01da23712ea11827bc5c21607dda53e6d
2   "name": "OpenCV-iOS",
3   "version": "3.1.1",
4   "summary": "OpenCV (Computer Vision) for iOS as a dynamic library.",
5   "description": "OpenCV: open source computer vision library\n\n    Homepage: http://opencv.org\n    Online docs: http://docs.opencv.org\n    Q&A forum: http://answers.opencv.org\n    Dev zone: http://code.opencv.org",
6   "homepage": "https://github.com/edc1591/opencv-ios",
7   "license": {
8     "type": "3-clause BSD",
9     "file": "LICENSE"
10   },
11   "authors": "opencv.org",
12   "source": {
13     "git": "https://github.com/edc1591/opencv-ios.git",
14     "tag": "3.1.1"
15   },
16   "platforms": {
17     "ios": "8.0"
18   },
19   "source_files": "install/include/**/*{.h,.hpp}",
20   "public_header_files": "install/include/**/*{.h,.hpp}",
21   "preserve_paths": "install",
22   "header_mappings_dir": "install/include",
23   "vendored_libraries": "install/lib/libopencv2.dylib",
24   "resource_bundles": {
25     "OpenCV": [
26       "install/share/OpenCV/**/*.xml"
27     ]
28   },
29   "requires_arc": false,
30   "libraries": [
31     "stdc++"
32   ],
33   "frameworks": [
34     "Accelerate",
35     "AssetsLibrary",
36     "AVFoundation",
37     "CoreGraphics",
38     "CoreImage",
39     "CoreMedia",
40     "CoreVideo",
41     "Foundation",
42     "QuartzCore",
43     "UIKit"
44   ],
45   "prepare_command": "mkdir build-iphoneos\ncd build-iphoneos\ncmake -GXcode -DBUILD_SHARED_LIBS=ON -DCMAKE_MACOSX_BUNDLE=ON -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=NO -DAPPLE_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake -DENABLE_NEON=ON ../\nxcodebuild -arch armv7 -arch armv7s -arch arm64 -sdk iphoneos -configuration Release -parallelizeTargets -jobs 4 ONLY_ACTIVE_ARCH=NO -target ALL_BUILD build OTHER_CFLAGS=\"$(inherited) -Wno-implicit-function-declaration\"\ncmake -DCMAKE_INSTALL_PREFIX=install -P cmake_install.cmake\nmkdir ../build-iphonesimulator\ncd ../build-iphonesimulator\ncmake -GXcode -DBUILD_SHARED_LIBS=ON -DCMAKE_MACOSX_BUNDLE=ON -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=NO -DAPPLE_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../platforms/ios/cmake/Toolchains/Toolchain-iPhoneSimulator_Xcode.cmake ../\nxcodebuild -arch x86_64 -arch i386 -sdk iphonesimulator -configuration Release -parallelizeTargets -jobs 4 ONLY_ACTIVE_ARCH=NO -target ALL_BUILD build OTHER_CFLAGS=\"$(inherited) -Wno-implicit-function-declaration\"\nmv ../build-iphoneos/install/ ../\ncd ../install\nlipo -create lib/libopencv_world.dylib ../build-iphonesimulator/lib/Release/libopencv_world.dylib -output lib/libopencv2.dylib\ninstall_name_tool -id @rpath/libopencv2.dylib lib/libopencv2.dylib"