From nobody Sat Jul 1 10:05:55 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QtSW73lvQz4l85V; Sat, 1 Jul 2023 10:05:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QtSW73Kpxz3Dk9; Sat, 1 Jul 2023 10:05:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688205955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4aewM+E/WqSGZsMRHksv5aTBrlvVsu2Br887bdYqM94=; b=foycEC4vd+lWwBrsq1KLsTePExhtbl6k96BfAt9rcCd4loPN5A0bOGjSmO2fJ0ZXiweSzh RZ2Gqx50jFRfi3kiV9ZVDaQnP+p7JLTENOeTj3bcsVc82YeVArSjKQxwLbytp/TXsbjfDl ndRRSjGw3G5Ej0zXBzB4/cpwDoMMW3FnXGXPdmC26Ghwnl7sJZ6qbgA0vkBFgc5zyulncJ qNfB17uUXMFARkHcHAZs4c6JdA05eCrLizTPqn/qcYh2VKq3ltmJH0jLa8KgM9rXE7uEyV y4E8BGWcowyA1d4EuvPrBOyhfVOuH2GHFgf8jsbbgSnWOx0cMM/SlGuWw3fPEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688205955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4aewM+E/WqSGZsMRHksv5aTBrlvVsu2Br887bdYqM94=; b=WTy2kiZ855eS0fIfo3MMaYFrhh2/RWkkSbkYH7+rjl7qxsAC/ybMA8aSkkBEBZGKuOGGpb H/W6ZZY7yGtjE/MqCNv3NtN4Y6QBAQLoAW40fo4mYz6K3QzClc8oivhI/rQizTPv3FRD9t SQmArGKL1GxxCNv1//kozhngHV9jniGafThdDaKKPRmtBZ9O3tSu8YQUCIH1upHBkZMsTD fsG8uJNMfdbZMJDOUK49sCiO+vQ97ZVTPZdr1VjpmPgB+XqxolbESSt0RWHqdasSK51NRU 3bAl/t2xYmJgMr7SQfNsCCBCvISXkmQwqmllJCw3ouA/72tRxjuUfqCTSlx1/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688205955; a=rsa-sha256; cv=none; b=tbDfg/2kdL41VMXGEtcKLhrq33WG/L3aQ9q5xrkvyTPLjWsopjXn2DnYlBFVoIo1tiZbwr s9H0nM1tMPF8q56rXj+WbVKdMvJ7a4nQNO3oba85YZb7Ol6g+Qmkini+d68NehtZrtFUPt NSghhi5Eu2kO3S/UOtUpHvzMK/exj0/WHBXuchu2OkGy3bUUrrFaAR3IAOyowqEWzEmvjk voTmB13xPpC8W4KiztvSYzT2EU21nfLr21oGBgYrKzHmwGJx/q8F/PNxb1f9H1r+vhMxWh sA/VVVEzoIWlM7a0/x6ZlO7oC7o1KhdewsIaE55WmeMzoPjiOD0aA/Wu9U3+KQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QtSW72HZ1zLlh; Sat, 1 Jul 2023 10:05:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 361A5tTn041068; Sat, 1 Jul 2023 10:05:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 361A5txc041067; Sat, 1 Jul 2023 10:05:55 GMT (envelope-from git) Date: Sat, 1 Jul 2023 10:05:55 GMT Message-Id: <202307011005.361A5txc041067@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 9ad0e87dc603 - main - multimedia/py-tartube: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9ad0e87dc603380bc1203ee6ddfdf630df7b05eb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ad0e87dc603380bc1203ee6ddfdf630df7b05eb commit 9ad0e87dc603380bc1203ee6ddfdf630df7b05eb Author: Nicola Vitale AuthorDate: 2023-07-01 10:04:53 +0000 Commit: Nicola Vitale CommitDate: 2023-07-01 10:04:53 +0000 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 --- multimedia/Makefile | 1 + multimedia/py-tartube/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ multimedia/py-tartube/distinfo | 3 +++ multimedia/py-tartube/pkg-descr | 5 +++++ 4 files changed, 49 insertions(+) diff --git a/multimedia/Makefile b/multimedia/Makefile index d1ce4df0e359..ad3c778868c1 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -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 diff --git a/multimedia/py-tartube/Makefile b/multimedia/py-tartube/Makefile new file mode 100644 index 000000000000..d6d02b53d544 --- /dev/null +++ b/multimedia/py-tartube/Makefile @@ -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 diff --git a/multimedia/py-tartube/distinfo b/multimedia/py-tartube/distinfo new file mode 100644 index 000000000000..ed5dd3c98d10 --- /dev/null +++ b/multimedia/py-tartube/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688141639 +SHA256 (tartube-2.4.386.tar.gz) = aafc61c6341d82202163135ba83ce0de471375dc88572e62d15416620f973779 +SIZE (tartube-2.4.386.tar.gz) = 9451523 diff --git a/multimedia/py-tartube/pkg-descr b/multimedia/py-tartube/pkg-descr new file mode 100644 index 000000000000..ab32fa67a259 --- /dev/null +++ b/multimedia/py-tartube/pkg-descr @@ -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.