[arch-commits] Commit in opencv/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Nov 17 22:42:18 UTC 2018


    Date: Saturday, November 17, 2018 @ 22:42:18
  Author: arojas
Revision: 340073

Update to 3.4.4

Modified:
  opencv/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-17 20:40:07 UTC (rev 340072)
+++ PKGBUILD	2018-11-17 22:42:18 UTC (rev 340073)
@@ -3,25 +3,24 @@
 
 pkgbase=opencv
 pkgname=(opencv opencv-samples)
-pkgver=3.4.3
-pkgrel=5
+pkgver=3.4.4
+pkgrel=1
 pkgdesc="Open Source Computer Vision Library"
 arch=(x86_64)
 license=(BSD)
 url="http://opencv.org/"
 depends=(intel-tbb openexr gst-plugins-base libdc1394 cblas lapack libgphoto2 jasper ffmpeg)
-makedepends=(cmake python-numpy python2-numpy mesa eigen hdf5 lapacke gtk3 vtk glew)
+makedepends=(cmake python-numpy python-setuptools mesa eigen hdf5 lapacke gtk3 vtk glew)
 optdepends=('opencv-samples: samples'
             'gtk3: for the HighGUI module'
             'vtk: for the viz module'
             'hdf5: support for HDF5 format'
             'opencl-icd-loader: For coding with OpenCL'
-            'python-numpy: Python 3 interface'
-            'python2-numpy: Python 2 interface')
+            'python-numpy: Python interface')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/opencv/opencv/archive/$pkgver.zip"
         "opencv_contrib-$pkgver.tar.gz::https://github.com/opencv/opencv_contrib/archive/$pkgver.tar.gz")
-sha256sums=('37c7d8c3b9807902ad11b9181bbde61dcb3898a78a563130494752f46fe8cc5f'
-            '6dfb51326f3dfeb659128df952edecd45683626a965aa4a8e1e9c970c40fb636')
+sha256sums=('b5755384cbadf67f55838c6cfd9ae1aad0ebad2c7cfe4c1174417c80d2ed15a9'
+            '765446d994713363554978d1da447fef77a2cdf9e38742f0a98b13b92652626d')
 
 prepare() {
   mkdir -p build
@@ -61,6 +60,11 @@
   # install license file
   install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 
+  # install python bindings
+  cd python_loader
+  python setup.py install --root="$pkgdir"
+  rm -r "$pkgdir"/usr/python
+
   cd "$pkgdir"/usr/share
 
   # separate samples package


More information about the arch-commits mailing list