summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-01-19 18:28:55 +0100
committerAmy Winston <amynka@gentoo.org>2016-01-19 18:48:09 +0100
commit75b7f6b2d9f56db65129c894978678e64a3c8623 (patch)
treea24e9f4c2227edf37968acf92c1901eeea5e8219 /media-libs/opencv
parentmedia-libs/opencv: 2.4.10 base migration (diff)
downloadgentoo-75b7f6b2d9f56db65129c894978678e64a3c8623.tar.gz
gentoo-75b7f6b2d9f56db65129c894978678e64a3c8623.tar.bz2
gentoo-75b7f6b2d9f56db65129c894978678e64a3c8623.zip
media-libs/opencv: 2.4.11 base migration
Package-Manager: portage-2.2.24
Diffstat (limited to 'media-libs/opencv')
-rw-r--r--media-libs/opencv/opencv-2.4.11.ebuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/media-libs/opencv/opencv-2.4.11.ebuild b/media-libs/opencv/opencv-2.4.11.ebuild
index 08de0651dd4d..d5fc0f790313 100644
--- a/media-libs/opencv/opencv-2.4.11.ebuild
+++ b/media-libs/opencv/opencv-2.4.11.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
-inherit base toolchain-funcs cmake-utils python-single-r1 java-pkg-opt-2 java-ant-2
+inherit 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"
@@ -73,21 +73,17 @@ DEPEND="${RDEPEND}
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"
- "${FILESDIR}/${PN}-2.4.9-cuda-pkg-config.patch"
-)
-
pkg_setup() {
use python && python-single-r1_pkg_setup
java-pkg-opt-2_pkg_setup
}
src_prepare() {
- base_src_prepare
+ epatch "${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" \
+ "${FILESDIR}/${PN}-2.4.9-cuda-pkg-config.patch"
# remove bundled stuff
rm -rf 3rdparty