New port: audio/py-aubio - Python bindings for audio/aubio
- Adjust audio/aubio to be the master port for audio/py-aubio - Take maintainership - Fix LICENSE
This commit is contained in:
parent
737e770f0a
commit
1ef0c674ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447496
@ -628,6 +628,7 @@
|
||||
SUBDIR += py-al
|
||||
SUBDIR += py-ao
|
||||
SUBDIR += py-apetag
|
||||
SUBDIR += py-aubio
|
||||
SUBDIR += py-cddb
|
||||
SUBDIR += py-discid
|
||||
SUBDIR += py-discogs-client
|
||||
|
@ -3,18 +3,22 @@
|
||||
|
||||
PORTNAME= aubio
|
||||
PORTVERSION= 0.4.5
|
||||
CATEGORIES= audio
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= audio
|
||||
MASTER_SITES= http://aubio.org/pub/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Library for audio labelling
|
||||
MAINTAINER?= jhale@FreeBSD.org
|
||||
COMMENT?= Library for audio labelling
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES+= pkgconfig tar:bzip2
|
||||
|
||||
.if !defined(SLAVEPORT)
|
||||
BUILD_DEPENDS= txt2man:textproc/txt2man
|
||||
|
||||
USES= pkgconfig tar:bzip2 waf
|
||||
USES+= waf
|
||||
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
@ -49,4 +53,6 @@ post-install:
|
||||
.endfor
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaubio.so
|
||||
|
||||
.endif # !defined(SLAVEPORT)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
35
audio/py-aubio/Makefile
Normal file
35
audio/py-aubio/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= audio python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= jhale@FreeBSD.org
|
||||
COMMENT= Python bindings for aubio music analysis
|
||||
|
||||
LIB_DEPENDS= libaubio.so:audio/aubio
|
||||
BUILD_DEPENDS= ${PYNUMPY}
|
||||
RUN_DEPENDS= ${PYNUMPY}
|
||||
TEST_DEPENDS= sox:audio/sox \
|
||||
${PYTHON_PKGNAMEPREFIX}nose2>=0.6.5:devel/py-nose2
|
||||
|
||||
USES+= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
CPPFLAGS+= -I${PYTHON_SITELIBDIR}/numpy/core/include
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${WRKSRC}/`ls -rtd build/lib.* | head -1`
|
||||
TEST_TARGET= test
|
||||
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYSETUP}
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../audio/aubio
|
||||
SLAVEPORT= py
|
||||
PLIST= ${.CURDIR}/pkg-plist
|
||||
|
||||
pre-test:
|
||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} create_test_sounds)
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_aubio.so
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
Loading…
Reference in New Issue
Block a user