From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2341B15800A for ; Fri, 18 Aug 2023 06:21:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 440292BC027; Fri, 18 Aug 2023 06:21:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FB522BC027 for ; Fri, 18 Aug 2023 06:21:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33C9D33BF5A for ; Fri, 18 Aug 2023 06:21:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69E99FDB for ; Fri, 18 Aug 2023 06:21:35 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1692339356.665fde7e795577cd233303b0acd0dec6748b49be.ceamac@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/discord-canary-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/discord-canary-bin/Manifest net-im/discord-canary-bin/discord-canary-bin-0.0.166.ebuild X-VCS-Directories: net-im/discord-canary-bin/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 665fde7e795577cd233303b0acd0dec6748b49be X-VCS-Branch: master Date: Fri, 18 Aug 2023 06:21:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2988bee9-1419-4306-8fb8-eab9904125a6 X-Archives-Hash: 477eb068598b1dac51863967ef1f0df6 Message-ID: <20230818062135.W2ZiEm2wSfXA7FMOiGmt5BCA-Howndo-KD8vNTC3L2o@z> commit: 665fde7e795577cd233303b0acd0dec6748b49be Author: Viorel Munteanu gentoo org> AuthorDate: Fri Aug 18 06:15:30 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Fri Aug 18 06:15:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=665fde7e net-im/discord-canary-bin: add 0.0.166 Signed-off-by: Viorel Munteanu gentoo.org> net-im/discord-canary-bin/Manifest | 1 + .../discord-canary-bin-0.0.166.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/net-im/discord-canary-bin/Manifest b/net-im/discord-canary-bin/Manifest index 587b2dcfa5..a468897ef3 100644 --- a/net-im/discord-canary-bin/Manifest +++ b/net-im/discord-canary-bin/Manifest @@ -1 +1,2 @@ DIST discord-canary-0.0.165.deb 93798834 BLAKE2B f6011345d8cb07283c844e777ab8a5ee3e9e0050b5519e25c1e7194eefce403a6ceb2c74e8efcbd7aa34c51b66812ef74a138ebb729af1f4242c3d383ce1d9ef SHA512 4b295550079ed872e8a8c6be727057e6bddb6482f65113e9414a3b1c55adaaeb191605b49826496ad725b34db0ad7e6ca2b315cba91a54f3c099e1c66a5f8961 +DIST discord-canary-0.0.166.deb 93799190 BLAKE2B 8ca14d4bafc614cf823f18d135b0b6374b049b0c8da1295110b7fc0a91675f81797d1208c49d6536d768ed333124f96928ae0f5d4f0846e2c4968871c3433e6e SHA512 a7e64e082b8f8f3857131de26ea4e02cdb0e462c5d5cd2e02e74015d6a84cf7d664df970f2c742b8be72f0e0c0bbf38803cd407ce0e3310f32b546318f6a203a diff --git a/net-im/discord-canary-bin/discord-canary-bin-0.0.166.ebuild b/net-im/discord-canary-bin/discord-canary-bin-0.0.166.ebuild new file mode 100644 index 0000000000..8024346a71 --- /dev/null +++ b/net-im/discord-canary-bin/discord-canary-bin-0.0.166.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=${PN/-bin/} +MY_BIN="D${MY_PN/d/}" +MY_BIN="${MY_BIN/-canary/}Canary" + +inherit desktop linux-info pax-utils unpacker xdg + +DESCRIPTION="All-in-one voice and text chat" +HOMEPAGE="https://discord.com/" +SRC_URI="https://dl-canary.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist mirror strip test" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-apps/util-linux + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libxkbcommon + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango +" + +QA_PREBUILT=" + opt/discord-canary/${MY_BIN} + opt/discord-canary/chrome_crashpad_handler + opt/discord-canary/chrome-sandbox + opt/discord-canary/libffmpeg.so + opt/discord-canary/libvk_swiftshader.so + opt/discord-canary/libvulkan.so + opt/discord-canary/libvulkan.so.1 + opt/discord-canary/libEGL.so + opt/discord-canary/libGLESv2.so + opt/discord-canary/libVkICD_mock_icd.so + opt/discord-canary/swiftshader/libEGL.so + opt/discord-canary/swiftshader/libGLESv2.so + opt/discord-canary/swiftshader/libvk_swiftshader.so +" + +CONFIG_CHECK="~USER_NS" + +src_prepare() { + default + + sed -i \ + -e "s:/usr/share/${MY_PN}/${MY_BIN}:/opt/${MY_PN}/${MY_BIN}:g" \ + usr/share/${MY_PN}/${MY_PN}.desktop || die +} + +src_install() { + newicon usr/share/${MY_PN}/${MY_PN//-canary/}.png ${MY_PN}.png + domenu usr/share/${MY_PN}/${MY_PN}.desktop + + 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} + + pax-mark -m "${ED}"/opt/${MY_PN}/${MY_PN} +}