2014-12-10 16:45:26 +01:00
|
|
|
# Template file for 'opencv'
|
|
|
|
# vim: set ts=4 sw=4 sts=4 et:
|
|
|
|
pkgname=opencv
|
2015-03-02 09:05:19 +01:00
|
|
|
version=2.4.11
|
|
|
|
revision=1
|
2014-12-10 16:45:26 +01:00
|
|
|
build_style=cmake
|
2014-12-10 17:41:52 +01:00
|
|
|
configure_args="-Wno-dev"
|
2014-12-27 13:10:41 +01:00
|
|
|
hostmakedepends="cmake pkg-config python-devel eigen unzip python-numpy-devel"
|
2014-12-10 16:45:26 +01:00
|
|
|
makedepends="ffmpeg-devel libpng-devel libjpeg-turbo-devel tiff-devel
|
2014-12-10 17:41:52 +01:00
|
|
|
jasper-devel libopenexr-devel"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-03-02 09:05:19 +01:00
|
|
|
homepage="http://opencv.org"
|
|
|
|
license="BSD"
|
|
|
|
short_desc="Computer vision and machine learning software library"
|
2014-12-10 16:45:26 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/opencvlibrary/opencv-unix/${version}/opencv-${version}.zip"
|
2015-03-02 09:05:19 +01:00
|
|
|
checksum=af1952fd40fb0dc5e369725e073ac4650847e956fbf77c5f206b6da8ce2b1fea
|
2014-12-10 16:45:26 +01:00
|
|
|
|
|
|
|
libopencv_package() {
|
|
|
|
short_desc+=" - library files"
|
|
|
|
pkg_install() {
|
2014-12-10 17:41:52 +01:00
|
|
|
vmove usr/lib/*.so.*
|
2014-12-10 16:45:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libopencv-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="libopencv>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-12-27 13:10:41 +01:00
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/share/OpenCV
|
2014-12-10 16:45:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libopencv-python_package(){
|
2014-12-27 13:10:41 +01:00
|
|
|
short_desc+=" - Python bindings"
|
2014-12-10 16:45:26 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python2.7
|
|
|
|
}
|
|
|
|
}
|