This commit is contained in:
Marcin Woźniak 2020-05-02 21:40:28 +02:00 committed by Marcin Wozniak
parent 4a9c5a5e52
commit 22c02f1ec2
3 changed files with 2 additions and 61 deletions

View File

@ -1,2 +1 @@
DIST discord-canary-0.0.103.tar.gz 68577002 BLAKE2B ec25101d595d42bfb2e4c867f535ee957241d46e11b407affda00b69c7fa57e5c9b644bee10866838531f5de1d90bc0d74ea2f1f0a7b6fd018e19117cd0be964 SHA512 d1f83e51fb15d7d414dc0a1fea67a5a4a66cf1afa6460a5f58cb1f807015b74de10327117475a8971f5ab7d79dd51e6bde25588e6a5264eebd9f505ba053127c
DIST discord-canary-0.0.98.tar.gz 68559125 BLAKE2B ff2e3599fc852f3f7d7ea209031879271f62cd512b2be76ee1edffdf91a4e4fd334b2e75552d3995e6217bec7b68c6a227f5594eed050ff084fb91611bba4483 SHA512 590a2ff822dac0f36d107e9f32c54573afbf32b729d42477d410b92a51e5b44092dad0f7be8380f41b67f8a75fc8a233367d00825ddb20187a5b49809efca4b0

View File

@ -50,9 +50,9 @@ src_install() {
exeinto $destdir
doexe DiscordCanary
dosym $destdir/DiscordCanary /usr/bin/discord
dosym $destdir/DiscordCanary /usr/bin/discord-canary
make_desktop_entry discord Discord \
"/opt/discord/discord.png" \
"/opt/discord-canary/discord.png" \
Network
}

View File

@ -1,58 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils desktop
DESCRIPTION="All-in-one voice and text chat"
HOMEPAGE="https://discordapp.com/"
SRC_URI="https://dl-canary.discordapp.net/apps/linux/${PV}/discord-canary-${PV}.tar.gz"
RESTRICT="mirror"
KEYWORDS="~amd64"
SLOT="0"
LICENSE="hammer-and-chisel"
RDEPEND=""
DEPEND="${RDEPEND}
sys-libs/libcxx
dev-libs/expat
dev-libs/nss
gnome-base/gconf
media-gfx/graphite2
media-libs/alsa-lib
media-libs/libpng
net-print/cups
net-libs/gnutls
sys-libs/zlib
x11-libs/gtk+
x11-libs/libnotify
x11-libs/libxcb
x11-libs/libXtst
media-libs/opus"
S=${WORKDIR}/DiscordCanary
src_install() {
local destdir="/opt/${PN}"
insinto $destdir
doins -r locales resources
doins \
*.pak \
*.png \
*.dat \
*.bin \
*.so
exeinto $destdir
doexe DiscordCanary
dosym $destdir/DiscordCanary /usr/bin/discord
make_desktop_entry discord Discord \
"/opt/discord/discord.png" \
Network
}