git: 0e39ef8679c9 - main - www/firedm: new port had been added (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Mar 2022 01:36:50 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e39ef8679c9183fe6912f477e9d5f688d27fe1c commit 0e39ef8679c9183fe6912f477e9d5f688d27fe1c Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-03-03 01:35:34 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-03-03 01:35:34 +0000 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 --- www/Makefile | 1 + www/firedm/Makefile | 23 +++++++++++++++++++++++ www/firedm/distinfo | 3 +++ www/firedm/files/patch-firedm_video.py | 12 ++++++++++++ www/firedm/pkg-descr | 6 ++++++ 5 files changed, 45 insertions(+) diff --git a/www/Makefile b/www/Makefile index b8c639aa36b4..2b7fdb4c383e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -159,6 +159,7 @@ SUBDIR += ffsend SUBDIR += fgallery SUBDIR += filtron + SUBDIR += firedm SUBDIR += firefox SUBDIR += firefox-esr SUBDIR += flat-frog diff --git a/www/firedm/Makefile b/www/firedm/Makefile new file mode 100644 index 000000000000..ca7efdae8f4b --- /dev/null +++ b/www/firedm/Makefile @@ -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> diff --git a/www/firedm/distinfo b/www/firedm/distinfo new file mode 100644 index 000000000000..705e1479ea46 --- /dev/null +++ b/www/firedm/distinfo @@ -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 diff --git a/www/firedm/files/patch-firedm_video.py b/www/firedm/files/patch-firedm_video.py new file mode 100644 index 000000000000..132002bd244d --- /dev/null +++ b/www/firedm/files/patch-firedm_video.py @@ -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) + diff --git a/www/firedm/pkg-descr b/www/firedm/pkg-descr new file mode 100644 index 000000000000..5c81aa8c05b6 --- /dev/null +++ b/www/firedm/pkg-descr @@ -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