Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/discord-canary-bin/
Date: Mon, 11 May 2020 08:57:38
Message-Id: 1589144917.e5c0fdea2b86ed77369a89dd495d65f618b8b33a.andrewammerlaan@gentoo
1 commit: e5c0fdea2b86ed77369a89dd495d65f618b8b33a
2 Author: Marcin Woźniak <y0rune <AT> aol <DOT> com>
3 AuthorDate: Sun May 10 21:08:37 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun May 10 21:08:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5c0fdea
7
8 net-im/discord-canary-bin: Renamed and updated
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Marcin Woźniak <y0rune <AT> aol.com>
12
13 net-im/discord-canary-bin/Manifest | 1 +
14 .../discord-canary-bin-0.0.103.ebuild | 89 ++++++++++++++++++++++
15 net-im/discord-canary-bin/metadata.xml | 8 ++
16 3 files changed, 98 insertions(+)
17
18 diff --git a/net-im/discord-canary-bin/Manifest b/net-im/discord-canary-bin/Manifest
19 new file mode 100644
20 index 0000000..c9fbd62
21 --- /dev/null
22 +++ b/net-im/discord-canary-bin/Manifest
23 @@ -0,0 +1 @@
24 +DIST discord-canary-0.0.103.tar.gz 68577002 BLAKE2B ec25101d595d42bfb2e4c867f535ee957241d46e11b407affda00b69c7fa57e5c9b644bee10866838531f5de1d90bc0d74ea2f1f0a7b6fd018e19117cd0be964 SHA512 d1f83e51fb15d7d414dc0a1fea67a5a4a66cf1afa6460a5f58cb1f807015b74de10327117475a8971f5ab7d79dd51e6bde25588e6a5264eebd9f505ba053127c
25
26 diff --git a/net-im/discord-canary-bin/discord-canary-bin-0.0.103.ebuild b/net-im/discord-canary-bin/discord-canary-bin-0.0.103.ebuild
27 new file mode 100644
28 index 0000000..ba5097f
29 --- /dev/null
30 +++ b/net-im/discord-canary-bin/discord-canary-bin-0.0.103.ebuild
31 @@ -0,0 +1,89 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit desktop eutils xdg
38 +
39 +DESCRIPTION="All-in-one voice and text chat"
40 +
41 +HOMEPAGE="https://discordapp.com/"
42 +
43 +SRC_URI="https://dl-canary.discordapp.net/apps/linux/${PV}/discord-canary-${PV}.tar.gz"
44 +RESTRICT="mirror bindist"
45 +KEYWORDS="~amd64"
46 +
47 +SLOT="0"
48 +LICENSE="all-rights-reserved"
49 +RDEPEND=""
50 +DEPEND="${RDEPEND}
51 + dev-libs/atk
52 + sys-libs/libcxx
53 + dev-libs/expat
54 + dev-libs/glib:2
55 + dev-libs/nspr
56 + dev-libs/nss
57 + gnome-base/gconf:2
58 + media-gfx/graphite2
59 + media-libs/alsa-lib
60 + media-libs/fontconfig:1.0
61 + media-libs/libpng
62 + media-libs/freetype:2
63 + net-print/cups
64 + sys-apps/dbus
65 + net-libs/gnutls
66 + sys-libs/libcxx
67 + x11-libs/cairo
68 + x11-libs/gdk-pixbuf:2
69 + sys-libs/zlib
70 + x11-libs/gtk+:3
71 + x11-libs/libnotify
72 + x11-libs/libX11
73 + x11-libs/libXScrnSaver
74 + x11-libs/libxcb
75 + x11-libs/libXcomposite
76 + x11-libs/libXcursor
77 + x11-libs/libXdamage
78 + x11-libs/libXext
79 + x11-libs/libXfixes
80 + x11-libs/libXi
81 + x11-libs/libXrandr
82 + x11-libs/libXrender
83 + x11-libs/libXtst
84 + x11-libs/pango
85 +
86 + x11-libs/libXtst
87 + media-libs/opus"
88 +
89 +S=${WORKDIR}/DiscordCanary
90 +
91 +QA_PREBUILT="
92 + opt/discord-canary/DiscordCanary
93 + opt/discord-canary/libEGL.so
94 + opt/discord-canary/libGLESv2.so
95 + opt/discord-canary/swiftshader/libEGL.so
96 + opt/discord-canary/swiftshader/libGLESv2.so
97 + opt/discord-canary/libVkICD_mock_icd.so
98 + opt/discord-canary/libffmpeg.so
99 +"
100 +
101 +src_install() {
102 + local destdir="/opt/${PN}"
103 +
104 + insinto $destdir
105 + doins -r locales resources
106 + doins \
107 + *.pak \
108 + *.png \
109 + *.dat \
110 + *.bin \
111 + *.so
112 +
113 + exeinto $destdir
114 + doexe DiscordCanary
115 +
116 + dosym $destdir/DiscordCanary /usr/bin/discord-canary
117 + make_desktop_entry discord Discord \
118 + "/opt/discord-canary/discord.png" \
119 + Network
120 +}
121
122 diff --git a/net-im/discord-canary-bin/metadata.xml b/net-im/discord-canary-bin/metadata.xml
123 new file mode 100644
124 index 0000000..7bb0ff7
125 --- /dev/null
126 +++ b/net-im/discord-canary-bin/metadata.xml
127 @@ -0,0 +1,8 @@
128 +<?xml version="1.0" encoding="UTF-8"?>
129 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
130 +<pkgmetadata>
131 + <maintainer type="person">
132 + <email>y0rune@×××.com</email>
133 + <name>Marcin Woźniak</name>
134 + </maintainer>
135 +</pkgmetadata>