Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: freetube-0.7.0
Date: Mon, 14 Oct 2019 08:35:44 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15459@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

There is a new pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages freetube-branch
https://github.com/void-linux/void-packages/pull/15459

New package: freetube-0.7.0
[FreeTube](https://freetubeapp.io/) is a privacy friendly YouTube player which allows to watch videos without logging in to YouTube. It does not show ads from YouTube, so definitely a useful app. It also lets you subscribe to channels without sending the data to YT. Personal data stays on your computer and is never sent to anywhere.

This was requested [here](https://github.com/void-linux/void-packages/issues/13420).

A patch file from https://github.com/void-linux/void-packages/pull/15459.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-freetube-branch-15459.patch --]
[-- Type: text/x-diff, Size: 2182 bytes --]

From 8ffdbad867537ff26e3beaf56c0caff085b70f7e Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Mon, 14 Oct 2019 12:31:06 +0600
Subject: [PATCH] New package: freetube-0.7.0

---
 srcpkgs/freetube/files/freetube.desktop |  9 +++++++
 srcpkgs/freetube/template               | 36 +++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/freetube/files/freetube.desktop
 create mode 100644 srcpkgs/freetube/template

diff --git a/srcpkgs/freetube/files/freetube.desktop b/srcpkgs/freetube/files/freetube.desktop
new file mode 100644
index 00000000000..1483238e259
--- /dev/null
+++ b/srcpkgs/freetube/files/freetube.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=FreeTube
+GenericName=YouTube Player
+Comment=An open source desktop YouTube player built with privacy in mind.
+Exec=freetube
+Terminal=false
+Type=Application
+Icon=freetube
+Categories=Network;
diff --git a/srcpkgs/freetube/template b/srcpkgs/freetube/template
new file mode 100644
index 00000000000..da56e915c3a
--- /dev/null
+++ b/srcpkgs/freetube/template
@@ -0,0 +1,36 @@
+# Template file for 'freetube'
+pkgname=freetube
+version=0.7.0
+revision=1
+archs="x86_64"
+wrksrc=FreeTube-${version}-beta
+hostmakedepends="nodejs yarn-bin"
+depends="nodejs"
+short_desc="Open source desktop YouTube player built with privacy in mind"
+maintainer="reback00 <reback00@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://freetubeapp.io/"
+distfiles="https://github.com/FreeTubeApp/FreeTube/archive/v${version}-beta.tar.gz"
+checksum=1c3287b9df9134540a9b7538a74dc43eae3e9b2e1a33cca9931a18882511b7bc
+
+pre_build() {
+	yarn add electron-builder --dev
+}
+
+do_build() {
+	npm run make:linux:x64:tar
+}
+
+do_install() {
+	mkdir -p "${DESTDIR}/opt/${pkgname}"
+	vcopy "${wrksrc}/dist/linux-unpacked/*" "opt/${pkgname}"
+
+	vinstall "${wrksrc}/build/icons/256x256.png" 644 usr/share/pixmaps "${pkgname}.png"
+
+	mkdir -p "${DESTDIR}/usr/bin"
+	ln -sf "/opt/${pkgname}/freetube" "${DESTDIR}/usr/bin/${pkgname}"
+
+	# .desktop file
+	mkdir -p "${DESTDIR}/usr/share/applications"
+	vcopy "${FILESDIR}/freetube.desktop" "usr/share/applications/${pkgname}.desktop"
+}

             reply	other threads:[~2019-10-14  6:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-14  6:35 voidlinux-github [this message]
2019-10-14 18:57 ` [PR PATCH] [Closed]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15459@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).