Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 572836 | Differences between
and this patch

Collapse All | Expand All

(-)a/opencv-3.1.0-r4.ebuild (-1 / +9 lines)
Line 0 Link Here
1
diff -Naur a/opencv_contrib-3.1.0/modules/text/CMakeLists.txt b/opencv_contrib-3.1.0/modules/text/CMakeLists.txt
2
--- a/opencv_contrib-3.1.0/modules/text/CMakeLists.txt	2016-06-22 22:30:13.427798189 +0930
Lines 22-28 Link Here
22
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux"
22
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux"
23
IUSE="contrib cuda +eigen examples ffmpeg gdal gphoto2 gstreamer gtk \
23
IUSE="contrib cuda +eigen examples ffmpeg gdal gphoto2 gstreamer gtk \
24
	ieee1394 ipp jpeg jpeg2k libav opencl openexr opengl openmp pch png \
24
	ieee1394 ipp jpeg jpeg2k libav opencl openexr opengl openmp pch png \
25
	+python qt4 qt5 testprograms threads tiff vaapi v4l vtk webp xine"
25
	+python qt4 qt5 tesseract testprograms threads tiff vaapi v4l vtk webp xine"
26
26
27
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
27
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
28
	?? ( qt4 qt5 )"
28
	?? ( qt4 qt5 )"
Lines 76-81 Link Here
76
		dev-qt/qtconcurrent:5
76
		dev-qt/qtconcurrent:5
77
		opengl? ( dev-qt/qtopengl:5 )
77
		opengl? ( dev-qt/qtopengl:5 )
78
	)
78
	)
79
	tesseract? ( app-text/tesseract )
79
	threads? ( dev-cpp/tbb )
80
	threads? ( dev-cpp/tbb )
80
	tiff? ( media-libs/tiff:0 )
81
	tiff? ( media-libs/tiff:0 )
81
	v4l? ( >=media-libs/libv4l-0.8.3 )
82
	v4l? ( >=media-libs/libv4l-0.8.3 )
Lines 105-110 Link Here
105
src_prepare() {
106
src_prepare() {
106
	default
107
	default
107
108
109
	cd "${WORKDIR}/${PN}_contrib-${PV}"
110
	epatch "${FILESDIR}"/${PN}_contrib-${PV}-tesseract-opencl.patch
111
	cd "${S}"
112
108
	# remove bundled stuff
113
	# remove bundled stuff
109
	rm -rf 3rdparty || die "Removing 3rd party components failed"
114
	rm -rf 3rdparty || die "Removing 3rd party components failed"
110
	sed -i \
115
	sed -i \
Lines 178-183 Link Here
178
		-DWITH_VA_INTEL=$(usex vaapi ON OFF)
183
		-DWITH_VA_INTEL=$(usex vaapi ON OFF)
179
		-DWITH_GDAL=$(usex gdal ON OFF)
184
		-DWITH_GDAL=$(usex gdal ON OFF)
180
		-DWITH_GPHOTO2=$(usex gphoto2 ON OFF)
185
		-DWITH_GPHOTO2=$(usex gphoto2 ON OFF)
186
		-DWITH_TESSERACT=$(usex tesseract ON OFF)
181
	# ===================================================
187
	# ===================================================
182
	# OpenCV build components
188
	# OpenCV build components
183
	# ===================================================
189
	# ===================================================

Return to bug 572836