Github messages for voidlinux
 help / color / mirror / Atom feed
From: reback00 <reback00@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: lbry-desktop-0.45.1
Date: Fri, 16 Oct 2020 09:24:56 +0200	[thread overview]
Message-ID: <20201016072456.8HUUv3wP3sYi0418kfyruRsDbJ9DB2sW0vNCZyHgdXc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15206@inbox.vuxu.org>

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

There is an updated pull request by reback00 against master on the void-packages repository

https://github.com/reback00/void-packages lbry-desktop-branch
https://github.com/void-linux/void-packages/pull/15206

New package: lbry-desktop-0.45.1
[LBRY](https://lbry.com/) is a blockchain based, decentralized, completely open and Free video and content sharing platform. It was [requested](https://github.com/void-linux/void-packages/issues/13413) too. Hope it is useful.

**UPDATE 2020.04.04:** Updated to 0.44.0, updated patch file for new codebase, removed unnecessary npm command. I'm still hoping it gets merged. Waiting since October 2019.

**UPDATE 2020.05.07:** Updated to 0.45.1

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

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

From c6325d4c2d280514b03f601f5dc56e5d0db2f056 Mon Sep 17 00:00:00 2001
From: reback00 <reback00@protonmail.com>
Date: Mon, 7 Oct 2019 14:17:56 +0600
Subject: [PATCH] New package: lbry-desktop-0.48.1

---
 .../update-install-command-change.patch       |  6 +++
 srcpkgs/lbry-desktop/template                 | 42 +++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 srcpkgs/lbry-desktop/patches/update-install-command-change.patch
 create mode 100644 srcpkgs/lbry-desktop/template

diff --git a/srcpkgs/lbry-desktop/patches/update-install-command-change.patch b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
new file mode 100644
index 00000000000..211a0e2ed1a
--- /dev/null
+++ b/srcpkgs/lbry-desktop/patches/update-install-command-change.patch
@@ -0,0 +1,6 @@
+diff -Naurp0 a/ui/modal/modalDownloading/view.jsx b/ui/modal/modalDownloading/view.jsx
+--- a/ui/modal/modalDownloading/view.jsx	2020-04-01 22:56:47.000000000 +0600
++++ b/ui/modal/modalDownloading/view.jsx	2020-04-04 13:31:55.058444427 +0600
+@@ -34 +34 @@ class ModalDownloading extends React.Pur
+-            <blockquote>sudo dpkg -i {downloadItem}</blockquote>
++            <blockquote>ar p {downloadItem} data.tar.xz | sudo tar xJ -C /</blockquote>
diff --git a/srcpkgs/lbry-desktop/template b/srcpkgs/lbry-desktop/template
new file mode 100644
index 00000000000..b17da73e7e1
--- /dev/null
+++ b/srcpkgs/lbry-desktop/template
@@ -0,0 +1,42 @@
+# Template file for 'lbry-desktop'
+pkgname=lbry-desktop
+version=0.48.1
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn-bin binutils tar xz git python libsecret"
+depends="nodejs gnome-keyring GConf"
+short_desc="Browser for decentralized videos and content available on LBRY protocol"
+maintainer="reback00 <reback00@protonmail.com>"
+license="MIT"
+homepage="https://lbry.com/"
+distfiles="https://github.com/lbryio/lbry-desktop/archive/v${version}.tar.gz"
+checksum=cc6a93913c69477e9bd67c50f678927e824237be386348199eb885b9ab40c7cb
+patch_args="-Np1"
+
+nopie=yes
+nodebug=yes
+nostrip=yes
+noverifyrdeps=yes
+noshlibprovides=yes
+preserve=yes
+
+pre_build() {
+	# To fix node-gyp related error
+	# https://stackoverflow.com/a/55590251
+	rm yarn.lock
+
+	yarn add core-js@2
+}
+
+do_build() {
+	yarn build
+}
+
+do_install() {
+	ar x dist/electron/LBRY_${version}.deb data.tar.xz
+	tar xf data.tar.xz -C ${DESTDIR}
+}
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2020-10-16  7:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-07  8:25 [PR PATCH] New package: lbry-desktop-0.36.0 voidlinux-github
2020-04-04 10:31 ` [PR PATCH] [Updated] " reback00
2020-05-06 17:30 ` [PR PATCH] [Updated] New package: lbry-desktop-0.44.0 reback00
2020-10-16  7:24 ` reback00 [this message]
2020-11-01  2:18 ` New package: lbry-desktop-0.45.1 ericonr
2020-11-02 17:34 ` reback00
2020-11-02 17:50 ` ericonr
2020-11-03 18:15 ` reback00
2021-11-06 22:15 ` [PR PATCH] [Closed]: " abenson

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=20201016072456.8HUUv3wP3sYi0418kfyruRsDbJ9DB2sW0vNCZyHgdXc@z \
    --to=reback00@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).