Commit graph

27 commits

Author SHA1 Message Date
Adam Vandenberg
e132483b79 OpenCV: style nits 2012-08-21 14:46:32 -07:00
nibbles 2bits
a943c40612 opencv: fix --32-bit option, use HB libraries
opencv has a 32bit option meant to work with HB libraries
like libtiff, jpeg, and jasper when those are universal.
Add CMake flags to stop opencv from trying to build all
those from source.  Instead let if find the HB libraries.
Add CMake flags to stop it building tests.
Add a dep on Eigen, which is used to speed up code.  OpenCV
has it enabled by default.
Add a CMake flag to specify that CUDA is OFF.
Duplicate the 32bit extra_CFLAGS to extra_CXXFLAGS also.
When building 32bit specify `-DCMAKE_OSX_ARCHITECTURES=i386`
per the install docs.
Switch to an OOS build.  Put the source dir last.
Use the new `option` DSL.
Adjust python includes to support XCode-only installs.
Use their new homepage `opencv.org`

Tested with clang and llvm from XCode-4.4.1 against HB python
and system python on Mt. Lion, all options.

Fixes Homebrew/homebrew#14237 Homebrew/homebrew#13603

Closes Homebrew/homebrew#14305.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-21 14:45:36 -07:00
Adam Vandenberg
05e69999d2 opencv: remove merged patch 2012-07-09 15:57:28 -07:00
Adam Vandenberg
b768391bd6 OpenCV 2.4.2 2012-07-09 09:16:37 -07:00
Andreas Behr
a5289b0771 opencv: fixes highgui not linking appkit framework
adds inline patch to fix http://code.opencv.org/issues/2038

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-02 21:38:02 -07:00
Adam Vandenberg
37ec96004c OpenCV 2.4.1 2012-06-10 09:37:50 -07:00
Xiao Li
e49e206080 opencv: add option for TBB support
TBB enables parallel code in OpenCV. Some task like opencv_traincascade
will be slow without TBB enabled.

Closes Homebrew/homebrew#12407.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-07 16:00:21 -05:00
saskathex
185480cecb opencv 2.4.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-30 21:15:22 -07:00
Jack Nagel
c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00
Yogesh Girdhar
2b64269a58 opencv patched to compile with clang
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-16 22:06:16 -07:00
Andreas Behr
52bf248b79 Adds option to build opencv with the qt backend
See issue 9444

Closes Homebrew/homebrew#9445.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-05 22:31:31 +00:00
Adam Vandenberg
725311b0af Standardize 32 bit build switch 2012-01-02 14:53:36 -08:00
Martin Szarski
fa8a121a5b opencv: fix 32-bit build
Removed extra space at the start of -DOPENCV_EXTRA_C_FLAGS parameter that was
killing the 32bit build on Mac OS X Lion.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-29 20:43:01 -08:00
Charlie Sharpsteen
80562282da OpenCV: Remove debugging statement
Oops, left something in that last commit.

Also, fixes the module installation path to where the caveats say it will be.
2011-09-21 16:08:53 -07:00
Charlie Sharpsteen
9724da1f77 OpenCV: Fix Python support
OpenCV relies on the CMake FindPythonLibs module which get pwned pretty hard if
more than one Python installation is available. Copied some code from the VTK
formula that straightens things out manually.

Also added a numpy dependency.

Fixes Homebrew/homebrew#7740.
2011-09-21 16:03:26 -07:00
Yogesh Girdhar
7d1b6d33e3 OpenCV: Update to 2.3.1a
Also correct `PYTHONPATH` in caveats.

Fixes Homebrew/homebrew#5596.

Fixes Homebrew/homebrew#7121.
Fixes Homebrew/homebrew#7453.

Closes Homebrew/homebrew#6692.
Closes Homebrew/homebrew#7500.
Closes Homebrew/homebrew#7706.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-20 21:07:33 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Philipp
896aa256fa Updated OpenCV to stable version 2.2
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-11 18:12:11 +00:00
Adam Vandenberg
19e5e6e64a Mark scons, cmake & pkg-config as build-time deps 2010-10-12 07:13:29 -07:00
Christopher Denter
a9ccec70c4 opencv - --build32 option; needed for some cameras
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-02 08:45:47 -07:00
Adam Vandenberg
ab643771fb brew-audit - check for commented-out dependencies
"brew audit" will now warn about commented-out dependencies.

Updated formulae that had these to either take them out or rewrite
the comments around them.
2010-09-13 15:16:09 -07:00
Christopher Denter
8a1858ac1b opencv: Use revision 3478.
Seems to work good. Memory leak from 2.1.0 is fixed. Some later revisions don't compile on OSX, though

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-15 11:35:25 -07:00
Adam Vandenberg
1e9d62f415 Remove empty md5 2010-08-08 18:26:08 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Christopher Denter
86ec6ac87c opencv -- Make opencv formula use svn, not the 2.1.0 release. Necessary due to a *massive* memory leak that was fixed upstream.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-04 16:59:30 -07:00
David Höppner
5078377f2e opencv: clean up url 2010-05-22 14:48:55 +02:00
kmowery
52918cfe85 OpenCV 2.1.0
Open source Computer Vision is a library of programming functions for real time computer vision.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-18 21:54:04 -07:00