mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
audio/py-essentia: New port: Python bindings for essentia, C++ library for audio and music analysis
This commit is contained in:
parent
44dae4b9ae
commit
1466c6a0e0
@ -641,6 +641,7 @@
|
||||
SUBDIR += py-audioread
|
||||
SUBDIR += py-discid
|
||||
SUBDIR += py-discogs-client
|
||||
SUBDIR += py-essentia
|
||||
SUBDIR += py-eyed3
|
||||
SUBDIR += py-fmoo-audiotools
|
||||
SUBDIR += py-gtts
|
||||
|
40
audio/py-essentia/Makefile
Normal file
40
audio/py-essentia/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
PORTNAME= essentia
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.1_beta5-859
|
||||
DISTVERSIONSUFFIX= -gb247091f
|
||||
CATEGORIES= audio
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Python bindings for essentia, C++ library for audio and music analysis
|
||||
WWW= https://essentia.upf.edu/
|
||||
|
||||
LICENSE= AGPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||
|
||||
BUILD_DEPENDS= ${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
||||
LIB_DEPENDS= libessentia.so:audio/essentia
|
||||
RUN_DEPENDS= ${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
|
||||
|
||||
USES= eigen:3 pkgconfig python
|
||||
USE_PYTHON= pytest
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= MTG
|
||||
|
||||
do-configure:
|
||||
@cd ${BUILD_WRKSRC} && ${SETENV} ${BUILD_ENV} ${PYTHON_CMD} waf configure --only-python
|
||||
|
||||
do-build:
|
||||
@cd ${BUILD_WRKSRC} && ${SETENV} ${BUILD_ENV} ${PYTHON_CMD} waf build --only-python
|
||||
|
||||
do-install:
|
||||
# install
|
||||
cd ${BUILD_WRKSRC} && ${SETENV} ${BUILD_ENV} ${PYTHON_CMD} waf install --only-python --prefix ${PREFIX} --destdir ${STAGEDIR}
|
||||
# strip
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/essentia/_essentia${PYTHON_EXT_SUFFIX}.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
audio/py-essentia/distinfo
Normal file
3
audio/py-essentia/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1667811160
|
||||
SHA256 (MTG-essentia-v2.1_beta5-859-gb247091f_GH0.tar.gz) = 41428252b36bcd20288fd85bcaf981aa039c0a4a9be32b840ddfdfa68fc9b969
|
||||
SIZE (MTG-essentia-v2.1_beta5-859-gb247091f_GH0.tar.gz) = 92213394
|
2
audio/py-essentia/pkg-descr
Normal file
2
audio/py-essentia/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
Essentia is an open-source library and tools for audio and music analysis,
|
||||
description and synthesis.
|
43
audio/py-essentia/pkg-plist
Normal file
43
audio/py-essentia/pkg-plist
Normal file
@ -0,0 +1,43 @@
|
||||
%%PYTHON_SITELIBDIR%%/essentia/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/_essentia%%PYTHON_EXT_SUFFIX%%.so
|
||||
%%PYTHON_SITELIBDIR%%/essentia/algorithms.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/common.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/essentia_extractor.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/average_loudness.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/beats.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/chords.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/chords_dissonance_table.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/highlevel.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/lowlevel.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/onsetdetection.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/panning.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/relativeioi.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/scales.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/segmentation.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/segmentation_bic.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/segmentation_max_energy.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/segmentation_simple.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/sfx.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/squeezeInto.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/tempotap.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/thumbnail.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/extractor/tonal.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/plotting.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pool.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/progress.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pytools/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pytools/batch_extractors.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pytools/extractors/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pytools/extractors/melspectrogram.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pytools/extractors/music_extractor.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pytools/io.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/pytools/spectral.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/standard.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/streaming.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/translate.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/utils.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/weka/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/weka/arff2matlab.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/weka/convert_essentia_to_weka.py
|
||||
%%PYTHON_SITELIBDIR%%/essentia/weka/wekafile.py
|
Loading…
Reference in New Issue
Block a user