new package: libvigra

This commit is contained in:
Tee KOBAYASHI 2021-12-26 17:37:45 +09:00 committed by Leonid Pliushch
parent 17bc21256e
commit 47b2355ab7
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=https://ukoethe.github.io/vigra/
TERMUX_PKG_DESCRIPTION="Computer vision library"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.11.1
TERMUX_PKG_SRCURL=https://github.com/ukoethe/vigra/releases/download/Version-${TERMUX_PKG_VERSION//./-}/vigra-${TERMUX_PKG_VERSION}-src.tar.gz
TERMUX_PKG_SHA256=a5564e1083f6af6a885431c1ee718bad77d11f117198b277557f8558fa461aaf
TERMUX_PKG_DEPENDS="libc++, libhdf5, libjpeg-turbo, libpng, libtiff, zlib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DRUN_RESULT=0
-DRUN_RESULT__TRYRUN_OUTPUT=201103
"
TERMUX_PKG_RM_AFTER_INSTALL="doc"

View File

@ -0,0 +1,11 @@
--- a/src/impex/hdf5impex.cxx
+++ b/src/impex/hdf5impex.cxx
@@ -35,6 +35,8 @@
#ifdef HasHDF5
+#define H5_USE_110_API 1
+
#include "vigra/hdf5impex.hxx"
#include "vigra/multi_array.hxx"
#include <iostream>