31 lines
1 KiB
Makefile
31 lines
1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= subsync
|
|
DISTVERSION= g20190702
|
|
CATEGORIES= multimedia python
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Synchronize your subtitles using machine learning
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}ffmpeg-python>0:multimedia/py-ffmpeg-python@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pysrt>0:textproc/py-pysrt@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}webrtcvad>0:audio/py-webrtcvad@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= smacke # tympanix account has another version of the same project requiring tensorflow
|
|
GH_TAGNAME= d9798a5
|
|
USE_PYTHON= distutils concurrent noflavors autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|