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/
Date: Sun, 10 May 2020 19:37:08
Message-Id: 1589139012.fe0e3bfb515d17a0cfc4e531051f2f27cd47d10d.andrewammerlaan@gentoo
1 commit: fe0e3bfb515d17a0cfc4e531051f2f27cd47d10d
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sun May 10 19:30:12 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun May 10 19:30:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe0e3bfb
7
8 net-im/discord-canary: inherit xdg
9
10 also add QA_PREBUILT to avoid warnings
11
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
14
15 net-im/discord-canary/discord-canary-0.0.103.ebuild | 14 ++++++++++++--
16 1 file changed, 12 insertions(+), 2 deletions(-)
17
18 diff --git a/net-im/discord-canary/discord-canary-0.0.103.ebuild b/net-im/discord-canary/discord-canary-0.0.103.ebuild
19 index beced54..fcdb7ef 100644
20 --- a/net-im/discord-canary/discord-canary-0.0.103.ebuild
21 +++ b/net-im/discord-canary/discord-canary-0.0.103.ebuild
22 @@ -3,14 +3,14 @@
23
24 EAPI=7
25
26 -inherit eutils desktop
27 +inherit desktop eutils xdg
28
29 DESCRIPTION="All-in-one voice and text chat"
30
31 HOMEPAGE="https://discordapp.com/"
32
33 SRC_URI="https://dl-canary.discordapp.net/apps/linux/${PV}/discord-canary-${PV}.tar.gz"
34 -RESTRICT="mirror"
35 +RESTRICT="mirror bindist"
36 KEYWORDS="~amd64"
37
38 SLOT="0"
39 @@ -35,6 +35,16 @@ DEPEND="${RDEPEND}
40
41 S=${WORKDIR}/DiscordCanary
42
43 +QA_PREBUILT="
44 + opt/discord-canary/DiscordCanary
45 + opt/discord-canary/libEGL.so
46 + opt/discord-canary/libGLESv2.so
47 + opt/discord-canary/swiftshader/libEGL.so
48 + opt/discord-canary/swiftshader/libGLESv2.so
49 + opt/discord-canary/libVkICD_mock_icd.so
50 + opt/discord-canary/libffmpeg.so
51 +"
52 +
53 src_install() {
54 local destdir="/opt/${PN}"