Skip to content

Commit

Permalink
audio/py-auditok: New port: Audio/acoustic activity detection and aud…
Browse files Browse the repository at this point in the history
…io segmentation tool
  • Loading branch information
yurivict committed Oct 22, 2023
1 parent 310eced commit 07983a4
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions audio/Makefile
Expand Up @@ -629,6 +629,7 @@
SUBDIR += py-apetag
SUBDIR += py-aubio
SUBDIR += py-audioread
SUBDIR += py-auditok
SUBDIR += py-discid
SUBDIR += py-discogs-client
SUBDIR += py-essentia
Expand Down
26 changes: 26 additions & 0 deletions audio/py-auditok/Makefile
@@ -0,0 +1,26 @@
PORTNAME= auditok
DISTVERSION= 0.2.0
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
COMMENT= Audio/acoustic activity detection and audio segmentation tool
WWW= https://github.com/amsehili/auditok/

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

# dependencies aren't listed in setup.py and pyproject.toml, see https://github.com/amsehili/auditok/issues/46
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydub>0:audio/py-pydub@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}

USES= python
USE_PYTHON= distutils concurrent autoplist pytest

NOARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions audio/py-auditok/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1697993685
SHA256 (auditok-0.2.0.tar.gz) = 46c512e287b2e13df4819774166af32b236d754afbe6b0dc87281b233e5ae688
SIZE (auditok-0.2.0.tar.gz) = 2162248
4 changes: 4 additions & 0 deletions audio/py-auditok/pkg-descr
@@ -0,0 +1,4 @@
auditok is an Audio Activity Detection tool that can process online data
(read from an audio device or from standard input) as well as audio files.

It can be used as a command-line program or by calling its API.

0 comments on commit 07983a4

Please sign in to comment.