Github messages for voidlinux
 help / color / mirror / Atom feed
From: MGlolenstine <MGlolenstine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] discord-ptb: update to 0.0.21
Date: Fri, 14 Aug 2020 19:55:45 +0200	[thread overview]
Message-ID: <20200814175545.1Glyb8Rtpm3VlGZmi2t-Atzg9foDymn3Y2ChixY4DVU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24117@inbox.vuxu.org>

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

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

https://github.com/MGlolenstine/void-packages discord-ptb
https://github.com/void-linux/void-packages/pull/24117

discord-ptb: update to 0.0.21


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-discord-ptb-24117.patch --]
[-- Type: text/x-diff, Size: 2592 bytes --]

From a9da981e838748af40de4cdb5bc19063d130bda9 Mon Sep 17 00:00:00 2001
From: MGlolenstine <mglolenstine@gmail.com>
Date: Fri, 7 Aug 2020 00:21:03 +0200
Subject: [PATCH] discord-ptb: update to 0.0.21

discord-ptb: updated license, shortened long line and fixed xlint warnings

discord-ptb: formatted file and changed licence

discord-ptb: added license
---
 srcpkgs/discord-ptb/template | 35 ++++++++++++++++++++++++++---------
 1 file changed, 26 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template
index 0485c222023..0a6a395e26e 100644
--- a/srcpkgs/discord-ptb/template
+++ b/srcpkgs/discord-ptb/template
@@ -1,19 +1,31 @@
 # Template file for 'discord-ptb'
-pkgname="discord-ptb"
-version=0.0.9
+pkgname=discord-ptb
+version=0.0.21
 revision=1
+archs="x86_64"
 wrksrc="DiscordPTB"
 depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
-archs="x86_64"
-nopie=yes
-repository=nonfree
-restricted=yes
 short_desc="Proprietary freeware VoIP application"
 maintainer="Abel Graham <abel@abelgraham.com>"
-license="proprietary"
+license="custom:Proprietary"
 homepage="https://discordapp.com/"
 distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"
-checksum=372d6f75203626370218c97c21519b779e5af334177cafa65a5655e357c77520
+checksum=a1fa4e20cce5f493d84c9e3c7ac74c8265768886859e98022fa41d102f2726c4
+_license_checksum=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+nopie=yes
+restricted=yes
+repository=nonfree
+
+post_extract() {
+	curl -L https://discord.com/terms |
+		w3m -dump -I utf-8 -T text/html |
+		sed -n '/Discord Terms of Service/,/^USA$/p' > EULA
+
+	filesum="$(xbps-digest EULA)"
+	if [ "$filesum" != "$_license_checksum" ]; then
+		msg_error "SHA256 mismatch for EULA:\n$filesum\n"
+	fi
+}
 
 do_install() {
 	local package_location="usr/lib/$pkgname" item
@@ -22,9 +34,14 @@ do_install() {
 	vmkdir usr/share/applications
 	vcopy discord-ptb.desktop /usr/share/applications/
 	vmkdir ${package_location}
-	for item in locales resources DiscordPTB libffmpeg.so libnode.so natives_blob.bin snapshot_blob.bin content_shell.pak icudtl.dat; do
+	for item in DiscordPTB chrome_100_percent.pak chrome_200_percent.pak \
+	icudtl.dat libEGL.so libGLESv2.so libffmpeg.so locales natives_blob.bin \
+	resources resources.pak snapshot_blob.bin swiftshader \
+	v8_context_snapshot.bin; do
 		vcopy "${item}" "${package_location}"
 	done
 	vmkdir usr/bin
 	ln -sfr $DESTDIR/${package_location}/DiscordPTB $DESTDIR/usr/bin/discord-ptb
+
+	vlicense EULA
 }

  parent reply	other threads:[~2020-08-14 17:55 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-06 22:28 [PR PATCH] " MGlolenstine
2020-08-07  0:07 ` [PR REVIEW] " fosslinux
2020-08-07  0:07 ` fosslinux
2020-08-07  8:26 ` [PR REVIEW] " MGlolenstine
2020-08-07  8:26 ` MGlolenstine
2020-08-07  8:40 ` MGlolenstine
2020-08-07  8:40 ` MGlolenstine
2020-08-07  8:46 ` [PR PATCH] [Updated] " MGlolenstine
2020-08-07  9:11 ` MGlolenstine
2020-08-07 21:42 ` fosslinux
2020-08-07 21:43 ` fosslinux
2020-08-07 21:54 ` ericonr
2020-08-07 22:00 ` MGlolenstine
2020-08-08 17:34 ` [PR PATCH] [Updated] " MGlolenstine
2020-08-08 17:45 ` MGlolenstine
2020-08-08 18:28 ` ericonr
2020-08-08 18:30 ` MGlolenstine
2020-08-08 18:32 ` ericonr
2020-08-08 18:36 ` MGlolenstine
2020-08-09  7:39 ` [PR PATCH] [Updated] " MGlolenstine
2020-08-10  6:09 ` MGlolenstine
2020-08-10 19:06 ` FirstZero
2020-08-14 17:41 ` ericonr
2020-08-14 17:51 ` [PR PATCH] [Updated] " MGlolenstine
2020-08-14 17:51 ` MGlolenstine
2020-08-14 17:55 ` MGlolenstine [this message]
2020-08-14 17:56 ` MGlolenstine
2020-08-18 14:49 ` [PR REVIEW] " Chocimier
2020-08-18 14:49 ` Chocimier
2020-08-20  9:41 ` [PR PATCH] [Updated] " MGlolenstine
2020-08-20  9:42 ` [PR REVIEW] " MGlolenstine
2020-08-20  9:43 ` MGlolenstine
2020-08-20 22:42 ` chilledfrogs
2020-08-20 22:46 ` [PR PATCH] [Updated] " MGlolenstine
2020-08-20 22:48 ` MGlolenstine
2020-08-27 16:45 ` [PR REVIEW] " Chocimier
2020-08-27 21:07 ` MGlolenstine
2020-08-28 17:55 ` Chocimier
2020-08-28 18:47 ` MGlolenstine
2020-09-10  7:45 ` MGlolenstine
2020-09-10  8:11 ` [PR PATCH] [Updated] " MGlolenstine
2020-09-10  8:12 ` MGlolenstine
2020-09-10  9:39 ` fosslinux
2020-09-10  9:40 ` MGlolenstine
2020-09-10  9:43 ` [PR PATCH] [Updated] " MGlolenstine
2020-09-10 10:57 ` discord-ptb: update to 0.0.22 fosslinux
2020-09-11 18:15 ` Chocimier
2020-09-12 13:25 ` MGlolenstine
2020-09-12 13:36 ` [PR PATCH] [Merged]: " Chocimier

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=20200814175545.1Glyb8Rtpm3VlGZmi2t-Atzg9foDymn3Y2ChixY4DVU@z \
    --to=mglolenstine@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).