Github messages for voidlinux
 help / color / mirror / Atom feed
From: Bnyro <Bnyro@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: tutanota-desktop-3.114.1
Date: Wed, 28 Jun 2023 16:38:20 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44681@inbox.vuxu.org> (raw)

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

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

https://github.com/Bnyro/void-packages tutanota-desktop
https://github.com/void-linux/void-packages/pull/44681

New package: tutanota-desktop-3.114.1
#### Testing the changes
- I tested the changes in this PR: **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/44681.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tutanota-desktop-44681.patch --]
[-- Type: text/x-diff, Size: 2396 bytes --]

From 24615e85745552b7d40108a18e1b5949d2d5ed97 Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Wed, 28 Jun 2023 16:38:14 +0200
Subject: [PATCH] New package: tutanota-desktop-3.114.1

---
 .../files/tutanota-desktop.desktop            | 12 ++++++++
 srcpkgs/tutanota-desktop/template             | 29 +++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 srcpkgs/tutanota-desktop/files/tutanota-desktop.desktop
 create mode 100644 srcpkgs/tutanota-desktop/template

diff --git a/srcpkgs/tutanota-desktop/files/tutanota-desktop.desktop b/srcpkgs/tutanota-desktop/files/tutanota-desktop.desktop
new file mode 100644
index 000000000000..ec8cf74df47e
--- /dev/null
+++ b/srcpkgs/tutanota-desktop/files/tutanota-desktop.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Tutanota Desktop
+GenericName=Mail Client
+Keywords=Email;E-mail
+Exec=/opt/tutanota-desktop/tutanota-desktop
+Terminal=false
+Type=Application
+Icon=tutanota-desktop
+StartupWMClass=tutanota-desktop
+Comment=Official desktop client for Tutanota, the secure e-mail service.
+MimeType=x-scheme-handler/mailto;
+Categories=Network;
diff --git a/srcpkgs/tutanota-desktop/template b/srcpkgs/tutanota-desktop/template
new file mode 100644
index 000000000000..0a80feb70bc5
--- /dev/null
+++ b/srcpkgs/tutanota-desktop/template
@@ -0,0 +1,29 @@
+# Template file for 'tutanota-desktop'
+pkgname=tutanota-desktop
+version=3.114.1
+revision=1
+hostmakedepends="nodejs python3 pkg-config"
+makedepends="libsecret-devel"
+short_desc="Official Tutanota email client"
+maintainer="Bnyro <bnyro@tutanota.com>"
+license="GPL-3.0"
+homepage="https://tutanota.com/blog/posts/desktop-clients/"
+distfiles="https://github.com/tutao/tutanota/archive/refs/tags/tutanota-desktop-release-${version}.tar.gz"
+checksum=56513d45d2102bc7236a90613a099b26c67e915c7ecf65734469ff38742af4a1
+
+do_build() {
+	npm ci
+	npm run build-packages
+	node desktop --custom-desktop-release --unpacked
+}
+
+do_install() {
+	vmkdir opt/${pkgname}
+	vmkdir usr/bin
+	vcopy build/desktop/linux-unpacked/* opt/${pkgname}
+	ln -sf /opt/${pkgname}/${pkgname} ${DESTDIR}/usr/bin/${pkgname}
+	for x in 16x16 32x32 256x256 512x512; do
+		vinstall "resources/desktop-icons/logo-solo-red.png.iconset/icon_${x}.png" 644 "usr/share/icons/hicolor/${x}/apps/${pkgname}.png"
+	done
+	vinstall "${FILESDIR}/${pkgname}.desktop" 644 usr/share/applications
+}

             reply	other threads:[~2023-06-28 14:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-28 14:38 Bnyro [this message]
2023-06-28 14:40 ` [PR PATCH] [Updated] " Bnyro
2023-06-28 15:29 ` Bnyro
2023-08-24 21:25 ` Bnyro
2023-09-08 22:21 ` New package: tutanota-desktop-3.117.0 Bnyro
2023-09-08 22:21 ` [PR PATCH] [Closed]: " Bnyro

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-44681@inbox.vuxu.org \
    --to=bnyro@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).