opencv: rebuild due to python-numpy-devel merge

This commit is contained in:
Alessio Sergi 2015-11-20 08:54:21 +01:00
parent 7297131478
commit cc900cddb8
1 changed files with 5 additions and 8 deletions

View File

@ -1,12 +1,11 @@
# Template file for 'opencv' # Template file for 'opencv'
# vim: set ts=4 sw=4 sts=4 noet:
pkgname=opencv pkgname=opencv
version=3.0.0 version=3.0.0
revision=2 revision=3
build_style=cmake build_style=cmake
configure_args="-Wno-dev" configure_args="-DENABLE_PRECOMPILED_HEADERS=OFF -DWITH_OPENMP=ON -WITH_OPENCL=ON"
hostmakedepends="cmake pkg-config python-devel eigen unzip python-numpy-devel" hostmakedepends="cmake pkg-config python-devel eigen"
makedepends="ffmpeg-devel libpng-devel libjpeg-turbo-devel tiff-devel makedepends="python-numpy ffmpeg-devel libpng-devel libjpeg-turbo-devel tiff-devel
jasper-devel ocl-icd-devel libgomp-devel libopenexr-devel" jasper-devel ocl-icd-devel libgomp-devel libopenexr-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://opencv.org" homepage="http://opencv.org"
@ -16,12 +15,10 @@ distfiles="https://github.com/Itseez/${pkgname}/archive/${version}.tar.gz"
checksum=da51a4e459b0bcbe14fb847c4f168415f421765fb91996f42b9e1ce0575f05d5 checksum=da51a4e459b0bcbe14fb847c4f168415f421765fb91996f42b9e1ce0575f05d5
nocross=yes nocross=yes
configure_args="-DENABLE_PRECOMPILED_HEADERS=OFF -DWITH_OPENMP=ON -WITH_OPENCL=ON"
pre_configure() { pre_configure() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) *-musl)
sed -i 's|PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP|PTHREAD_MUTEX_INITIALIZER|g' modules/core/src/parallel_pthreads.cpp sed -i 's|PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP|PTHREAD_MUTEX_INITIALIZER|g' modules/core/src/parallel_pthreads.cpp;;
esac esac
} }