forked from Lainports/freebsd-ports
multimedia/py-tartube: Add new port
Tartube is a GUI front-end for youtube-dl, yt-dlp and other compatible video downloaders. It is written in Python 3 / Gtk 3 and runs on MS Windows, Linux, BSD and MacOS. https://github.com/axcore/tartube
This commit is contained in:
parent
f645a2a1a9
commit
9ad0e87dc6
4 changed files with 49 additions and 0 deletions
|
|
@ -318,6 +318,7 @@
|
|||
SUBDIR += py-pysubs2
|
||||
SUBDIR += py-soco
|
||||
SUBDIR += py-subliminal
|
||||
SUBDIR += py-tartube
|
||||
SUBDIR += py-tvnamer
|
||||
SUBDIR += qmmp-plugin-pack-qt5
|
||||
SUBDIR += qmmp-plugin-pack-qt6
|
||||
|
|
|
|||
40
multimedia/py-tartube/Makefile
Normal file
40
multimedia/py-tartube/Makefile
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
PORTNAME= tartube
|
||||
DISTVERSION= 2.4.386
|
||||
CATEGORIES= multimedia python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= GUI front-end for youtube-dl/yt-dlp, written in Python
|
||||
WWW= https://github.com/axcore/tartube
|
||||
|
||||
LICENSE= LGPL21
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.8:textproc/py-feedparser@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}gobject3>=3.42.2:devel/py-gobject3@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}matplotlib>=3.7.1:math/py-matplotlib@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}moviepy>=1.0.3:multimedia/py-moviepy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}playsound>=1.3.0:audio/py-playsound@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}streamlink>=5.5.1:multimedia/streamlink@${PY_FLAVOR} \
|
||||
aria2c:www/aria2 \
|
||||
AtomicParsley:multimedia/atomicparsley \
|
||||
ffmpeg:multimedia/ffmpeg \
|
||||
yt-dlp:www/yt-dlp
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
MAKE_ENV= TARTUBE_PKG_STRICT=1
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
${SED} -i.bak -e "s|\( = '\)/usr/share/tartube|\1${DATADIR}|1" ${WRKSRC}/setup.py
|
||||
${SED} -i.bak -e "s|'/', 'usr', 'share', __main__.__packagename__|'${DATADIR}'|g" \
|
||||
-e "s|\(self.ytdl_path =\) None|\1 '${LOCALBASE}/bin/yt-dlp'|1" \
|
||||
${WRKSRC}/tartube/mainapp.py \
|
||||
${WRKSRC}/tartube/mainwin.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
multimedia/py-tartube/distinfo
Normal file
3
multimedia/py-tartube/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1688141639
|
||||
SHA256 (tartube-2.4.386.tar.gz) = aafc61c6341d82202163135ba83ce0de471375dc88572e62d15416620f973779
|
||||
SIZE (tartube-2.4.386.tar.gz) = 9451523
|
||||
5
multimedia/py-tartube/pkg-descr
Normal file
5
multimedia/py-tartube/pkg-descr
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Tartube is a GUI front-end for youtube-dl, yt-dlp and other compatible video
|
||||
downloaders.
|
||||
|
||||
It is written in Python 3 / Gtk 3 and runs on MS Windows, Linux, BSD and
|
||||
MacOS.
|
||||
Loading…
Add table
Reference in a new issue