1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/audio/py-pocketsphinx/Makefile
Gleb Popov b1ecad53b0 audio/pulseaudio: Update to 16.1
Bump PORTREVISION on consumers.

Sponsored by:	Serenity Cybersecurity, LLC

PR:		262713
2023-08-07 19:34:07 +03:00

32 lines
974 B
Makefile

PORTNAME= pocketsphinx
PORTVERSION= 0.1.15
PORTREVISION= 2
CATEGORIES= audio python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= DtxdF@disroot.org
COMMENT= Python interface to CMU Sphinxbase and Pocketsphinx libraries
WWW= https://github.com/bambocher/pocketsphinx-python
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= swig>0:devel/swig
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libpulse-simple.so:audio/pulseaudio \
libpulse.so:audio/pulseaudio
USES= python
USE_PYTHON= distutils
CFLAGS+= -I${LOCALBASE}/include
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pocketsphinx/_pocketsphinx${PYTHON_EXT_SUFFIX}.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_ad_alsa${PYTHON_EXT_SUFFIX}.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_ad_pulse${PYTHON_EXT_SUFFIX}.so
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_sphinxbase${PYTHON_EXT_SUFFIX}.so
.include <bsd.port.mk>