Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: freetube-0.7.0
@ 2019-10-14  6:35 voidlinux-github
  2019-10-14 18:57 ` [PR PATCH] [Closed]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-14  6:35 UTC (permalink / raw)
  To: ml

[-- 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"
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: New package: freetube-0.7.0
  2019-10-14  6:35 [PR PATCH] New package: freetube-0.7.0 voidlinux-github
@ 2019-10-14 18:57 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-14 18:57 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: freetube-0.7.0
https://github.com/void-linux/void-packages/pull/15459

Description:
[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 logging in or sending 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).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-14 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14  6:35 [PR PATCH] New package: freetube-0.7.0 voidlinux-github
2019-10-14 18:57 ` [PR PATCH] [Closed]: " voidlinux-github

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).