From nobody Mon Aug 26 14:15:07 2024 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 4Wst3v5WCDz5T0LY; Mon, 26 Aug 2024 14:15:07 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wst3v4gvDz4jNG; Mon, 26 Aug 2024 14:15:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724681707; 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=cGNr4yQEmdXgFcrvjHF3ux3fkv5oLd+99aK5V/8ky7I=; b=W5NtHeDdEhZF92UeSLd1KVQrs6FCJXeg9lGmJsUo2DrkUWNY0rV5JkbJxZoKWBvs6syDJX uXVCKCktepCbi64p4U39QvwhWr3AdOkNnuPLswomjiZiFVdHhudgJNg6gO5jdPIrrRE+Yn 2PzaYfFhJG08mWUhjgEN8u8npcrWby0C59yqwgyrjodu3ZANJs8DCER7MH1Lg2cy5jRbro Wg2JW1PYdxXOhDWgDvMnRWDFoIyC3yTOKNtOvca3O3rkgPCPmJm7DoPdRTxYVZaYSsGQaY /C634CV3BuZDXbaHguDzlkl/UwforQbPl8lMWmVX6jh6crSOuFudt0bKYcOQew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724681707; a=rsa-sha256; cv=none; b=lCxLhX1gyrZ42GBe0aeH8bl7JylvWMubdHvrZD19fPCWpg1vtRFl82ZtsjXySFQpk8fB23 fzQ/EH6gCfdmBP1dKW1wCg/EH7HFKjWz1UYUuatLvtuX1+A+BtBAlhoUukJSQzFzjIv39H 66GVEXc+hi8XWbx3w0YNyxLkrBXoLeIBp3FKAx40X18tql5s/PoH8gxRoshT0W4Q66nHtx iAdS68IY/0Um3uLRo58+d5DKMK5lzwmQym+YE8wRQjeObpVF0Mwuh/8mVREGGZU760NNNG Qutc802QYMlQoYPcLgieZoyM+Rit639G3be7GVrONuLQRaTrrsp5WJCs/y0cCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724681707; 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=cGNr4yQEmdXgFcrvjHF3ux3fkv5oLd+99aK5V/8ky7I=; b=coMELtOfHvUqUuyq3Syijlmjt0zV8HcmDDVxQ9iPDi6U5Oan4lwus6WSV4Zp2o7LjEMLpC F9YxKrWUIjQOvDMZnb0/lz4sU8njNa7YSOvlJRFu/QmB6w9p+4uFyBelW6YkIdkuq8ZlTj MqSuTAGEsGgI7NmziwgqdJ5VI/NK6PsZA3z6fqt5SxN/PcYdzUzjKS9jmvfgXTsitEx5Zi jj5dH5JQ2ZkjGQF1rCqqiuvEsKNGiKxHYhVTSuLTjI/2zpyblWMcTqJIbgac+spCWMbMFr lKJGMT8jpTZ+tYJ0kdCvXr9FMRiea+Rlkey3D6z7EHvq6XDTlvvZL+15SGDvpg== 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 4Wst3v4HBQz1966; Mon, 26 Aug 2024 14:15:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47QEF7Lg052570; Mon, 26 Aug 2024 14:15:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47QEF75x052567; Mon, 26 Aug 2024 14:15:07 GMT (envelope-from git) Date: Mon, 26 Aug 2024 14:15:07 GMT Message-Id: <202408261415.47QEF75x052567@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: 9f4fdeb116e5 - main - www/linux-freetube: 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 9f4fdeb116e560d8899dfb8a04b9d5c873ae87c9 Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f4fdeb116e560d8899dfb8a04b9d5c873ae87c9 commit 9f4fdeb116e560d8899dfb8a04b9d5c873ae87c9 Author: Nicola Vitale AuthorDate: 2024-08-26 14:03:05 +0000 Commit: Nicola Vitale CommitDate: 2024-08-26 14:03:05 +0000 www/linux-freetube: Add new port FreeTube is an open source desktop YouTube player built with privacy in mind. Use YouTube without advertisements and prevent Google from tracking you with their cookies and JavaScript. Features: - Watch videos without ads - Use YouTube without Google tracking you using cookies and JavaScript - Subscribe to channels without an account - Connect to an externally setup proxy such as Tor - View and search your local subscriptions, history, and saved videos - Organize your subscriptions into "Profiles" to create a more focused feed - Export & import subscriptions - Youtube Trending - Youtube Chapters - Most popular videos page based on the set Invidious instance - Watch videos using an external player - ... and much more https://freetubeapp.io/ --- www/Makefile | 1 + www/linux-freetube/Makefile | 50 +++++++++++++ www/linux-freetube/distinfo | 5 ++ www/linux-freetube/files/linux-freetube.desktop.in | 10 +++ www/linux-freetube/files/linux-freetube.in | 11 +++ www/linux-freetube/pkg-descr | 18 +++++ www/linux-freetube/pkg-message | 13 ++++ www/linux-freetube/pkg-plist | 87 ++++++++++++++++++++++ 8 files changed, 195 insertions(+) diff --git a/www/Makefile b/www/Makefile index 141803a55fcc..555a3fd23c1f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -320,6 +320,7 @@ SUBDIR += links1 SUBDIR += linux-c7-qtwebkit SUBDIR += linux-chrome + SUBDIR += linux-freetube SUBDIR += linux-rl9-libnghttp2 SUBDIR += linux-vieb SUBDIR += linux-widevine-cdm diff --git a/www/linux-freetube/Makefile b/www/linux-freetube/Makefile new file mode 100644 index 000000000000..cb6abf36f6ee --- /dev/null +++ b/www/linux-freetube/Makefile @@ -0,0 +1,50 @@ +PORTNAME= freetube +DISTVERSIONPREFIX= v +DISTVERSION= 0.21.3-beta +CATEGORIES= www +MASTER_SITES= https://github.com/FreeTubeApp/FreeTube/releases/download/${DISTVERSIONFULL}/ \ + LOCAL/nivit/${PKGNAMEPREFIX}${PORTNAME}/:icons +PKGNAMEPREFIX= linux- +DISTFILES= freetube-${PORTVERSION:R}-linux-portable-x64.zip \ + ${PKGNAMEPREFIX}${PORTNAME}-icons-0.1.3.zip:icons + +MAINTAINER= nivit@FreeBSD.org +COMMENT= The Private YouTube Client (Linux version) +WWW= https://freetubeapp.io/ + +LICENSE= AGPLv3 BSD3CLAUSE LGPL21 MIT MPL11 +LICENSE_COMB= multi + +ONLY_FOR_ARCHS= amd64 + +RUN_DEPENDS= pulseaudio:audio/pulseaudio + +USES= linux:rl9 zip +USE_LINUX= alsa-plugins-oss alsa-plugins-pulseaudio alsalib at-spi2-atk \ + atk cups-libs dbuslibs devtools gtk3 libdrm libsigsegv nss opus + +DATADIR= ${PREFIX}/share/${PKGBASE} + +BUNDLE_LIBS= yes +NO_BUILD= yes + +SUB_FILES= ${PKGBASE} ${PKGBASE}.desktop +SUB_LIST= LINUXBASE=${LINUXBASE} + +NO_WRKSUBDIR= yes + +STRIP_CMD= ${LINUXBASE}/usr/bin/strip + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \ + "-not ( -regex \./LICENSE.* -or -regex \./icons.* )") + (cd ${WRKSRC}/icons && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${LOCALBASE}/share/icons) + ${INSTALL_DATA} ${WRKDIR}/${PKGBASE}.desktop ${STAGEDIR}${DESKTOPDIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/${PKGBASE} ${STAGEDIR}${LOCALBASE}/bin/${PKGBASE} + (cd ${STAGEDIR}${DATADIR} && \ + ${STRIP_CMD} chrome-sandbox libvulkan.so.1) + +.include diff --git a/www/linux-freetube/distinfo b/www/linux-freetube/distinfo new file mode 100644 index 000000000000..629a9249e682 --- /dev/null +++ b/www/linux-freetube/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1724254243 +SHA256 (freetube-0.21.3-linux-portable-x64.zip) = 6cfe7d10837e30aab4234c2b21ecc37d5e46791a126de43bd90d2479cabe9987 +SIZE (freetube-0.21.3-linux-portable-x64.zip) = 103243587 +SHA256 (linux-freetube-icons-0.1.3.zip) = d76906cce52ac5cc730113a6d8598009467480d70a11e7ad81cbe9655bbd941e +SIZE (linux-freetube-icons-0.1.3.zip) = 10580 diff --git a/www/linux-freetube/files/linux-freetube.desktop.in b/www/linux-freetube/files/linux-freetube.desktop.in new file mode 100644 index 000000000000..567f03ecb563 --- /dev/null +++ b/www/linux-freetube/files/linux-freetube.desktop.in @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Freetube (Linux) +Comment=The Private YouTube Client +Icon=freetube +Exec=%%PREFIX%%/bin/linux-freetube +Categories=Network;WebBrowser; +StartupNotify=true + diff --git a/www/linux-freetube/files/linux-freetube.in b/www/linux-freetube/files/linux-freetube.in new file mode 100755 index 000000000000..9f0edae26e6e --- /dev/null +++ b/www/linux-freetube/files/linux-freetube.in @@ -0,0 +1,11 @@ +#!%%LINUXBASE%%/bin/bash + +export ELECTRON_IS_DEV=0 +export LIBGL_DRI3_DISABLE=1 +export NODE_ENV=production + +if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then + export DBUS_SESSION_BUS_ADDRESS="autolaunch:" +fi + +exec -a "$0" "%%DATADIR%%/freetube" --no-sandbox "$@" diff --git a/www/linux-freetube/pkg-descr b/www/linux-freetube/pkg-descr new file mode 100644 index 000000000000..18e45e598bf8 --- /dev/null +++ b/www/linux-freetube/pkg-descr @@ -0,0 +1,18 @@ +FreeTube is an open source desktop YouTube player built with privacy in mind. +Use YouTube without advertisements and prevent Google from tracking you with +their cookies and JavaScript. + +Features: + + - Watch videos without ads + - Use YouTube without Google tracking you using cookies and JavaScript + - Subscribe to channels without an account + - Connect to an externally setup proxy such as Tor + - View and search your local subscriptions, history, and saved videos + - Organize your subscriptions into "Profiles" to create a more focused feed + - Export & import subscriptions + - Youtube Trending + - Youtube Chapters + - Most popular videos page based on the set Invidious instance + - Watch videos using an external player + - ... and much more diff --git a/www/linux-freetube/pkg-message b/www/linux-freetube/pkg-message new file mode 100644 index 000000000000..406545156565 --- /dev/null +++ b/www/linux-freetube/pkg-message @@ -0,0 +1,13 @@ +[ +{ type: install + message: <