Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/discord-bin/
Date: Tue, 19 Oct 2021 00:55:34
Message-Id: 1634604410.ec86529b490e2026666343016d1a5f1d168031e3.ionen@gentoo
1 commit: ec86529b490e2026666343016d1a5f1d168031e3
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 19 00:46:47 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 19 00:46:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec86529b
7
8 net-im/discord-bin: drop 0.0.16-r0
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 net-im/discord-bin/discord-bin-0.0.16.ebuild | 88 ----------------------------
13 1 file changed, 88 deletions(-)
14
15 diff --git a/net-im/discord-bin/discord-bin-0.0.16.ebuild b/net-im/discord-bin/discord-bin-0.0.16.ebuild
16 deleted file mode 100644
17 index 085aa80b0b9..00000000000
18 --- a/net-im/discord-bin/discord-bin-0.0.16.ebuild
19 +++ /dev/null
20 @@ -1,88 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -MY_PN=${PN/-bin/}
27 -MY_BIN="D${MY_PN/d/}"
28 -
29 -inherit desktop linux-info pax-utils unpacker xdg
30 -
31 -DESCRIPTION="All-in-one voice and text chat for gamers"
32 -HOMEPAGE="https://discordapp.com"
33 -SRC_URI="https://dl.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb"
34 -
35 -LICENSE="all-rights-reserved"
36 -SLOT="0"
37 -KEYWORDS="~amd64"
38 -RESTRICT="mirror bindist"
39 -
40 -RDEPEND="
41 - app-accessibility/at-spi2-atk:2
42 - app-accessibility/at-spi2-core:2
43 - dev-libs/atk
44 - dev-libs/expat
45 - dev-libs/glib:2
46 - dev-libs/nspr
47 - dev-libs/nss
48 - media-libs/alsa-lib
49 - media-libs/fontconfig:1.0
50 - media-libs/freetype:2
51 - net-print/cups
52 - sys-apps/dbus
53 - sys-apps/util-linux
54 - x11-libs/cairo
55 - x11-libs/gdk-pixbuf:2
56 - x11-libs/gtk+:3
57 - x11-libs/libX11
58 - x11-libs/libXScrnSaver
59 - x11-libs/libxcb
60 - x11-libs/libXcomposite
61 - x11-libs/libXcursor
62 - x11-libs/libXdamage
63 - x11-libs/libXext
64 - x11-libs/libXfixes
65 - x11-libs/libXi
66 - x11-libs/libXrandr
67 - x11-libs/libXrender
68 - x11-libs/libXtst
69 - x11-libs/pango
70 -"
71 -
72 -S="${WORKDIR}"
73 -
74 -QA_PREBUILT="
75 - opt/discord/${MY_BIN}
76 - opt/discord/chrome-sandbox
77 - opt/discord/libffmpeg.so
78 - opt/discord/libvk_swiftshader.so
79 - opt/discord/libvulkan.so
80 - opt/discord/libEGL.so
81 - opt/discord/libGLESv2.so
82 - opt/discord/libVkICD_mock_icd.so
83 - opt/discord/swiftshader/libEGL.so
84 - opt/discord/swiftshader/libGLESv2.so
85 - opt/discord/swiftshader/libvk_swiftshader.so
86 -"
87 -
88 -CONFIG_CHECK="~USER_NS"
89 -
90 -src_prepare() {
91 - default
92 -
93 - sed -i \
94 - -e "s:/usr/share/discord/Discord:/opt/${MY_PN}/${MY_BIN}:g" \
95 - usr/share/${MY_PN}/${MY_PN}.desktop || die
96 -}
97 -
98 -src_install() {
99 - doicon usr/share/${MY_PN}/${MY_PN}.png
100 - domenu usr/share/${MY_PN}/${MY_PN}.desktop
101 -
102 - insinto /opt/${MY_PN}
103 - doins -r usr/share/${MY_PN}/.
104 - fperms +x /opt/${MY_PN}/${MY_BIN}
105 - dosym ../../opt/${MY_PN}/${MY_BIN} usr/bin/${MY_PN}
106 -
107 - pax-mark -m "${ED}"/opt/${MY_PN}/${MY_PN}
108 -}