summaryrefslogtreecommitdiff
path: root/audio/aubio/Makefile
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-08-01 13:42:54 +0000
committernia <nia@pkgsrc.org>2019-08-01 13:42:54 +0000
commit9de6de9dbf2aee4bae6448ec3aa844cf1c97cf06 (patch)
tree9cdc6e48b23e7663da023c71fc05233c68074b75 /audio/aubio/Makefile
parent3add9b67fcb61d8df76792cfea5f94e6290087e9 (diff)
downloadpkgsrc-9de6de9dbf2aee4bae6448ec3aa844cf1c97cf06.tar.gz
aubio: update to 0.4.9
fixes at least the following bugs: CVE-2018-19800 prevent a possible buffer overflow in new_aubio_tempo CVE-2018-19801 prevent a null-pointer dereference in new_aubio_filterbank CVE-2018-19802 prevent a null-pointer dereference in new_aubio_onset
Diffstat (limited to 'audio/aubio/Makefile')
-rw-r--r--audio/aubio/Makefile28
1 files changed, 17 insertions, 11 deletions
diff --git a/audio/aubio/Makefile b/audio/aubio/Makefile
index 1869d3ab924..16c63ec9480 100644
--- a/audio/aubio/Makefile
+++ b/audio/aubio/Makefile
@@ -1,34 +1,40 @@
-# $NetBSD: Makefile,v 1.16 2019/04/26 14:12:31 maya Exp $
+# $NetBSD: Makefile,v 1.17 2019/08/01 13:42:54 nia Exp $
-DISTNAME= aubio-0.3.2
-PKGREVISION= 3
+DISTNAME= aubio-0.4.9
CATEGORIES= audio
MASTER_SITES= https://aubio.org/pub/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pho@cielonegro.org
HOMEPAGE= https://aubio.org/
COMMENT= Extracting annotations from audio signals
LICENSE= gnu-gpl-v2
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= aubio.pc.in
-# Python related variables:
-PY_PATCHPLIST= yes
-REPLACE_PYTHON= python/aubiocut python/aubiopitch
-PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # not yet ported as of 0.3.2
+MAKE_FLAGS+= WAFCMD="${PYTHONBIN} ./waf"
+MAKE_FLAGS+= WAFOPTS="--disable-tests"
+MAKE_FLAGS+= MANDIR="${PREFIX}/${PKGMANDIR}"
+
+TOOL_DEPENDS+= txt2man-[0-9]*:../../converters/txt2man
CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
-.include "options.mk"
+#REPLACE_PYTHON+= tests/create_tests_source.py
+
+PYTHON_FOR_BUILD_ONLY= yes
+do-configure:
+ cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} configure ${MAKE_FLAGS}
+
+.include "options.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/pyversion.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"