new package: libvigra
This commit is contained in:
parent
17bc21256e
commit
47b2355ab7
13
packages/libvigra/build.sh
Normal file
13
packages/libvigra/build.sh
Normal 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"
|
11
packages/libvigra/src-impex-hdf5impex.cxx.patch
Normal file
11
packages/libvigra/src-impex-hdf5impex.cxx.patch
Normal 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>
|
Loading…
Reference in New Issue
Block a user