Merge pull request #699 from onekk/master

New package: opencv 2.4.10 and accompaining packages
This commit is contained in:
Juan RP 2014-12-10 17:11:45 +01:00
commit 0deaf5c926
5 changed files with 69 additions and 0 deletions

View file

@ -1837,4 +1837,22 @@ libcapstone.so.3 capstone-3.0_1
libhavege.so.1 libhaveged-1.9.1_1
libnih.so.1 libnih-1.0.3_1
libnih-dbus.so.1 libnih-1.0.3_1
libopencv_videostab.so.2.4 libopencv-2.4.10_1
libopencv_flann.so.2.4 libopencv-2.4.10_1
libopencv_features2d.so.2.4 libopencv-2.4.10_1
libopencv_ml.so.2.4 libopencv-2.4.10_1
libopencv_nonfree.so.2.4 libopencv-2.4.10_1
libopencv_highgui.so.2.4 libopencv-2.4.10_1
libopencv_imgproc.so.2.4 libopencv-2.4.10_1
libopencv_gpu.so.2.4 libopencv-2.4.10_1
libopencv_ocl.so.2.4 libopencv-2.4.10_1
libopencv_objdetect.so.2.4 libopencv-2.4.10_1
libopencv_superres.so.2.4 libopencv-2.4.10_1
libopencv_core.so.2.4 libopencv-2.4.10_1
libopencv_video.so.2.4 libopencv-2.4.10_1
libopencv_calib3d.so.2.4 libopencv-2.4.10_1
libopencv_contrib.so.2.4 libopencv-2.4.10_1
libopencv_stitching.so.2.4 libopencv-2.4.10_1
libopencv_photo.so.2.4 libopencv-2.4.10_1
libopencv_legacy.so.2.4 libopencv-2.4.10_1

1
srcpkgs/libopencv Symbolic link
View file

@ -0,0 +1 @@
opencv

1
srcpkgs/libopencv-devel Symbolic link
View file

@ -0,0 +1 @@
opencv

1
srcpkgs/libopencv-python Symbolic link
View file

@ -0,0 +1 @@
opencv

48
srcpkgs/opencv/template Normal file
View file

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