public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/discord-bin/
Date: Sat, 19 Jan 2019 05:43:12 +0000 (UTC)	[thread overview]
Message-ID: <1547876522.fedf87c94bd1c080e014a2ac2da35f4458d26a3e.whissi@gentoo> (raw)

commit:     fedf87c94bd1c080e014a2ac2da35f4458d26a3e
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 19 05:42:02 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 19 05:42:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fedf87c9

net-im/discord-bin: bump to v0.0.8

Closes: https://bugs.gentoo.org/675674
Closes: https://bugs.gentoo.org/675554
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-im/discord-bin/Manifest                        |  2 +-
 ...in-0.0.5-r1.ebuild => discord-bin-0.0.8.ebuild} | 31 ++++++++++++----------
 net-im/discord-bin/metadata.xml                    |  3 +++
 3 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/net-im/discord-bin/Manifest b/net-im/discord-bin/Manifest
index 7a63d83145d..a2b4dab167b 100644
--- a/net-im/discord-bin/Manifest
+++ b/net-im/discord-bin/Manifest
@@ -1 +1 @@
-DIST discord-0.0.5.deb 52100102 BLAKE2B d8b28386d83fd63e47f11af06bc9858a3877565785c97588dad0ade197d70a8d3635137a66024a3b82c4c65acc6e806981a2d9e0e5f20b17745d9123a2cf5d4a SHA512 8b2ef353d393644e450452060449c633487ff344f2e9e0711029bbb3012c364211edc30507976ec218f8a573aefd603ea1681b4e37fe9561f39c5eaa5fd6e29a
+DIST discord-0.0.8.deb 44221304 BLAKE2B 3b40f03a3398e1041c0b532df8bc1326df2564a2744d05529db9ba9191bb647eed4ebc28e08cdfa69b98336b2b0619f5898367c3497a704a7bec4309f7f2eb36 SHA512 5d228f0d36306d35ae8d76385a82cbfef32da2ee405292062972c4c2df453f0d329d91127d55ce81e79fa398de9be839b77125fc8a7e9958fa3409c29ee4880a

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
similarity index 75%
rename from net-im/discord-bin/discord-bin-0.0.5-r1.ebuild
rename to net-im/discord-bin/discord-bin-0.0.8.ebuild
index 4f5af1205dc..190284c78c9 100644
--- a/net-im/discord-bin/discord-bin-0.0.5-r1.ebuild
+++ b/net-im/discord-bin/discord-bin-0.0.8.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI="6"
 
 MY_PN=${PN/-bin/}
 MY_BIN="D${MY_PN/d/}"
-inherit eutils gnome2-utils unpacker desktop xdg-utils
+
+inherit desktop gnome2-utils pax-utils unpacker xdg-utils
 
 DESCRIPTION="All-in-one voice and text chat for gamers"
 HOMEPAGE="https://discordapp.com"
@@ -14,7 +15,8 @@ SRC_URI="https://dl.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb"
 LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
+IUSE="pax_kernel"
+RESTRICT="mirror bindist"
 
 RDEPEND="
 	dev-libs/atk
@@ -48,18 +50,17 @@ RDEPEND="
 
 S=${WORKDIR}
 
-RESTRICT="mirror bindist"
-
 QA_PREBUILT="
 	opt/discord/${MY_BIN}
+	opt/discord/libEGL.so
+	opt/discord/libGLESv2.so
+	opt/discord/swiftshader/libEGL.so
+	opt/discord/swiftshader/libGLESv2.so
+	opt/discord/libVkICD_mock_icd.so
 	opt/discord/libnode.so
 	opt/discord/libffmpeg.so
 "
 
-src_unpack() {
-	unpack_deb ${A}
-}
-
 src_prepare() {
 	default
 
@@ -69,13 +70,15 @@ src_prepare() {
 }
 
 src_install() {
-	domenu opt/${MY_PN}/${MY_PN}.desktop
-	doicon opt/${MY_PN}/${MY_PN}.png
+	doicon usr/share/${MY_PN}/${MY_PN}.png
+	domenu usr/share/${MY_PN}/${MY_PN}.desktop
 
-	insinto /opt
-	doins -r usr/share/${MY_PN}
+	insinto /opt/${MY_PN}
+	doins -r usr/share/${MY_PN}/.
 	fperms +x /opt/${MY_PN}/${MY_BIN}
 	dosym ../../opt/${MY_PN}/${MY_BIN} usr/bin/${MY_PN}
+
+	use pax_kernel && pax-mark -m "${ED%/}"/opt/${MY_PN}/${MY_PN}
 }
 
 pkg_postinst() {

diff --git a/net-im/discord-bin/metadata.xml b/net-im/discord-bin/metadata.xml
index 15fd2f3a22b..6fc119fa9d0 100644
--- a/net-im/discord-bin/metadata.xml
+++ b/net-im/discord-bin/metadata.xml
@@ -5,4 +5,7 @@
 		<email>johu@gentoo.org</email>
 		<name>Johannes Huber</name>
 	</maintainer>
+	<use>
+		<flag name="pax_kernel">Triggers a paxmarking of the binary</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2019-01-19  5:43 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-19  5:43 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-14  5:31 [gentoo-commits] repo/gentoo:master commit in: net-im/discord-bin/ Nick Sarnie
2023-01-14  5:29 Nick Sarnie
2023-01-14  1:20 Nick Sarnie
2023-01-13 18:49 Nick Sarnie
2023-01-13 18:30 Nick Sarnie
2023-01-13  0:40 Nick Sarnie
2023-01-13  0:16 Nick Sarnie
2023-01-13  0:12 Nick Sarnie
2022-12-10  3:29 Nick Sarnie
2022-11-07  8:49 Joonas Niilola
2022-11-07  8:49 Joonas Niilola
2022-10-21 23:55 Stefan Strogin
2022-09-15 18:39 Sam James
2022-08-10 20:36 Sam James
2022-07-24  6:08 Joonas Niilola
2022-06-08 18:16 Stefan Strogin
2022-06-08 18:14 Stefan Strogin
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-20  2:40 Sam James
2022-05-20  1:18 Sam James
2022-05-19  2:03 Sam James
2022-05-19  2:03 Sam James
2022-02-17 20:25 Ionen Wolkens
2022-02-17 20:25 Ionen Wolkens
2022-02-17 20:25 Ionen Wolkens
2021-12-21  2:19 Sam James
2021-12-01 18:34 Sam James
2021-12-01 14:43 Sam James
2021-12-01 14:42 Sam James
2021-11-20 23:05 Ionen Wolkens
2021-10-19  0:55 Ionen Wolkens
2021-10-19  0:55 Ionen Wolkens
2021-10-19  0:55 Ionen Wolkens
2021-09-22 20:22 Stefan Strogin
2021-05-25 14:13 Stefan Strogin
2021-03-24 16:28 Stefan Strogin
2020-12-05 21:10 Stefan Strogin
2020-09-12  3:01 Sam James
2020-09-12  1:05 Sam James
2020-09-12  1:05 Sam James
2020-09-12  1:05 Sam James
2020-08-06 20:55 Sam James
2020-08-06 20:55 Sam James
2020-08-06 20:55 Sam James
2020-02-29  9:18 Johannes Huber
2020-02-29  9:18 Johannes Huber
2020-01-12 20:46 Johannes Huber
2020-01-12 13:20 Johannes Huber
2020-01-12 13:20 Johannes Huber
2020-01-12 13:20 Johannes Huber
2020-01-12 13:20 Johannes Huber
2019-12-04 16:06 Aaron Bauman
2019-03-15 22:22 Thomas Deutschmann
2019-03-12 21:32 Thomas Deutschmann
2019-03-12 21:32 Thomas Deutschmann
2019-01-19  5:43 Thomas Deutschmann
2018-05-01 20:37 Johannes Huber
2018-05-01 20:37 Johannes Huber
2018-01-09 17:36 Johannes Huber
2018-01-09 17:34 Johannes Huber
2017-12-22  8:59 Johannes Huber
2017-12-12  6:15 Johannes Huber
2017-09-13 17:52 Johannes Huber
2017-09-13 17:52 Johannes Huber
2017-09-09  8:00 Johannes Huber
2017-09-09  8:00 Johannes Huber
2017-04-14 12:03 Johannes Huber
2017-01-29 20:21 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1547876522.fedf87c94bd1c080e014a2ac2da35f4458d26a3e.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox