aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-10-22 19:11:34 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-10-22 19:11:34 +0000
commitfc8073fb98379e62b39584f212243eea4d93b860 (patch)
tree8e277044c374f7cf3075974585778478761dcbbc /multimedia
parent184f8338aedf4af82aca0925df96bd273e3c775b (diff)
downloadports-fc8073fb98379e62b39584f212243eea4d93b860.tar.gz
ports-fc8073fb98379e62b39584f212243eea4d93b860.zip
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile2
-rw-r--r--multimedia/ffsubsync/Makefile36
-rw-r--r--multimedia/ffsubsync/distinfo3
-rw-r--r--multimedia/ffsubsync/pkg-descr (renamed from multimedia/subsync/pkg-descr)0
-rw-r--r--multimedia/subsync/Makefile31
-rw-r--r--multimedia/subsync/distinfo3
6 files changed, 40 insertions, 35 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 54604c3a2271..a5d2a2a68c3c 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -62,6 +62,7 @@
SUBDIR += ffmpegthumbnailer
SUBDIR += ffms2
SUBDIR += ffnvcodec-headers
+ SUBDIR += ffsubsync
SUBDIR += filebot
SUBDIR += flvmeta
SUBDIR += flvstreamer
@@ -357,7 +358,6 @@
SUBDIR += snapcast
SUBDIR += spook
SUBDIR += streamlink
- SUBDIR += subsync
SUBDIR += subtitlecomposer
SUBDIR += subtitleoffsetmodifier
SUBDIR += subtools
diff --git a/multimedia/ffsubsync/Makefile b/multimedia/ffsubsync/Makefile
new file mode 100644
index 000000000000..42126c9fe5e3
--- /dev/null
+++ b/multimedia/ffsubsync/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= ffsubsync
+DISTVERSION= 0.4.25
+CATEGORIES= multimedia python
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Synchronize your subtitles using machine learning
+WWW= https://github.com/smacke/ffsubsync
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}auditok>=0.1.5:audio/py-auditok@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}charset-normalizer>0:textproc/py-charset-normalizer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}faust-cchardet>0:textproc/py-faust-cchardet@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ffmpeg-python>0:multimedia/py-ffmpeg-python@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}pysubs2>=1.2.0:multimedia/py-pysubs2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rich>0:textproc/py-rich@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}srt>=3.0.0:multimedia/py-srt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}webrtcvad>0:audio/py-webrtcvad@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= smacke # tympanix account has another version of the same project requiring tensorflow
+USE_PYTHON= pep517 noflavors autoplist pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/multimedia/ffsubsync/distinfo b/multimedia/ffsubsync/distinfo
new file mode 100644
index 000000000000..837aeb0b7509
--- /dev/null
+++ b/multimedia/ffsubsync/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698000919
+SHA256 (smacke-ffsubsync-0.4.25_GH0.tar.gz) = 7b05aec684cef4d45a8feafcdd4ca41f8537ececc10e77471dd63f06aa056c66
+SIZE (smacke-ffsubsync-0.4.25_GH0.tar.gz) = 3823703
diff --git a/multimedia/subsync/pkg-descr b/multimedia/ffsubsync/pkg-descr
index aba48429f903..aba48429f903 100644
--- a/multimedia/subsync/pkg-descr
+++ b/multimedia/ffsubsync/pkg-descr
diff --git a/multimedia/subsync/Makefile b/multimedia/subsync/Makefile
deleted file mode 100644
index 55463e4d1254..000000000000
--- a/multimedia/subsync/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-PORTNAME= subsync
-DISTVERSION= g20190702
-PORTREVISION= 1
-CATEGORIES= multimedia python
-
-MAINTAINER= yuri@FreeBSD.org
-COMMENT= Synchronize your subtitles using machine learning
-WWW= https://github.com/smacke/subsync
-
-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
-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>
diff --git a/multimedia/subsync/distinfo b/multimedia/subsync/distinfo
deleted file mode 100644
index 770cec32d704..000000000000
--- a/multimedia/subsync/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1564284792
-SHA256 (smacke-subsync-g20190702-d9798a5_GH0.tar.gz) = 20902b979adb263fa4ee3f975feedbd7fd4dc746cbf9fd75a1d0c6975d82a4f2
-SIZE (smacke-subsync-g20190702-d9798a5_GH0.tar.gz) = 2220021