1 |
commit: fedf87c94bd1c080e014a2ac2da35f4458d26a3e |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 19 05:42:02 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 19 05:42:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fedf87c9 |
7 |
|
8 |
net-im/discord-bin: bump to v0.0.8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/675674 |
11 |
Closes: https://bugs.gentoo.org/675554 |
12 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
net-im/discord-bin/Manifest | 2 +- |
16 |
...in-0.0.5-r1.ebuild => discord-bin-0.0.8.ebuild} | 31 ++++++++++++---------- |
17 |
net-im/discord-bin/metadata.xml | 3 +++ |
18 |
3 files changed, 21 insertions(+), 15 deletions(-) |
19 |
|
20 |
diff --git a/net-im/discord-bin/Manifest b/net-im/discord-bin/Manifest |
21 |
index 7a63d83145d..a2b4dab167b 100644 |
22 |
--- a/net-im/discord-bin/Manifest |
23 |
+++ b/net-im/discord-bin/Manifest |
24 |
@@ -1 +1 @@ |
25 |
-DIST discord-0.0.5.deb 52100102 BLAKE2B d8b28386d83fd63e47f11af06bc9858a3877565785c97588dad0ade197d70a8d3635137a66024a3b82c4c65acc6e806981a2d9e0e5f20b17745d9123a2cf5d4a SHA512 8b2ef353d393644e450452060449c633487ff344f2e9e0711029bbb3012c364211edc30507976ec218f8a573aefd603ea1681b4e37fe9561f39c5eaa5fd6e29a |
26 |
+DIST discord-0.0.8.deb 44221304 BLAKE2B 3b40f03a3398e1041c0b532df8bc1326df2564a2744d05529db9ba9191bb647eed4ebc28e08cdfa69b98336b2b0619f5898367c3497a704a7bec4309f7f2eb36 SHA512 5d228f0d36306d35ae8d76385a82cbfef32da2ee405292062972c4c2df453f0d329d91127d55ce81e79fa398de9be839b77125fc8a7e9958fa3409c29ee4880a |
27 |
|
28 |
diff --git a/net-im/discord-bin/discord-bin-0.0.5-r1.ebuild b/net-im/discord-bin/discord-bin-0.0.8.ebuild |
29 |
similarity index 75% |
30 |
rename from net-im/discord-bin/discord-bin-0.0.5-r1.ebuild |
31 |
rename to net-im/discord-bin/discord-bin-0.0.8.ebuild |
32 |
index 4f5af1205dc..190284c78c9 100644 |
33 |
--- a/net-im/discord-bin/discord-bin-0.0.5-r1.ebuild |
34 |
+++ b/net-im/discord-bin/discord-bin-0.0.8.ebuild |
35 |
@@ -1,11 +1,12 @@ |
36 |
-# Copyright 1999-2018 Gentoo Authors |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
# Distributed under the terms of the GNU General Public License v2 |
39 |
|
40 |
-EAPI=6 |
41 |
+EAPI="6" |
42 |
|
43 |
MY_PN=${PN/-bin/} |
44 |
MY_BIN="D${MY_PN/d/}" |
45 |
-inherit eutils gnome2-utils unpacker desktop xdg-utils |
46 |
+ |
47 |
+inherit desktop gnome2-utils pax-utils unpacker xdg-utils |
48 |
|
49 |
DESCRIPTION="All-in-one voice and text chat for gamers" |
50 |
HOMEPAGE="https://discordapp.com" |
51 |
@@ -14,7 +15,8 @@ SRC_URI="https://dl.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb" |
52 |
LICENSE="all-rights-reserved" |
53 |
SLOT="0" |
54 |
KEYWORDS="~amd64" |
55 |
-IUSE="" |
56 |
+IUSE="pax_kernel" |
57 |
+RESTRICT="mirror bindist" |
58 |
|
59 |
RDEPEND=" |
60 |
dev-libs/atk |
61 |
@@ -48,18 +50,17 @@ RDEPEND=" |
62 |
|
63 |
S=${WORKDIR} |
64 |
|
65 |
-RESTRICT="mirror bindist" |
66 |
- |
67 |
QA_PREBUILT=" |
68 |
opt/discord/${MY_BIN} |
69 |
+ opt/discord/libEGL.so |
70 |
+ opt/discord/libGLESv2.so |
71 |
+ opt/discord/swiftshader/libEGL.so |
72 |
+ opt/discord/swiftshader/libGLESv2.so |
73 |
+ opt/discord/libVkICD_mock_icd.so |
74 |
opt/discord/libnode.so |
75 |
opt/discord/libffmpeg.so |
76 |
" |
77 |
|
78 |
-src_unpack() { |
79 |
- unpack_deb ${A} |
80 |
-} |
81 |
- |
82 |
src_prepare() { |
83 |
default |
84 |
|
85 |
@@ -69,13 +70,15 @@ src_prepare() { |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
- domenu opt/${MY_PN}/${MY_PN}.desktop |
90 |
- doicon opt/${MY_PN}/${MY_PN}.png |
91 |
+ doicon usr/share/${MY_PN}/${MY_PN}.png |
92 |
+ domenu usr/share/${MY_PN}/${MY_PN}.desktop |
93 |
|
94 |
- insinto /opt |
95 |
- doins -r usr/share/${MY_PN} |
96 |
+ insinto /opt/${MY_PN} |
97 |
+ doins -r usr/share/${MY_PN}/. |
98 |
fperms +x /opt/${MY_PN}/${MY_BIN} |
99 |
dosym ../../opt/${MY_PN}/${MY_BIN} usr/bin/${MY_PN} |
100 |
+ |
101 |
+ use pax_kernel && pax-mark -m "${ED%/}"/opt/${MY_PN}/${MY_PN} |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
|
106 |
diff --git a/net-im/discord-bin/metadata.xml b/net-im/discord-bin/metadata.xml |
107 |
index 15fd2f3a22b..6fc119fa9d0 100644 |
108 |
--- a/net-im/discord-bin/metadata.xml |
109 |
+++ b/net-im/discord-bin/metadata.xml |
110 |
@@ -5,4 +5,7 @@ |
111 |
<email>johu@g.o</email> |
112 |
<name>Johannes Huber</name> |
113 |
</maintainer> |
114 |
+ <use> |
115 |
+ <flag name="pax_kernel">Triggers a paxmarking of the binary</flag> |
116 |
+ </use> |
117 |
</pkgmetadata> |