opencv: rebuild due to eigen2 -> eigen

This commit is contained in:
Alessio Sergi 2014-12-27 13:10:41 +01:00
parent d6f2e13379
commit 9d96468499

View file

@ -1,20 +1,19 @@
# Template file for 'opencv' # Template file for 'opencv'
# vim: set ts=4 sw=4 sts=4 et: # vim: set ts=4 sw=4 sts=4 et:
pkgname=opencv pkgname=opencv
version=2.4.10 version=2.4.10
revision=2 revision=3
build_style=cmake build_style=cmake
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>" maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
homepage="http://opencv.org" homepage="http://opencv.org"
license="BSD" license="BSD"
short_desc="Computer vision and machine learning software library" short_desc="Computer vision and machine learning software library"
configure_args="-Wno-dev" configure_args="-Wno-dev"
hostmakedepends="cmake pkg-config python-devel eigen2 unzip python-numpy-devel" hostmakedepends="cmake pkg-config python-devel eigen unzip python-numpy-devel"
makedepends="ffmpeg-devel libpng-devel libjpeg-turbo-devel tiff-devel makedepends="ffmpeg-devel libpng-devel libjpeg-turbo-devel tiff-devel
jasper-devel libopenexr-devel" jasper-devel libopenexr-devel"
distfiles="${SOURCEFORGE_SITE}/opencvlibrary/opencv-unix/${version}/opencv-${version}.zip" distfiles="${SOURCEFORGE_SITE}/opencvlibrary/opencv-unix/${version}/opencv-${version}.zip"
checksum="1bf4cb87283797fd91669d4f90b622a677a903c20b4a577b7958a2164f7596c6" checksum=1bf4cb87283797fd91669d4f90b622a677a903c20b4a577b7958a2164f7596c6
libopencv_package() { libopencv_package() {
short_desc+=" - library files" short_desc+=" - library files"
@ -29,17 +28,15 @@ libopencv-devel_package() {
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.a" vmove usr/lib/*.a
vmove "usr/lib/*.so" vmove usr/lib/*.so
vmove "usr/share/OpenCV/*" vmove usr/share/OpenCV
} }
} }
libopencv-python_package(){ libopencv-python_package(){
short_desc+=" - python bindings" short_desc+=" - Python bindings"
pkg_install() { pkg_install() {
vmove usr/lib/python2.7 vmove usr/lib/python2.7
} }
} }