implement the PULSE_LATENCY_MSEC=30 fix

This commit is contained in:
Cayde Dixon 2016-04-15 00:26:24 +10:00
parent a1d9063e2c
commit 64d0042bd4
4 changed files with 13 additions and 9 deletions

View file

@ -1,9 +1,7 @@
# Generated by mksrcinfo v8
# Thu Mar 31 11:03:14 UTC 2016
pkgbase = discord-canary
pkgdesc = Discord Canary linux release
pkgver = 0.0.1
pkgrel = 4
pkgrel = 5
url = https://discordapp.com/
arch = x86_64
license = custom
@ -14,8 +12,10 @@ pkgbase = discord-canary
provides = discord-canary
source = DiscordCanary.desktop
source = LICENSE
sha256sums = 67eb4842aec28f26e894315d46c7250e5958eab7f2f24c1f54db40ec302e41f0
source = DiscordCanary.sh
sha256sums = 13d122f47be0d659b0630be52d82bbfc838861ce213c1f024ea71445dd2067fe
sha256sums = 688f418cd32a682c6d331c211fedd48ff86ee8ba5a7640f589eadb32996af80f
sha256sums = 912cb31b21023980614437b859bb11f39697108c0e9ca21778f81da8065a0815
source_x86_64 = https://storage.googleapis.com/discord-developer/test/discord-canary-0.0.1.tar.gz
sha256sums_x86_64 = 0fb4b64b6119311279ec79b4a11c9f0640553ca437e36302f3b8134d10e375ea

View file

@ -2,7 +2,7 @@
Name=Discord Canary
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
GenericName=Internet Messenger
Exec=/opt/discord-canary/DiscordCanary
Exec=/usr/bin/DiscordCanary
Icon=/usr/share/pixmaps/discord-canary.png
Type=Application
StartupNotify=true

2
DiscordCanary.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
PULSE_LATENCY_MSEC=30 /opt/discord-canary/DiscordCanary

View file

@ -2,7 +2,7 @@
pkgname=discord-canary
pkgver=0.0.1
pkgrel=4
pkgrel=5
pkgdesc='Discord Canary linux release'
arch=('x86_64')
url='https://discordapp.com/'
@ -11,9 +11,9 @@ license=('custom')
depends=('gtk2' 'gconf' 'libnotify')
optdepends=('freetype2-infinality: If you have black screens with emojis install this.')
source=(DiscordCanary.desktop LICENSE)
source=(DiscordCanary.desktop LICENSE DiscordCanary.sh)
source_x86_64=("https://storage.googleapis.com/discord-developer/test/discord-canary-${pkgver}.tar.gz")
sha256sums=('67eb4842aec28f26e894315d46c7250e5958eab7f2f24c1f54db40ec302e41f0' '688f418cd32a682c6d331c211fedd48ff86ee8ba5a7640f589eadb32996af80f')
sha256sums=('13d122f47be0d659b0630be52d82bbfc838861ce213c1f024ea71445dd2067fe' '688f418cd32a682c6d331c211fedd48ff86ee8ba5a7640f589eadb32996af80f' '912cb31b21023980614437b859bb11f39697108c0e9ca21778f81da8065a0815')
sha256sums_x86_64=('0fb4b64b6119311279ec79b4a11c9f0640553ca437e36302f3b8134d10e375ea')
package() {
@ -31,7 +31,9 @@ package() {
# Main binary
install -d "${pkgdir}/usr/bin"
ln -s "/opt/${pkgname}/DiscordCanary" "${pkgdir}/usr/bin/DiscordCanary"
#ln -s "/opt/${pkgname}/DiscordCanary" "${pkgdir}/usr/bin/DiscordCanary"
#installing from .sh due to how the tar extracts.
install "${srcdir}/DiscordCanary.sh" "${pkgdir}/usr/bin/DiscordCanary"
# Create symbolic link to the icon
install -d "${pkgdir}/usr/share/pixmaps"