e947271cc7
Add test dependencies and enable tests. Changes: Support the change of the reference implementation to version 1.1.1 (see sofacoustics/API_MO@fcd8d6a) Fixing the problem of left / right confusion common in many old SOFA files Support many more HDF features which are used in recent implementations of netcdf
31 lines
749 B
Makefile
31 lines
749 B
Makefile
# $NetBSD: Makefile,v 1.4 2020/06/19 13:17:59 wiz Exp $
|
|
|
|
DISTNAME= libmysofa-1.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=hoene/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/hoene/libmysofa
|
|
COMMENT= Reader for AES SOFA HRTF files
|
|
LICENSE= modified-bsd
|
|
|
|
TEST_DEPENDS+= nodejs-[0-9]*:../../lang/nodejs
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CMAKE_ARGS+= -Wno-dev
|
|
#CMAKE_ARGS+= -DBUILD_TESTS=OFF
|
|
|
|
PKGCONFIG_OVERRIDE+= libmysofa.pc.cmake
|
|
|
|
# 16 test failures as of 1.1
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ctest
|
|
|
|
# for tests
|
|
BUILDLINK_DEPMETHOD.cunit= build
|
|
.include "../../devel/cunit/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|