summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-01-19 18:14:44 +0100
committerAmy Winston <amynka@gentoo.org>2016-01-19 18:48:07 +0100
commitbb0737f40a18a319513a81b8af7208894774625d (patch)
treeacb3ab5e150ca1d6ceca4ad65ca4b5ff252111db /media-libs/opencv
parentmedia-libs/opencv: 2.4.9 base migration (diff)
downloadgentoo-bb0737f40a18a319513a81b8af7208894774625d.tar.gz
gentoo-bb0737f40a18a319513a81b8af7208894774625d.tar.bz2
gentoo-bb0737f40a18a319513a81b8af7208894774625d.zip
media-libs/opencv: 2.4.10 base migration
Package-Manager: portage-2.2.24
Diffstat (limited to 'media-libs/opencv')
-rw-r--r--media-libs/opencv/opencv-2.4.10.ebuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/media-libs/opencv/opencv-2.4.10.ebuild b/media-libs/opencv/opencv-2.4.10.ebuild
index ce86d911a588..04799f03d49f 100644
--- a/media-libs/opencv/opencv-2.4.10.ebuild
+++ b/media-libs/opencv/opencv-2.4.10.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,23 +73,19 @@ 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-libav10.patch"
- "${FILESDIR}/${PN}-2.4.9-cuda-pkg-config.patch"
- "${FILESDIR}/${PN}-2.4.10-pic-x86.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-libav10.patch" \
+ "${FILESDIR}/${PN}-2.4.9-cuda-pkg-config.patch" \
+ "${FILESDIR}/${PN}-2.4.10-pic-x86.patch"
# remove bundled stuff
rm -rf 3rdparty