* [PR PATCH] New package: discord-canary-0.0.135
@ 2022-05-28 16:53 Web-44
2022-05-28 17:10 ` [PR PATCH] [Closed]: " Chocimier
2022-05-28 17:10 ` Chocimier
0 siblings, 2 replies; 3+ messages in thread
From: Web-44 @ 2022-05-28 16:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1265 bytes --]
There is a new pull request by Web-44 against master on the void-packages repository
https://github.com/Web-44/void-packages discord-canary
https://github.com/void-linux/void-packages/pull/37331
New package: discord-canary-0.0.135
New package: discord-canary-0.0.135
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
<!-- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/37331.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-discord-canary-37331.patch --]
[-- Type: text/x-diff, Size: 3084 bytes --]
From 028cb316880de6880714c07435b1d63c24604fe7 Mon Sep 17 00:00:00 2001
From: Webbiii <webbiii@webbiii.cc>
Date: Sat, 28 May 2022 18:42:49 +0200
Subject: [PATCH] New package: discord-canary-0.0.135
New package: discord-canary-0.0.135
---
.../patches/discord-canary.desktop.patch | 7 ++++
srcpkgs/discord-canary/template | 34 +++++++++++++++++++
srcpkgs/discord-canary/update | 3 ++
3 files changed, 44 insertions(+)
create mode 100644 srcpkgs/discord-canary/patches/discord-canary.desktop.patch
create mode 100644 srcpkgs/discord-canary/template
create mode 100644 srcpkgs/discord-canary/update
diff --git a/srcpkgs/discord-canary/patches/discord-canary.desktop.patch b/srcpkgs/discord-canary/patches/discord-canary.desktop.patch
new file mode 100644
index 000000000000..7344af2b6ac7
--- /dev/null
+++ b/srcpkgs/discord-canary/patches/discord-canary.desktop.patch
@@ -0,0 +1,7 @@
+*** a/discord-canary.desktop
+--- a/discord-canary.desktop
+*************** GenericName=Internet Messenger
+*** 6 ****
+! Exec=/usr/share/discord-canary/DiscordCanary
+--- 6 ----
+! Exec=/usr/lib/discord-canary/DiscordCanary
diff --git a/srcpkgs/discord-canary/template b/srcpkgs/discord-canary/template
new file mode 100644
index 000000000000..e09c787ad8a1
--- /dev/null
+++ b/srcpkgs/discord-canary/template
@@ -0,0 +1,34 @@
+# Template file for 'discord-canary'
+pkgname=discord-canary
+version=0.0.135
+revision=1
+archs="x86_64"
+wrksrc="DiscordCanary"
+hostmakedepends="w3m"
+depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic xdg-utils webrtc-audio-processing"
+short_desc="Chat and VoIP application (canary channel)"
+maintainer="Webbiii <webbiii@webbiii.cc>"
+license="custom:Proprietary"
+homepage="https://discord.com/"
+distfiles="https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"
+checksum=7661bedc1592d413071d002fe1fb17b8e6d5780241783f93aa7c90cfaf4031a7
+nopie=yes
+restricted=yes
+repository=nonfree
+
+do_install() {
+ local package_location="usr/lib/$pkgname" item
+ vmkdir usr/share/pixmaps
+ vinstall discord.png 644 /usr/share/pixmaps/ discord-canary.png
+ vmkdir usr/share/applications
+ vcopy discord-canary.desktop /usr/share/applications/
+ vmkdir ${package_location}
+ chmod +x DiscordCanary
+ for item in locales resources swiftshader DiscordCanary chrome-sandbox chrome_100_percent.pak\
+ chrome_200_percent.pak icudtl.dat libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so\
+ resources.pak snapshot_blob.bin v8_context_snapshot.bin; do
+ vcopy "${item}" "${package_location}"
+ done
+ vmkdir usr/bin
+ ln -sfr $DESTDIR/${package_location}/DiscordCanary $DESTDIR/usr/bin/discord-canary
+}
diff --git a/srcpkgs/discord-canary/update b/srcpkgs/discord-canary/update
new file mode 100644
index 000000000000..0bbf422c6325
--- /dev/null
+++ b/srcpkgs/discord-canary/update
@@ -0,0 +1,3 @@
+# sample response: {"name": "0.0.11", "pub_date": "2020-08-06T16:59:21"}
+site="https://discordapp.com/api/updates/canary?platform=linux"
+pattern="\"name\":\s*\"\K[\d.]+(?=\")"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New package: discord-canary-0.0.135
2022-05-28 16:53 [PR PATCH] New package: discord-canary-0.0.135 Web-44
2022-05-28 17:10 ` [PR PATCH] [Closed]: " Chocimier
@ 2022-05-28 17:10 ` Chocimier
1 sibling, 0 replies; 3+ messages in thread
From: Chocimier @ 2022-05-28 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/37331#issuecomment-1140298949
Comment:
> Betas (...) won't be accepted.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: New package: discord-canary-0.0.135
2022-05-28 16:53 [PR PATCH] New package: discord-canary-0.0.135 Web-44
@ 2022-05-28 17:10 ` Chocimier
2022-05-28 17:10 ` Chocimier
1 sibling, 0 replies; 3+ messages in thread
From: Chocimier @ 2022-05-28 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]
There's a closed pull request on the void-packages repository
New package: discord-canary-0.0.135
https://github.com/void-linux/void-packages/pull/37331
Description:
New package: discord-canary-0.0.135
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
<!-- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-28 17:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-28 16:53 [PR PATCH] New package: discord-canary-0.0.135 Web-44
2022-05-28 17:10 ` [PR PATCH] [Closed]: " Chocimier
2022-05-28 17:10 ` Chocimier
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).