From: budrz55 <budrz55@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: freetube-0.19.2
Date: Thu, 07 Mar 2024 01:37:47 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49161@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
There is a new pull request by budrz55 against master on the void-packages repository
https://github.com/budrz55/void-packages freetube-branch
https://github.com/void-linux/void-packages/pull/49161
New package: freetube-0.19.2
#### Testing the changes
- I tested the changes in this PR: YES
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): YES
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/49161.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-freetube-branch-49161.patch --]
[-- Type: text/x-diff, Size: 2786 bytes --]
From 215650cb0c655e5f5835d149867a7d9f882739d1 Mon Sep 17 00:00:00 2001
From: budrz55 <budroz135@tutanota.com>
Date: Wed, 6 Mar 2024 18:54:01 -0500
Subject: [PATCH] New package: freetube-0.19.2
---
srcpkgs/freetube/files/freetube.desktop | 11 ++++++++
srcpkgs/freetube/files/freetube.sh | 3 +++
srcpkgs/freetube/template | 35 +++++++++++++++++++++++++
3 files changed, 49 insertions(+)
create mode 100644 srcpkgs/freetube/files/freetube.desktop
create mode 100644 srcpkgs/freetube/files/freetube.sh
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 00000000000000..f19a51a83c022c
--- /dev/null
+++ b/srcpkgs/freetube/files/freetube.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=FreeTube
+GenericName=YouTube Player
+Comment=An open source desktop YouTube player built with privacy in mind.
+Exec=freetube %U
+Terminal=false
+Type=Application
+Icon=freetube
+MimeType=x-scheme-handler/freetube;
+Categories=Network;
+StartupWMClass=FreeTube
diff --git a/srcpkgs/freetube/files/freetube.sh b/srcpkgs/freetube/files/freetube.sh
new file mode 100644
index 00000000000000..63ca1b1cc46ac3
--- /dev/null
+++ b/srcpkgs/freetube/files/freetube.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+electron24 /usr/lib/freetube/app.asar "$@"
diff --git a/srcpkgs/freetube/template b/srcpkgs/freetube/template
new file mode 100644
index 00000000000000..7ab7c1fa2760b3
--- /dev/null
+++ b/srcpkgs/freetube/template
@@ -0,0 +1,35 @@
+# Template file for 'freetube'
+
+pkgname=freetube
+_pkgname=FreeTube
+version=0.19.2
+revision=1
+archs="x86_64"
+short_desc='Open source desktop YouTube player built with privacy in mind'
+license='AGPL-3.0-or-later'
+hostmakedepends="gcc"
+depends='electron24'
+makedepends='yarn'
+maintainer="budrz55 <budroz135@tutanota.com>"
+homepage=https://freetubeapp.io
+distfiles=(https://github.com/FreeTubeApp/FreeTube/archive/v$version-beta.tar.gz
+ freetube.desktop
+ freetube.sh)
+checksum=(21c4c05eb1e2e8a95d7d1b94a150a6535616c82a17a6f0ad60a974ec03e3c3b0
+ ada2b4b8f6a1e8896acbce4f4d311228d2c86026c273ffa00afa3247294f8b1e
+ 3f4951c6cdb33cc1c4df05606760197efe45321519c259e47656077d6df2af18)
+
+do_build() {
+ yarn --cache-folder "yarn-cache" install
+ yarn --cache-folder "yarn-cache" run build
+}
+
+do_install() {
+ vlicense LICENSE
+ install -d "${DESTDIR}"/usr/lib/${pkgname}
+ cp -R "build/linux-unpacked/resources/app.asar" "${DESTDIR}/usr/lib/$pkgname"
+ install -Dm755 "${FILESDIR}/freetube.sh" "${DESTDIR}/usr/bin/$pkgname"
+ install -Dm644 "./_icons/icon.svg" "${DESTDIR}/usr/share/pixmaps/$pkgname.svg"
+ cd ..
+ install -Dm644 "${FILESDIR}/freetube.desktop" "${DESTDIR}/usr/share/applications/$pkgname.desktop"
+}
next reply other threads:[~2024-03-07 0:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-07 0:37 budrz55 [this message]
2024-03-07 3:08 ` [PR REVIEW] " abenson
2024-03-07 3:08 ` abenson
2024-03-07 3:09 ` abenson
2024-03-07 3:09 ` abenson
2024-03-07 3:11 ` abenson
2024-03-07 3:11 ` abenson
2024-03-07 3:44 ` budrz55
2024-03-07 4:19 ` [PR PATCH] [Updated] " budrz55
2024-06-06 1:47 ` github-actions
2024-06-21 1:48 ` [PR PATCH] [Closed]: " github-actions
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-49161@inbox.vuxu.org \
--to=budrz55@users.noreply.github.com \
--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).