www/firedm: new port had been added (+)

FireDM is an open-source, multi-connection, graphical download manager
for YouTube and other streaming websites.  Developed in Python using
Tkinter, libcurl, and yt-dlp (youtube_dl).

WWW: https://github.com/firedm/FireDM
This commit is contained in:
Alexey Dokuchaev 2022-03-03 01:35:34 +00:00
parent 46e2a72685
commit 0e39ef8679
5 changed files with 45 additions and 0 deletions

View file

@ -159,6 +159,7 @@
SUBDIR += ffsend
SUBDIR += fgallery
SUBDIR += filtron
SUBDIR += firedm
SUBDIR += firefox
SUBDIR += firefox-esr
SUBDIR += flat-frog

23
www/firedm/Makefile Normal file
View file

@ -0,0 +1,23 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= firedm
PORTVERSION= 2022.2.5
CATEGORIES= www net python
MAINTAINER= danfe@FreeBSD.org
COMMENT= Graphical download manager for streaming websites
LICENSE= GPLv3+
RUN_DEPENDS= yt-dlp:www/yt-dlp \
${PYTHON_PKGNAMEPREFIX}AwesomeTkinter>=2021.6.4:x11-toolkits/py-awesometkinter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils noflavors
USE_GITHUB= yes
GH_PROJECT= FireDM
.include <bsd.port.mk>

3
www/firedm/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1644070251
SHA256 (firedm-FireDM-2022.2.5_GH0.tar.gz) = 60522ba6aac88f88fd0405fa2d5b7ff26c590a23caa749a38e178078d7f71a58
SIZE (firedm-FireDM-2022.2.5_GH0.tar.gz) = 214231

View file

@ -0,0 +1,12 @@
--- firedm/video.py.orig 2022-02-05 14:10:51 UTC
+++ firedm/video.py
@@ -733,6 +733,9 @@ def load_extractor_engines(reload=False):
load_user_extractors(engine=yt_dlp)
+ # XXX: assume we always have youtube-dl -> yt-dlp symlink
+ import sys
+ sys.path.append('/usr/local/bin/youtube-dl')
run_thread(import_youtube_dl, daemon=True)
run_thread(import_yt_dlp, daemon=True)

6
www/firedm/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
FireDM is an open-source, multi-connection, graphical download manager.
It can download regular files, supports downloading videos and playlists
from YouTube and other media websites. Developed in Python, based on
Tkinter, libcurl, and yt-dlp (youtube_dl).
WWW: https://github.com/firedm/FireDM