diff options
author | 2014-06-12 15:25:24 -0700 | |
---|---|---|
committer | 2014-06-12 15:25:24 -0700 | |
commit | 3c48304aa4e08f398fc73536942d308db5f5b86b (patch) | |
tree | 67b7b209ef1e29154e57afa689bd8480b0bc0878 /media-libs | |
parent | dev-db/mysql-5.5.38-r1: revbump (diff) | |
download | gmt-3c48304aa4e08f398fc73536942d308db5f5b86b.tar.gz gmt-3c48304aa4e08f398fc73536942d308db5f5b86b.tar.bz2 gmt-3c48304aa4e08f398fc73536942d308db5f5b86b.zip |
media-libs/opencv: revbump to 2.4.9 -- I forget why, some dependency problem?
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/opencv/ChangeLog | 475 | ||||
-rw-r--r-- | media-libs/opencv/Manifest | 9 | ||||
-rw-r--r-- | media-libs/opencv/files/opencv-2.3.1a-libav-0.7.patch | 10 | ||||
-rw-r--r-- | media-libs/opencv/files/opencv-2.4.2-cflags.patch | 21 | ||||
-rw-r--r-- | media-libs/opencv/files/opencv-2.4.3-gcc47.patch | 22 | ||||
-rw-r--r-- | media-libs/opencv/files/opencv-2.4.5-javamagic.patch | 32 | ||||
-rw-r--r-- | media-libs/opencv/files/opencv-2.4.8-javamagic.patch | 32 | ||||
-rw-r--r-- | media-libs/opencv/metadata.xml | 21 | ||||
-rw-r--r-- | media-libs/opencv/opencv-2.4.9.ebuild | 213 |
9 files changed, 835 insertions, 0 deletions
diff --git a/media-libs/opencv/ChangeLog b/media-libs/opencv/ChangeLog new file mode 100644 index 0000000..1231d68 --- /dev/null +++ b/media-libs/opencv/ChangeLog @@ -0,0 +1,475 @@ +# ChangeLog for media-libs/opencv +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/ChangeLog,v 1.107 2014/01/25 11:01:29 dilfridge Exp $ + + 25 Jan 2014; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.8.ebuild: + Remove constraint on opengl useflag, bug 499188 + + 24 Jan 2014; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.8.ebuild: + Only enable Qt4 so far, bug 483648 + +*opencv-2.4.8 (24 Jan 2014) + + 24 Jan 2014; Andreas K. Huettel <dilfridge@gentoo.org> + -opencv-2.4.6.1.ebuild, +opencv-2.4.8.ebuild, + +files/opencv-2.4.8-javamagic.patch: + Version bump; remove old + + 07 Dec 2013; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.7.ebuild: + Fix build without openmp, bug 493530 + +*opencv-2.4.7 (07 Dec 2013) + + 07 Dec 2013; Andreas K. Huettel <dilfridge@gentoo.org> +opencv-2.4.7.ebuild: + Version bump + + 06 Sep 2013; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.5.ebuild: + OpenCV-2.4.5 only works with CUDA 5.0 or lower, bug 483634 + +*opencv-2.4.6.1 (04 Sep 2013) + + 04 Sep 2013; Andreas K. Huettel <dilfridge@gentoo.org> + +opencv-2.4.6.1.ebuild: + Version bump, bug 480830 + + 27 Aug 2013; Alexis Ballier <aballier@gentoo.org> opencv-2.4.5.ebuild: + keyword ~amd64-fbsd + + 26 Jun 2013; Andreas K. Huettel <dilfridge@gentoo.org> -opencv-2.4.3.ebuild: + Clean up + + 25 Jun 2013; Agostino Sarubbo <ago@gentoo.org> opencv-2.4.5.ebuild: + Stable for amd64, wrt bug #473960 + + 25 Jun 2013; Agostino Sarubbo <ago@gentoo.org> opencv-2.4.5.ebuild: + Stable for x86, wrt bug #473960 + + 24 Jun 2013; Agostino Sarubbo <ago@gentoo.org> opencv-2.4.5.ebuild: + Stable for ppc, wrt bug #473960 + + 20 Jun 2013; Andreas K. Huettel <dilfridge@gentoo.org> + -files/opencv-2.3.0-numpy.patch, -files/opencv-2.3.1a-True-False.patch, + -files/opencv-2.3.1a-convert_sets_to_options.patch, + -files/opencv-2.3.1a-gcc47.patch, -files/opencv-2.3.1a-libsuffix.patch, + -files/opencv-2.3.1a-nocaps.patch, -files/opencv-2.4.4-javamagic.patch, + -opencv-2.4.4a.ebuild: + Clean up + + 11 Jun 2013; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.5.ebuild: + Add workaround for bug 413429 + + 02 May 2013; Andreas K. Huettel <dilfridge@gentoo.org> metadata.xml: + Clean up useflag descriptions + +*opencv-2.4.5 (02 May 2013) + + 02 May 2013; Andreas K. Huettel <dilfridge@gentoo.org> + -opencv-2.3.1a-r1.ebuild, +opencv-2.4.5.ebuild, + +files/opencv-2.4.5-javamagic.patch: + Version bump; remove old + + 06 Apr 2013; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.3.1a-r1.ebuild, -opencv-2.4.2.ebuild, opencv-2.4.3.ebuild, + opencv-2.4.4a.ebuild: + Remove old; libpng slot dependency + + 29 Mar 2013; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.4a.ebuild: + Add java support, thanks to sera for the help + +*opencv-2.4.4a (29 Mar 2013) + + 29 Mar 2013; Andreas K. Huettel <dilfridge@gentoo.org> + +files/opencv-2.4.4-javamagic.patch, +opencv-2.4.4a.ebuild: + Add first version without java support. Needs work. + + 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> opencv-2.3.1a-r1.ebuild, + opencv-2.4.2.ebuild, opencv-2.4.3.ebuild: + Move Qt dependencies to the new category + + 24 Feb 2013; Agostino Sarubbo <ago@gentoo.org> opencv-2.4.3.ebuild: + Stable for x86, wrt bug #455506 + + 24 Feb 2013; Agostino Sarubbo <ago@gentoo.org> opencv-2.4.3.ebuild: + Stable for amd64, wrt bug #455506 + + 23 Feb 2013; Agostino Sarubbo <ago@gentoo.org> opencv-2.4.3.ebuild: + Stable for ppc, wrt bug #455506 + + 22 Dec 2012; Anthony G. Basile <blueness@gentoo.org> opencv-2.4.3.ebuild: + Keyword ~ppc, bug #441946, thanks peratu + + 07 Nov 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + opencv-2.3.1a-r1.ebuild, opencv-2.4.2.ebuild, opencv-2.4.3.ebuild: + Slot gstreamer dependencies in preparation for gstreamer-1.0. + +*opencv-2.4.3 (05 Nov 2012) + + 05 Nov 2012; Andreas K. Huettel <dilfridge@gentoo.org> +opencv-2.4.3.ebuild, + +files/opencv-2.4.3-gcc47.patch: + Version bump + + 11 Sep 2012; Andreas K. Huettel <dilfridge@gentoo.org> + -opencv-2.3.1a-r20.ebuild, -opencv-2.4.0.ebuild, + -files/opencv-2.4.0-cflags.patch, opencv-2.4.2.ebuild: + Add missing dependency on virtual/glu, bug 434434; remove old + + 23 Aug 2012; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.2.ebuild: + Bump required nvidia-cuda-toolkit version to allow gcc-4.6, bug 431808 + + 17 Jul 2012; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.2.ebuild: + Python is always needed now, useflag makes no sense. Bug 419577 + +*opencv-2.4.2 (16 Jul 2012) + + 16 Jul 2012; Andreas K. Huettel <dilfridge@gentoo.org> +opencv-2.4.2.ebuild, + +files/opencv-2.4.2-cflags.patch: + Version bump + + 03 Jun 2012; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.0.ebuild: + Depend on nvidia-cuda-toolkit-4.1 and relax gcc requirements accordingly, bug + 418157 + + 03 Jun 2012; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.0.ebuild, + metadata.xml: + Renamed use flag test to testprograms, as it installs additional binaries + + 03 Jun 2012; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.4.0.ebuild, + metadata.xml: + sse* use flags only add to CFLAGS variable, so disable them as we do that + via, err, CFLAGS... Add pch use flag. + +*opencv-2.4.0 (28 May 2012) + + 28 May 2012; Andreas K. Huettel <dilfridge@gentoo.org> +opencv-2.4.0.ebuild, + +files/opencv-2.4.0-cflags.patch, metadata.xml: + Version bump + + 21 May 2012; Johannes Huber <johu@gentoo.org> + -files/opencv-2.3.0-convert_sets_to_options.patch, + -files/opencv-2.3.0-ffmpeg.patch, -files/opencv-2.3.0-libpng15.patch, + -files/opencv-2.3.0-symlink.patch, -opencv-2.3.0.ebuild: + Remove old. + + 21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> opencv-2.3.1a-r1.ebuild: + x86 stable wrt bug #409733 + + 06 May 2012; Andreas K. Huettel <dilfridge@gentoo.org> -opencv-2.3.1a.ebuild, + opencv-2.3.1a-r1.ebuild, opencv-2.3.1a-r20.ebuild, + +files/opencv-2.3.1a-gcc47.patch: + Add patch by Nicolas Schlumberger to fix gcc-4.7 compilation, bug 413159 + + 04 May 2012; Johannes Huber <johu@gentoo.org> opencv-2.3.0.ebuild, + opencv-2.3.1a-r1.ebuild, opencv-2.3.1a-r20.ebuild, opencv-2.3.1a.ebuild: + Migrate to virtual/pkgconfig. + + 24 Apr 2012; Mike Frysinger <vapier@gentoo.org> + files/opencv-2.3.0-convert_sets_to_options.patch, + files/opencv-2.3.1a-convert_sets_to_options.patch: + Drop -mfpmath=387 hardcode for x86 systems -- this breaks cross-compiling as + the detection is uname based instead of target, and we really do not want to + hardcode this anyways (let the user pick). + + 22 Apr 2012; Agostino Sarubbo <ago@gentoo.org> opencv-2.3.1a-r1.ebuild: + Stable for amd64, wrt bug #409733 + +*opencv-2.3.1a-r20 (21 Apr 2012) + + 21 Apr 2012; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.3.1a-r1.ebuild, +opencv-2.3.1a-r20.ebuild: + Add identical ~arch version, remove ipp useflag in version to be stabilized + + 17 Apr 2012; Brent Baude <ranger@gentoo.org> opencv-2.3.1a-r1.ebuild: + Marking opencv-2.3.1a-r1 ppc for bug 409733 + + 15 Apr 2012; Jeremy Olexa <darkside@gentoo.org> opencv-2.3.1a-r1.ebuild: + add ~amd64-linux based on testing in bug 351218 + + 12 Jan 2012; Mike Frysinger <vapier@gentoo.org> opencv-2.3.0.ebuild: + Also drop fortran from 2.3.0 ebuild #392297. + +*opencv-2.3.1a-r1 (31 Dec 2011) + + 31 Dec 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +opencv-2.3.1a-r1.ebuild, +files/opencv-2.3.1a-True-False.patch: + Added the True/False patch, kinda makes sense. Let's hope upstream follows. + Bug 393685. + + 29 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.3.1a.ebuild: + Does not need fortran anymore, bug 392297 + + 29 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.3.1a.ebuild: + Properly compare gcc version, bug 390983 + + 22 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.3.0.ebuild, + -opencv-2.3.0-r1.ebuild, opencv-2.3.1a.ebuild: + Add missing inherit, should fix bug 390983 + + 14 Nov 2011; Luca Barbato <lu_zero@gentoo.org> opencv-2.3.1a.ebuild, + +files/opencv-2.3.1a-libav-0.7.patch: + Fix libavutil usage + + 13 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.3.1a.ebuild: + Does not work with libav-0.8_pre, bug 384021 + +*opencv-2.3.1a (13 Nov 2011) + + 13 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org> +opencv-2.3.1a.ebuild, + +files/opencv-2.3.1a-convert_sets_to_options.patch, + +files/opencv-2.3.1a-libsuffix.patch, +files/opencv-2.3.1a-nocaps.patch: + Version bump, thanks to Andreas Sturmlechner for his help + + 15 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> metadata.xml: + Remove description for USE flags "deprecated" and "octave" + + 15 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> + -files/opencv-2.0.0-libpng14.patch, -opencv-2.1.0.ebuild, + -files/opencv-2.1.0-mmap.patch, -files/opencv-2.1.0-multilib.patch, + -opencv-2.2.0.ebuild, -opencv-2.2.0-r10.ebuild, + -files/opencv-2.2.0-convert_sets_to_options.patch, + -files/opencv-2.2.0-ffmpeg01.patch, -files/opencv-2.2.0-ffmpeg02.patch, + -files/opencv-2.2.0-findblas.patch, -files/opencv-2.2.0-findnpp.patch, + -files/opencv-2.2.0-fortran.patch, -files/opencv-2.2.0-gcc46.patch, + -files/opencv-2.2.0-libpng1.5.patch, -files/opencv-2.2.0-numpy.patch, + -files/opencv-2.2.0-ptrcvcapture.patch, + -files/opencv-2.2.0-use_system_libs.patch, + -files/opencv-2.2.0-v4l_2.6.38.patch: + old + + 15 Oct 2011; Markus Meier <maekke@gentoo.org> opencv-2.3.0.ebuild: + x86 stable, bug #385211 + + 15 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> opencv-2.3.0.ebuild: + ppc stable wrt #385211 + + 15 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> opencv-2.3.0.ebuild, + opencv-2.3.0-r1.ebuild: + Missing x11-libs/qt-test:4 depend wrt #387205 by Kacper Kowalik + + 08 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> opencv-2.3.0.ebuild: + amd64 stable wrt #385211 + + 07 Oct 2011; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.3.0.ebuild, + opencv-2.3.0-r1.ebuild: + flann is now completely integrated, and it makes no sense to unbundle it + anymore; cleanups + +*opencv-2.3.0-r1 (06 Oct 2011) + + 06 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> opencv-2.3.0.ebuild, + +opencv-2.3.0-r1.ebuild: + Revision bump to drop USE="ipp" for 2.3.0 stabilization. + + 26 Sep 2011; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.3.0.ebuild: + Disable cuda support if >=gcc-4.5, bug 383847 + + 22 Sep 2011; Andreas K. Huettel <dilfridge@gentoo.org> opencv-2.3.0.ebuild: + Tests subdirectory has been removed from distribution + + 20 Sep 2011; Markos Chandras <hwoarang@gentoo.org> opencv-2.3.0.ebuild, + +files/opencv-2.3.0-libpng15.patch: + Add patch for libpng-1.5 support. Bug #383571. Thanks to Erich Seifert + <eseifert@error-reports.org> + +*opencv-2.3.0 (18 Sep 2011) + + 18 Sep 2011; Andreas K. Huettel <dilfridge@gentoo.org> +opencv-2.3.0.ebuild, + +files/opencv-2.3.0-convert_sets_to_options.patch, + +files/opencv-2.3.0-ffmpeg.patch, +files/opencv-2.3.0-numpy.patch, + +files/opencv-2.3.0-symlink.patch: + Version bump + + 06 Sep 2011; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.2.0-r10.ebuild: + Bump libdc1394 version dependency to fix usb_init symbol conflict, bug 380287 + + 10 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> opencv-2.1.0.ebuild, + opencv-2.2.0-r10.ebuild: + Marked ~ppc, dropped ppc64 wrt #365451 + + 18 Jul 2011; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.2.0-r10.ebuild: + Require new enough cmake for the FindBLAS and FindLAPACK fixes, bug 373557 + + 13 Jul 2011; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.2.0-r10.ebuild, +files/opencv-2.2.0-findblas.patch: + Find BLAS using pkgconfig, bug 373557 + + 26 Jun 2011; Brent Baude <ranger@gentoo.org> opencv-2.1.0.ebuild: + Marking opencv-2.1.0 ppc for bug 365273 + + 21 Jun 2011; Justin Lecher <jlec@gentoo.org> opencv-2.1.0.ebuild, + opencv-2.2.0.ebuild, opencv-2.2.0-r10.ebuild: + Add dependency on virtual/fortran + + 21 Jun 2011; Justin Lecher <jlec@gentoo.org> opencv-2.1.0.ebuild, + opencv-2.2.0.ebuild, opencv-2.2.0-r10.ebuild: + Added fortran-2.eclass support + + 09 Jun 2011; Jeroen Roovers <jer@gentoo.org> opencv-2.1.0.ebuild: + Drop HPPA keywording (bug #365451). + + 16 May 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +files/opencv-2.2.0-findnpp.patch: + Add missing patch + + 15 May 2011; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.2.0-r10.ebuild: + Fix CUDA integration, bug 365509 + + 11 May 2011; Andreas K. Huettel <dilfridge@gentoo.org> -opencv-2.0.0.ebuild, + -files/opencv-2.0.0-multilib.patch: + Drop old + + 09 May 2011; Markos Chandras <hwoarang@gentoo.org> opencv-2.2.0.ebuild: + Stable on amd64 wrt bug #354033 + + 09 May 2011; Thomas Kahle <tomka@gentoo.org> opencv-2.2.0.ebuild: + x86 stable per bug 354033 + + 01 May 2011; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.2.0.ebuild: + Disable cuda to ease stabilization + + 01 May 2011; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.2.0.ebuild, opencv-2.2.0-r10.ebuild, + +files/opencv-2.2.0-fortran.patch: + Need fortran enabled in gcc and cmake configure script, bug 365493 + +*opencv-2.2.0-r10 (30 Apr 2011) + + 30 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org> + opencv-2.2.0.ebuild, +opencv-2.2.0-r10.ebuild: + Hard-disable ipp in -r0 to ease stabilization, create -r10 with ipp + support + +*opencv-2.2.0 (30 Apr 2011) + + 30 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +opencv-2.2.0.ebuild, +files/opencv-2.2.0-convert_sets_to_options.patch, + +files/opencv-2.2.0-ffmpeg01.patch, +files/opencv-2.2.0-ffmpeg02.patch, + +files/opencv-2.2.0-gcc46.patch, +files/opencv-2.2.0-libpng1.5.patch, + +files/opencv-2.2.0-numpy.patch, +files/opencv-2.2.0-ptrcvcapture.patch, + +files/opencv-2.2.0-use_system_libs.patch, + +files/opencv-2.2.0-v4l_2.6.38.patch, metadata.xml: + Version bump, with a lot of help from Scarabeus + + 29 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> metadata.xml: + Move package to KDE herd because of digikam and kipi-plugins. + + 14 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> opencv-2.0.0.ebuild, + opencv-2.1.0.ebuild: + Migrate to virutal/ffmpeg. Per bug #362081. + + 25 Nov 2010; Jeroen Roovers <jer@gentoo.org> opencv-2.1.0.ebuild: + Marked ~hppa (bug #340269). + + 09 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> opencv-2.0.0.ebuild, + opencv-2.1.0.ebuild: + Use virtual/jpeg wrt #327487. + + 27 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> opencv-2.1.0.ebuild, + +files/opencv-2.1.0-mmap.patch: + Fix bug in v4l code wrt #313649, Comment #14 by Uwe Sauter. + +*opencv-2.1.0 (27 Jul 2010) + + 27 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> +opencv-2.1.0.ebuild, + +files/opencv-2.1.0-multilib.patch, metadata.xml: + Version bump. + + 16 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> + opencv-2.0.0-r1.ebuild: + Fix building with FFmpeg >= 0.6 wrt #324259 by Alexis Ballier. + + 12 May 2010; Samuli Suominen <ssuominen@gentoo.org> opencv-2.0.0.ebuild: + Backport -libpng14.patch to -r0 of 2.0.0 because -r1 can't be stabilized. + + 09 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> + opencv-2.0.0-r1.ebuild, +files/opencv-2.0.0-libpng14.patch: + Fix building with libpng14. + + 06 Feb 2010; Ulrich Mueller <ulm@gentoo.org> opencv-2.0.0.ebuild, + opencv-2.0.0-r1.ebuild: + Fix LICENSE, bug 301123. + + 06 Jan 2010; Joseph Jezak <josejx@gentoo.org> opencv-2.0.0-r1.ebuild: + Marked ~ppc64. + + 07 Dec 2009; Markus Meier <maekke@gentoo.org> opencv-2.0.0.ebuild: + x86 stable, bug #295475 + +*opencv-2.0.0-r1 (04 Dec 2009) + + 04 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> opencv-2.0.0.ebuild, + +opencv-2.0.0-r1.ebuild: + amd64 stable wrt #295475. Revision bump to skip sci-libs/ipp depend for + -r0. + +*opencv-2.0.0 (16 Oct 2009) + + 16 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> +opencv-2.0.0.ebuild, + +files/opencv-2.0.0-multilib.patch, metadata.xml: + Version bump wrt #289258. Thanks to Aaron Mavrinac for ebuild. + + 25 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> + opencv-1.0.0-r1.ebuild, +files/opencv-1.0.0-gcc44.patch: + Fix building with GCC 4.4 wrt #274261. + + 02 Mar 2009; Thomas Anderson <gentoofan23@gentoo.org> + opencv-1.0.0-r1.ebuild: + Bump needed swig version to fix bug #260172 + + 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> + +files/opencv-1.0.0-fix-swig.patch, opencv-1.0.0-r1.ebuild: + Fixing small error in the building of py bindings. Patch from John + Keeping, closes #258652 + + 27 Dec 2008; Thomas Anderson <gentoofan23@gentoo.org> metadata.xml, + opencv-1.0.0-r1.ebuild: + Fix homepage, bug #252367 by Thomas Pani. Tweak metadata.xml a bit + + 02 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + metadata.xml: + Removing jmglov as a maintainer since he was retired. + + 12 Oct 2008; Thomas Anderson <gentoofan23@gentoo.org> + +files/opencv-1.0.0-swiginvalidlinkingoptions.patch, + opencv-1.0.0-r1.ebuild: + Fix problems when SWIG_PYTHON_LIBS was empty, resulting in '-L -o'. Reported + by Blorby in bug #239563, patch stolen from Exherbo + + 25 Oct 2008; Pieter Van den Abeele <pvdabeel@gentoo.org> opencv-1.0.0-r1.ebuild: + Keyworded ~ppc. Closes bug #236085 + + 14 Sep 2008; Thomas Anderson <gentoofan23@gentoo.org> metadata.xml: + Picking up maintainership as current maintainer is inactive. + + 29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/opencv-1.0.0-ffmpeg-0.4.9_p20080326.patch, opencv-1.0.0-r1.ebuild: + Add patch for ffmpeg-0.4.9_p20080326 compatibility. Depends for ffmpeg + raised to >=ffmpeg-0.4.9_p20080326. Bug #229621 and bug #229405. + +*opencv-1.0.0-r1 (23 Jun 2008) + + 23 Jun 2008; Thomas Anderson <gentoofan23@gentoo.org> + +files/opencv-1.0.0-addoptionalsamples.patch, + +files/opencv-1.0.0-automagicdependencies.patch, + +files/opencv-1.0.0-cvcapffmpegundefinedsymbols.patch, + +files/opencv-1.0.0-enableuseflags.patch, + +files/opencv-1.0.0-fixpythonmultilib.patch, + +files/opencv-1.0.0-havepngexrdefs.patch, -opencv-1.0.0.ebuild, + +opencv-1.0.0-r1.ebuild: + Import changes from science overlay, fixes tons of automagic bugs as well as + multilib bugs. Keyworded ~amd64 + + 20 Jun 2008; Samuli Suominen <drac@gentoo.org> opencv-1.0.0.ebuild: + QAbaddep; pkgconfig is only a build-time depend. + + 18 Jun 2008; Josh Glover <jmglov@gentoo.org> opencv-1.0.0.ebuild: + added missing src_install() so that package installs files + +*opencv-1.0.0 (18 Jun 2008) + + 18 Jun 2008; Josh Glover <jmglov@gentoo.org> +metadata.xml, + +opencv-1.0.0.ebuild: + Added to Portage tree diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest new file mode 100644 index 0000000..c851e01 --- /dev/null +++ b/media-libs/opencv/Manifest @@ -0,0 +1,9 @@ +AUX opencv-2.3.1a-libav-0.7.patch 415 SHA256 3186998b7b9eaae061d538633276c7de47b2388b639106e190d80dcf09fb9099 SHA512 b17466470a47876e1a8434367f47ce13ec989bdc35ec707d87188187e08b8ccca6af4c5563f20b3170758582b500323030cff22961a7fbbc6b4843d8bb808f1e WHIRLPOOL 5caf84c49efef118e1c90f6bd88237c6d91e9b37163248e5a6f6c135ae60f5f4f4328d83f061df2c4d5f81fdf68faa5b55828feaf67707956701c633614cc5fc +AUX opencv-2.4.2-cflags.patch 742 SHA256 7ea8c07becb830fb03c14bfbf6c25fdfeaf3fcb75949b810520f4fd6c1178c1c SHA512 b92c07d8c9c40ad7721e0cca2d79b001f825478a336ad40cb43d02218fcd9e8b94b871575028ca8eaf6616cfce8138c796f32d4cf55d83d5cbe819ec50cf7c82 WHIRLPOOL f83ee4b677490cf6981b5a326ae6a7ad4cfae1c27fc6c516d054337939957d801ff1319798d2b0b9e86429b8d688f514e74b74bfff56c64df06fc3c7035f320e +AUX opencv-2.4.3-gcc47.patch 835 SHA256 bb64b8af632b67293d1c8024b3786162fccc9f4ee4159f6592af0e76e86b7b00 SHA512 cc5e3e4c0def0745867403e990abf4b88d7d3edc72867a283403a991fd96f59c4cca6524ca184a52a40c913cd5d9cdfb52e98be71d5060fc4c7aa6b613a2a220 WHIRLPOOL 52aa228d8ebf2ba51eb67cc31ba4eee27f43d5fc86d3b5028e32e2a8caf1350ebda70bab2a060f9a387312795788b575253d446380645e52e7cf10f57cad9a88 +AUX opencv-2.4.5-javamagic.patch 1140 SHA256 1a3fd6918982909dc1de4258cc386139f7005617032cb457d5ea521f0b4d2ad5 SHA512 f283529bc6482203b2ffdf57aafcdf80351eaf8d09c07c6f14991e5d6bc25679dab31f3dd0475b1eee32f9ba8636e9ba96755b90c96de7059c8f69c0d43746aa WHIRLPOOL a483809bfe0ca11a299757bd1ec42ada5fc1d415eb366f9e2d05a6e8a30dec6b8d8baf662da0041632e23b3ed0d4f90e612fb15ede0e126c09e9a98da7a9621c +AUX opencv-2.4.8-javamagic.patch 1165 SHA256 b13037b93683ee8e6f535cbbd8742005e675e13a11ebd6593815625c3328bfec SHA512 fd8a0d33997889c9316c0a4474c836b2528b676cd26bbb0e6ee2262377e45c5a0c465534831bd7fec3c0aa9cb198bc792a53f958b05a5217009314b678076d64 WHIRLPOOL 405901f0de77d1f16dc9d28deec6a56062bbfd514994ec094f468ea2298a15111067031cef33ce92b4c237539ed2ee294ec54e2ea6b5c739466e879c291af964 +DIST opencv-2.4.9.zip 91684751 SHA256 803010848154988e9cbda8b3fa857fcbb27382c2946ed729e1a7e40600bb4c71 SHA512 8eb6ee11d8260428ae461e06348ce037979efc29b7e33d59c3d348a6b4bae95b7004df4527aba7c634e7356f7b5635c98493dc15a0b43479e8f10f7258540c62 WHIRLPOOL 5bb5e39678b3072b2e8b923216529c84982559dd69d5ec51b8703e65af3401f3a8ff31e4e3bfc076480d0605e333df0b03a61713a927ec058bfaf25b4fa8fd5e +EBUILD opencv-2.4.9.ebuild 5818 SHA256 190da86183dc78feb6ad3f3f779e18b5dfd13fc1b44970e62f0af399108a2cba SHA512 6452194524bd7598654ada564c99c5e7afe6c95abd4b65efc2468a89e4d95cb84fba7f7b6ff118f97bb7c0f3be5e671cd45d231370502dad4157b40d0030adc5 WHIRLPOOL 7e5c8d5306e3a343589c17ab589514a3ad31eef4da2e15af830562e74a4ef500ab1a26d2013fb36d14772526ee11c6258d8c1ef4f3900fafa66d1f0e24bbce15 +MISC ChangeLog 18272 SHA256 6e3638e31c18084b34977a9db1b5e4406fc59b6b8136cd09d7a1fa66dfa3985f SHA512 6b1db5ec616e03d55bb3da64be90c492493fc2d4308b9b02df08097c45d340e628ebb8cb4ba5f41a49a3f25b3f3392f73b8ce70b80b25a907f6da72b2e044c7a WHIRLPOOL 48576b4256a89af7a270fbd12cb3681bd5926aef8511d982ecdf7642030dd09ef179d71abe32c730a90dcb94d2098dc58b4cce7187cd2bd3e9183f63f6c8c55e +MISC metadata.xml 1058 SHA256 a8c4be7d80245b258f435bee2afaab35dd8665bdaea986b389527c80d25f8b68 SHA512 d3dde0afab2a1b6960d47838ffd7af97311df04ebfff091ef200ce93268e5efc3c28e4c35e848c8faac0a95b92e63b8cc2b51e72e3df8709c1951a6ba346974b WHIRLPOOL eeae49e5972bf997954d69f29bc6f058c7c8eeed2a7f1791517e9344f28e32e60e76c3fee9ecca06f48548882e0b8ccabe10ce0b3bc7ca1cc40662a6f411a0a1 diff --git a/media-libs/opencv/files/opencv-2.3.1a-libav-0.7.patch b/media-libs/opencv/files/opencv-2.3.1a-libav-0.7.patch new file mode 100644 index 0000000..5909070 --- /dev/null +++ b/media-libs/opencv/files/opencv-2.3.1a-libav-0.7.patch @@ -0,0 +1,10 @@ +--- OpenCV-2.3.1.orig/modules/highgui/src/cap_ffmpeg_impl.hpp 2011-11-14 05:33:37.000000000 +0100 ++++ OpenCV-2.3.1/modules/highgui/src/cap_ffmpeg_impl.hpp 2011-11-14 05:33:18.000000000 +0100 +@@ -104,6 +104,7 @@ + #endif + #if defined(HAVE_LIBAVCODEC_AVCODEC_H) + #include <libavcodec/avcodec.h> ++ #include <libavutil/mathematics.h> + #endif + #if defined(HAVE_LIBSWSCALE_SWSCALE_H) + #include <libswscale/swscale.h> diff --git a/media-libs/opencv/files/opencv-2.4.2-cflags.patch b/media-libs/opencv/files/opencv-2.4.2-cflags.patch new file mode 100644 index 0000000..d52e6b6 --- /dev/null +++ b/media-libs/opencv/files/opencv-2.4.2-cflags.patch @@ -0,0 +1,21 @@ +diff -ruN OpenCV-2.4.2.orig/cmake/OpenCVCompilerOptions.cmake OpenCV-2.4.2/cmake/OpenCVCompilerOptions.cmake +--- OpenCV-2.4.2.orig/cmake/OpenCVCompilerOptions.cmake 2012-06-29 00:55:15.000000000 +0200 ++++ OpenCV-2.4.2/cmake/OpenCVCompilerOptions.cmake 2012-07-16 23:51:24.244907235 +0200 +@@ -110,17 +110,6 @@ + endif() + + # Other optimizations +- if(ENABLE_OMIT_FRAME_POINTER) +- add_extra_compiler_option(-fomit-frame-pointer) +- else() +- add_extra_compiler_option(-fno-omit-frame-pointer) +- endif() +- if(ENABLE_FAST_MATH) +- add_extra_compiler_option(-ffast-math) +- endif() +- if(ENABLE_POWERPC) +- add_extra_compiler_option("-mcpu=G3 -mtune=G5") +- endif() + if(ENABLE_SSE) + add_extra_compiler_option(-msse) + endif() diff --git a/media-libs/opencv/files/opencv-2.4.3-gcc47.patch b/media-libs/opencv/files/opencv-2.4.3-gcc47.patch new file mode 100644 index 0000000..13ac8f8 --- /dev/null +++ b/media-libs/opencv/files/opencv-2.4.3-gcc47.patch @@ -0,0 +1,22 @@ +diff -ruN OpenCV-2.4.3.orig/modules/highgui/src/grfmt_tiff.cpp OpenCV-2.4.3/modules/highgui/src/grfmt_tiff.cpp +--- OpenCV-2.4.3.orig/modules/highgui/src/grfmt_tiff.cpp 2012-10-12 00:55:12.000000000 +0200 ++++ OpenCV-2.4.3/modules/highgui/src/grfmt_tiff.cpp 2012-11-05 21:37:40.000000000 +0100 +@@ -47,6 +47,7 @@ + + #include "precomp.hpp" + #include "grfmt_tiff.hpp" ++#include "unistd.h" + + namespace cv + { +diff -ruN OpenCV-2.4.3.orig/modules/highgui/src/window_QT.h OpenCV-2.4.3/modules/highgui/src/window_QT.h +--- OpenCV-2.4.3.orig/modules/highgui/src/window_QT.h 2012-10-18 00:55:38.000000000 +0200 ++++ OpenCV-2.4.3/modules/highgui/src/window_QT.h 2012-11-05 21:38:41.000000000 +0100 +@@ -41,6 +41,7 @@ + #define __OPENCV_HIGHGUI_QT_H__ + + #include "precomp.hpp" ++#include "unistd.h" + + #if defined( HAVE_QT_OPENGL ) + #include <QtOpenGL> diff --git a/media-libs/opencv/files/opencv-2.4.5-javamagic.patch b/media-libs/opencv/files/opencv-2.4.5-javamagic.patch new file mode 100644 index 0000000..00597b9 --- /dev/null +++ b/media-libs/opencv/files/opencv-2.4.5-javamagic.patch @@ -0,0 +1,32 @@ +diff -ruN opencv-2.4.5-1-gentoo/CMakeLists.txt opencv-2.4.5/CMakeLists.txt +--- opencv-2.4.5-1-gentoo/CMakeLists.txt 2013-04-05 11:00:20.000000000 +0200 ++++ opencv-2.4.5/CMakeLists.txt 2013-05-02 18:38:59.412094714 +0200 +@@ -147,6 +147,7 @@ + OCV_OPTION(WITH_OPENCL "Include OpenCL Runtime support" ON IF (NOT ANDROID AND NOT IOS) ) + OCV_OPTION(WITH_OPENCLAMDFFT "Include AMD OpenCL FFT library support" ON IF (NOT ANDROID AND NOT IOS) ) + OCV_OPTION(WITH_OPENCLAMDBLAS "Include AMD OpenCL BLAS library support" ON IF (NOT ANDROID AND NOT IOS) ) ++OCV_OPTION(WITH_JAVA "Include Java support" ON) + + + # OpenCV build components +@@ -395,6 +396,8 @@ + include(cmake/OpenCVDetectPython.cmake) + + # --- Java Support --- ++if(WITH_JAVA) ++ + include(cmake/OpenCVDetectApacheAnt.cmake) + if(ANDROID) + include(cmake/OpenCVDetectAndroidSDK.cmake) +@@ -412,6 +415,11 @@ + SET(CAN_BUILD_ANDROID_PROJECTS FALSE) + endif() + ++else() ++ SET(ANT_EXECUTABLE "") ++ SET(CAN_BUILD_ANDROID_PROJECTS FALSE) ++endif() ++ + # --- OpenCL --- + if(WITH_OPENCL) + include(cmake/OpenCVDetectOpenCL.cmake) diff --git a/media-libs/opencv/files/opencv-2.4.8-javamagic.patch b/media-libs/opencv/files/opencv-2.4.8-javamagic.patch new file mode 100644 index 0000000..766abc1 --- /dev/null +++ b/media-libs/opencv/files/opencv-2.4.8-javamagic.patch @@ -0,0 +1,32 @@ +diff -ruN opencv-2.4.8.orig/CMakeLists.txt opencv-2.4.8/CMakeLists.txt +--- opencv-2.4.8.orig/CMakeLists.txt 2013-12-27 18:09:18.000000000 +0100 ++++ opencv-2.4.8/CMakeLists.txt 2014-01-24 22:06:12.000000000 +0100 +@@ -164,6 +164,7 @@ + OCV_OPTION(WITH_OPENCLAMDFFT "Include AMD OpenCL FFT library support" ON IF (NOT ANDROID AND NOT IOS) ) + OCV_OPTION(WITH_OPENCLAMDBLAS "Include AMD OpenCL BLAS library support" ON IF (NOT ANDROID AND NOT IOS) ) + OCV_OPTION(WITH_INTELPERC "Include Intel Perceptual Computing support" OFF IF WIN32 ) ++OCV_OPTION(WITH_JAVA "Include Java support" ON) + + # OpenCV build components + # =================================================== +@@ -449,6 +450,8 @@ + include(cmake/OpenCVDetectPython.cmake) + + # --- Java Support --- ++if(WITH_JAVA) ++ + include(cmake/OpenCVDetectApacheAnt.cmake) + if(ANDROID) + include(cmake/OpenCVDetectAndroidSDK.cmake) +@@ -466,6 +469,11 @@ + SET(CAN_BUILD_ANDROID_PROJECTS FALSE) + endif() + ++else() ++ SET(ANT_EXECUTABLE "") ++ SET(CAN_BUILD_ANDROID_PROJECTS FALSE) ++endif() ++ + # --- OpenCL --- + if(WITH_OPENCL) + include(cmake/OpenCVDetectOpenCL.cmake) diff --git a/media-libs/opencv/metadata.xml b/media-libs/opencv/metadata.xml new file mode 100644 index 0000000..a796e59 --- /dev/null +++ b/media-libs/opencv/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde</herd> +<maintainer> + <email>dilfridge@gentoo.org</email> + <name>Andreas K. Huettel</name> +</maintainer> +<longdescription> +OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real time computer vision. +Example applications of the OpenCV library are Human-Computer Interaction (HCI); Object Identification, Segmentation and Recognition; +Face Recognition; Gesture Recognition; Motion Tracking, Ego Motion, Motion Understanding; Structure From Motion (SFM); and Mobile Robotics. +</longdescription> +<use> + <flag name="cuda">Enable NVIDIA Cuda computations support</flag> + <flag name="eigen">Enable usage of <pkg>dev-cpp/eigen</pkg> for computations</flag> + <flag name="ipp">Enable Intel Integrated Primitive support</flag> + <flag name="opencl">Add support for OpenCL</flag> + <flag name="testprograms">Build and install programs for testing OpenCV (performance)</flag> +</use> +</pkgmetadata> diff --git a/media-libs/opencv/opencv-2.4.9.ebuild b/media-libs/opencv/opencv-2.4.9.ebuild new file mode 100644 index 0000000..81bb706 --- /dev/null +++ b/media-libs/opencv/opencv-2.4.9.ebuild @@ -0,0 +1,213 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/opencv-2.4.8.ebuild,v 1.3 2014/01/25 11:01:29 dilfridge Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_{6,7} ) + +inherit base toolchain-funcs cmake-utils python-single-r1 java-pkg-opt-2 java-ant-2 + +DESCRIPTION="A collection of algorithms and sample code for various computer vision problems" +HOMEPAGE="http://opencv.willowgarage.com" + +SRC_URI="mirror://sourceforge/opencvlibrary/opencv-unix/${PV}/${P}.zip" + +LICENSE="BSD" +SLOT="0/2.4" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux" +IUSE="cuda doc +eigen examples ffmpeg gstreamer gtk ieee1394 ipp jpeg jpeg2k opencl openexr opengl openmp pch png +python qt4 testprograms threads tiff v4l xine" +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +# The following logic is intrinsic in the build system, but we do not enforce +# it on the useflags since this just blocks emerging pointlessly: +# gtk? ( !qt4 ) +# opengl? ( || ( gtk qt4 ) ) +# openmp? ( !threads ) + +RDEPEND=" + app-arch/bzip2 + sys-libs/zlib + cuda? ( >=dev-util/nvidia-cuda-toolkit-5.5 ) + ffmpeg? ( virtual/ffmpeg ) + gstreamer? ( + media-libs/gstreamer:0.10 + media-libs/gst-plugins-base:0.10 + ) + gtk? ( + dev-libs/glib:2 + x11-libs/gtk+:2 + opengl? ( x11-libs/gtkglext ) + ) + java? ( >=virtual/jre-1.6 ) + jpeg? ( virtual/jpeg ) + jpeg2k? ( media-libs/jasper ) + ieee1394? ( + media-libs/libdc1394 + sys-libs/libraw1394 + ) + ipp? ( sci-libs/ipp ) + opencl? ( virtual/opencl ) + openexr? ( media-libs/openexr ) + opengl? ( virtual/opengl virtual/glu ) + png? ( media-libs/libpng:0= ) + python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] ) + qt4? ( + dev-qt/qtgui:4 + dev-qt/qttest:4 + opengl? ( dev-qt/qtopengl:4 ) + ) + threads? ( dev-cpp/tbb ) + tiff? ( media-libs/tiff ) + v4l? ( >=media-libs/libv4l-0.8.3 ) + xine? ( media-libs/xine-lib ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + eigen? ( dev-cpp/eigen:3 ) + java? ( >=virtual/jdk-1.6 ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2.3.1a-libav-0.7.patch" + "${FILESDIR}/${PN}-2.4.3-gcc47.patch" + "${FILESDIR}/${PN}-2.4.2-cflags.patch" + "${FILESDIR}/${PN}-2.4.8-javamagic.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + base_src_prepare + + # remove bundled stuff + rm -rf 3rdparty + sed -i \ + -e '/add_subdirectory(3rdparty)/ d' \ + CMakeLists.txt || die + + java-pkg-opt-2_src_prepare +} + +src_configure() { + if use openmp; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + + JAVA_ANT_ENCODING="iso-8859-1" + # set encoding so even this cmake build will pick it up. + export ANT_OPTS+=" -Dfile.encoding=iso-8859-1" + java-ant-2_src_configure + + # please dont sort here, order is the same as in CMakeLists.txt + local mycmakeargs=( + # the optinal dependency libraries + $(cmake-utils_use_with ieee1394 1394) + -DWITH_AVFOUNDATION=OFF + -DWITH_CARBON=OFF + $(cmake-utils_use_with eigen) + $(cmake-utils_use_with ffmpeg) + $(cmake-utils_use_with gstreamer) + $(cmake-utils_use_with gtk) + $(cmake-utils_use_with ipp) + $(cmake-utils_use_with java) + $(cmake-utils_use_with jpeg2k JASPER) + $(cmake-utils_use_with jpeg) + $(cmake-utils_use_with opencl) + # $(cmake-utils_use_with opencl OPENCLAMDFFT) + # $(cmake-utils_use_with opencl OPENCLAMDBLAS) + $(cmake-utils_use_with openexr) + $(cmake-utils_use_with opengl) + $(cmake-utils_use_with openmp) + -DWITH_OPENNI=OFF # not packaged + $(cmake-utils_use_with png) + $(cmake-utils_use_build python opencv_python) + -DWITH_PVAPI=OFF # not packaged + -DWITH_QUICKTIME=OFF + $(cmake-utils_use_with threads TBB) + $(cmake-utils_use_with tiff) + -DWITH_UNICAP=OFF # not packaged + $(cmake-utils_use_with v4l V4L) + -DWITH_LIBV4L=ON + -DWITH_VIDEOINPUT=OFF # windows only + -DWITH_XIMEA=OFF # windows only + $(cmake-utils_use_with xine) + # the build components + -DBUILD_SHARED_LIBS=ON + -DBUILD_ANDROID_EXAMPLES=OFF + $(cmake-utils_use_build doc DOCS) + $(cmake-utils_use_build examples) + -DBUILD_PERF_TESTS=OFF + $(cmake-utils_use_build testprograms TESTS) + # install examples + $(cmake-utils_use examples INSTALL_C_EXAMPLES) + # build options + $(cmake-utils_use_enable pch PRECOMPILED_HEADERS) + -DENABLE_OMIT_FRAME_POINTER=OFF # + -DENABLE_FAST_MATH=OFF # + -DENABLE_SSE=OFF # these options do nothing but + -DENABLE_SSE2=OFF # add params to CFLAGS + -DENABLE_SSE3=OFF + -DENABLE_SSSE3=OFF + -DENABLE_SSE41=OFF + -DENABLE_SSE42=OFF + -DOPENCV_EXTRA_FLAGS_RELEASE="" # black magic + ) + + if use qt4; then + mycmakeargs+=( "-DWITH_QT=4" ) + else + mycmakeargs+=( "-DWITH_QT=OFF" ) + fi + + if use cuda; then + if [[ "$(gcc-version)" > "4.7" ]]; then + ewarn "CUDA and >=sys-devel/gcc-4.8 do not play well together. Disabling CUDA support." + mycmakeargs+=( "-DWITH_CUDA=OFF" ) + mycmakeargs+=( "-DWITH_CUBLAS=OFF" ) + mycmakeargs+=( "-DWITH_CUFFT=OFF" ) + else + mycmakeargs+=( "-DWITH_CUDA=ON" ) + mycmakeargs+=( "-DWITH_CUBLAS=ON" ) + mycmakeargs+=( "-DWITH_CUFFT=ON" ) + fi + else + mycmakeargs+=( "-DWITH_CUDA=OFF" ) + mycmakeargs+=( "-DWITH_CUBLAS=OFF" ) + mycmakeargs+=( "-DWITH_CUFFT=OFF" ) + fi + + if use examples && use python; then + mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=ON" ) + else + mycmakeargs+=( "-DINSTALL_PYTHON_EXAMPLES=OFF" ) + fi + + # things we want to be hard off or not yet figured out + mycmakeargs+=( + "-DOPENCV_BUILD_3RDPARTY_LIBS=OFF" + "-DBUILD_LATEX_DOCS=OFF" + "-DBUILD_PACKAGE=OFF" + "-DENABLE_PROFILING=OFF" + ) + + # things we want to be hard enabled not worth useflag + mycmakeargs+=( + "-DCMAKE_SKIP_RPATH=ON" + "-DOPENCV_DOC_INSTALL_PATH=${EPREFIX}/usr/share/doc/${PF}" + ) + + # hardcode cuda paths + mycmakeargs+=( + "-DCUDA_NPP_LIBRARY_ROOT_DIR=/opt/cuda" + ) + + # workaround for bug 413429 + tc-export CC CXX + + cmake-utils_src_configure +} |