Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: session-desktop-1.6.9
@ 2021-07-30  0:33 Naia-love
  2021-07-30  0:38 ` [PR PATCH] [Updated] " Naia-love
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: Naia-love @ 2021-07-30  0:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Naia-love/void-packages session-desktop
https://github.com/void-linux/void-packages/pull/32252

New package: session-desktop-1.6.9

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Does it build and run successfully? 

- [x] I built this PR locally for my native architecture, (x86-64-glibc)


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

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

From 937a08bcc0f087cd7b16289430eb8c0a70781adb Mon Sep 17 00:00:00 2001
From: Naia-love <love.naia@protonmail.com>
Date: Fri, 30 Jul 2021 02:26:00 +0200
Subject: [PATCH] New package: session-desktop-1.6.9

---
 srcpkgs/session-desktop/files/session.desktop |  9 ++++
 srcpkgs/session-desktop/template              | 42 +++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 srcpkgs/session-desktop/files/session.desktop
 create mode 100644 srcpkgs/session-desktop/template

diff --git a/srcpkgs/session-desktop/files/session.desktop b/srcpkgs/session-desktop/files/session.desktop
new file mode 100644
index 000000000000..5d74acedd685
--- /dev/null
+++ b/srcpkgs/session-desktop/files/session.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Session
+GenericName=Messenger
+Comment=Session is an end-to-end encrypted messenger.
+Icon=/usr/share/icons/hicolor/1024x1024/apps/session.png
+Exec=session
+Categories=Network;Messenger;
+StartupNotify=true
diff --git a/srcpkgs/session-desktop/template b/srcpkgs/session-desktop/template
new file mode 100644
index 000000000000..ab8562fb0720
--- /dev/null
+++ b/srcpkgs/session-desktop/template
@@ -0,0 +1,42 @@
+# Template file for 'session-desktop'
+pkgname=session-desktop
+version=1.6.9
+revision=1
+# discontinued Electron 32-bit support: https://www.electronjs.org/blog/linux-32bit-support
+# aarch64 don't seems very stable for now and isn't officialy supported: https://github.com/oxen-io/session-desktop/issues/1635
+archs="x86_64"
+hostmakedepends="curl nodejs python yarn git git-lfs tar"
+depends="cairo gtk+3 libvips pango alsa-lib nss libXtst dbus-libs libnotify"
+short_desc="Session is an end-to-end encrypted messenger"
+maintainer="Naia-love <me@naia.gay>"
+license="GPL-3.0-or-later"
+homepage="https://getsession.org"
+distfiles="https://github.com/oxen-io/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=4abf94eb2233a19687c9d87a7644d51eb7199ae0f04deba9647cbe4c7c0a3afa
+ 
+pre_build() {
+        git lfs install
+        yarn install --frozen-lockfile
+}
+ 
+do_build() {
+        yarn grunt --force
+        yarn generate
+        yarn build-release
+}
+ 
+do_install() {
+        vmkdir usr/lib/session-desktop
+
+        vcopy release/linux-unpacked/* usr/lib/session-desktop
+
+        vmkdir usr/bin
+        ln -s /usr/lib/session-desktop/session-desktop ${DESTDIR}/usr/bin/session
+        ln -s /usr/lib/session-desktop/session-desktop-bin ${DESTDIR}/usr/bin/
+
+        vmkdir usr/share/applications
+        vinstall ${FILESDIR}/session.desktop 644 usr/share/applications/
+
+        vmkdir usr/share/icons/hicolor
+        vinstall images/session/session_icon_1024.png 644 usr/share/icons/hicolor/1024x1024/apps/ session.png
+}

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

end of thread, other threads:[~2022-06-14  2:13 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30  0:33 [PR PATCH] New package: session-desktop-1.6.9 Naia-love
2021-07-30  0:38 ` [PR PATCH] [Updated] " Naia-love
2021-07-30  9:46 ` [PR REVIEW] " paper42
2021-07-30 11:13 ` Naia-love
2021-07-30 11:21 ` Naia-love
2021-07-30 11:21 ` Naia-love
2021-07-30 11:22 ` Naia-love
2021-07-30 12:30 ` [PR PATCH] [Updated] " Naia-love
2021-07-30 12:32 ` Naia-love
2021-07-30 12:37 ` Naia-love
2021-07-30 13:01 ` [PR REVIEW] " paper42
2021-07-30 13:05 ` Naia-love
2021-07-30 13:21 ` FollieHiyuki
2021-07-30 13:25 ` paper42
2021-07-30 13:29 ` FollieHiyuki
2021-07-30 13:54 ` Naia-love
2021-07-30 14:06 ` [PR PATCH] [Updated] " Naia-love
2021-07-30 14:12 ` [PR REVIEW] " FollieHiyuki
2021-07-30 15:33 ` Johnnynator
2021-07-30 15:50 ` Naia-love
2021-07-30 17:42 ` Naia-love
2021-07-30 18:03 ` [PR PATCH] [Updated] " Naia-love
2021-07-30 18:09 ` [PR REVIEW] " Naia-love
2021-10-08 20:20 ` HadetTheUndying
2021-10-08 20:25 ` Naia-love
2022-05-31  2:13 ` github-actions
2022-06-14  2:13 ` [PR PATCH] [Closed]: " github-actions

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