25 Commits

Author SHA1 Message Date
Martin Jansa 920b489ab4 opencv: blacklist, not compatible with currently used ffmpeg 3
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:07 +01:00
Andre McCurdy 3687c40df7 opencv: support machines based on oe-core tune-corei7.inc
oe-core tune-corei7.inc enables -msse4.2 (rather than -msse3, which is
only enabled by tune-core2.inc). Add test for -msse4.2 to ensure that
SSE is enabled for machines based on tune-corei7.inc (also add a test
for -msse4.1 for completeness).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:56:23 +01:00
Andre McCurdy 92f501b451 opencv: limit ARM_INSTRUCTION_SET = "arm" over-ride to armv4/armv5
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:56:23 +01:00
Andre McCurdy 2f717fb4ca opencv: sort PACKAGECONFIG options
Recipe cleanup only, no functional changes.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:56:23 +01:00
Lukas Bulwahn 97dfbbbf6b opencv: backport commit to compile with ppc
During the testing of the meta-ros layer, I discovered that opencv
does not cross-compile for the ppc architecture. The error is
reported in the meta-ros issue tracker #355 [1]. To address this
error,  this commit applies a patch that is already provided upstream
in the opencv version 3.0.

[1] https://github.com/bmwcarit/meta-ros/issues/355

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-13 12:27:46 +02:00
Ricardo Ribalda Delgado f584699a45 opencv_2.4: Update HOMEPAGE
Old link is dead

ricardo@neopili:~$ wget http://opencv.willowgarage.com/wiki/
--2015-08-19 17:12:44--  http://opencv.willowgarage.com/wiki/
Resolving opencv.willowgarage.com (opencv.willowgarage.com)...
70.35.54.199
Connecting to opencv.willowgarage.com
(opencv.willowgarage.com)|70.35.54.199|:80... failed: Connection timed
out.
Retrying.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:11:12 +02:00
Ricardo Ribalda Delgado 2a3c0b188d opencv_2.4: Remove unused INSANE_SKIP line
Credits-to: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:11:12 +02:00
Ricardo Ribalda Delgado 223e3d1d68 opencv_2.4: Update LICENSE
LICENSE file at the root of the opencv repo says:

License Agreement
For Open Source Computer Vision Library
(3-clause BSD License)

Credits-to: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:11:12 +02:00
Otavio Salvador ebd62b9ed9 opencv: Add 'libv4l' PACKAGECONFIG
The i.MX SoCs need to allow the removal of libv4l support so a new
PACKAGECONFIG option has been included.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 20:20:42 +02:00
Otavio Salvador 99fa8e947b opencv: Only enable 'libav' support if commercial license is whitelisted
The libav support requires the commercial license to be
whitelist. This makes opencv to work in non-commercial setups without
needing to change the PACKAGECONFIG settings manually.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 20:20:41 +02:00
mike.looijmans@topic.nl aa030ae90f opencv: Upgrade to 2.4.11
Upgrade OpenCV to the 2.4.11 release.

Remove the opencv-fix-pkgconfig-generation patch which has been integrated upstream,
be it in modified form.
Disable 1394 support by default to get a deterministic build.
Fix "jasper" dependency, the BUILD_JASPER parameter served only to build an internal
library, while WITH_JASPER actually controls whether jpeg2000 support was desired.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-06 07:33:25 +01:00
Nick D'Ademo e5d70fb940 opencv: Bump SRCREV to 2.4.9 release tag, PV is now 2.4.9+git.
Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10 16:07:16 +02:00
Otavio Salvador 1fe211750e opencv: Disable 'gtk' backend if X11 is not available
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-10 16:07:16 +02:00
Matthieu CRAPET c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Nick D'Ademo 46484d4689 opencv: Bump SRCREV, PV is now 2.4.8+git
Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-01 08:51:04 +01:00
Nick D'Ademo f7ab0eb3ba opencv: bump SRCREV and make recipe multilib build compatible
Pass LIB_SUFFIX to CMake during a multilib build so that the generated library folder has the correct suffix.

Signed-off-by: Nick D'Ademo <nickdademo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-05 19:48:08 +01:00
Khem Raj b5160bedf6 opencv: Upgrade to latest on 2.4 branch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-17 21:36:59 +02:00
Martin Jansa 68f092aa8b opencv: Add PACKAGECONFIG for jasper
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:40:35 +02:00
Khem Raj fe81c0e5af opencv: Update SRC_URI to use git
opencv now has moved to using git. Lets use the git
version to fetch SRCs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:40:35 +02:00
Stefan Herbrechtsmeier 3fd3b8153d opencv: update to 2.4.3 and fix some issues
* Update opencv and opencv-samples to 2.4.3
* Use tar instead of no longer available SVN repository
* Remove numpy detection patch and update related CMAKE variable
* Fix QA Issues: contains probably-redundant RPATH
* Add PACKAGES_DYNAMIC for split library packages

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-27 12:44:40 +01:00
Paul Eggleton 3a30c56238 Replace bb.data.* with d.*
Used sed expression given here:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html

Plus an additional expression for .expand. Full expression is:

sed \
-e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Some minor correction in systemd.bbclass was needed for some expressions
that didn't quite match the regex in the desired way; additionally a few
instances were manually changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 14:32:06 +00:00
Otavio Salvador 68f0544333 opencv: bump PR due libav update
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-05 11:27:25 +02:00
Martin Jansa 5cb8258d15 recipes: convert tabs to 4 spaces in populate_packages
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:18 +02:00
Koen Kooi aa4f437796 various: update ; proto= to ; protocol= in SRC_URI
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-16 11:06:40 +02:00
Koen Kooi 888509e75f opencv, opencv-samples: add 2.4.2
Libav is easier to get right than gstreamer, so switch back. Also enable libv4l for better v4l(2) support

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-13 10:19:57 +02:00