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 45F49158020 for ; Tue, 6 Dec 2022 17:34:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53C81E07C9; Tue, 6 Dec 2022 17:34:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3673FE07C9 for ; Tue, 6 Dec 2022 17:34:55 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23441340FF9 for ; Tue, 6 Dec 2022 17:34:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 760274C8 for ; Tue, 6 Dec 2022 17:34:52 +0000 (UTC) From: "Marcin Woźniak" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marcin Woźniak" Message-ID: <1670348101.1074bf8bc129461e14c5e2e6e8e09f1b43502a8d.yorune@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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.144.ebuild X-VCS-Directories: net-im/discord-canary-bin/ X-VCS-Committer: yorune X-VCS-Committer-Name: Marcin Woźniak X-VCS-Revision: 1074bf8bc129461e14c5e2e6e8e09f1b43502a8d X-VCS-Branch: dev Date: Tue, 6 Dec 2022 17:34:52 +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: bded22ca-236c-4f7d-b4e2-ceb3a1ab3da7 X-Archives-Hash: 6d3443407ef9a23a4560e23d1880a1fc commit: 1074bf8bc129461e14c5e2e6e8e09f1b43502a8d Author: Marcin Woźniak aol com> AuthorDate: Tue Dec 6 17:35:01 2022 +0000 Commit: Marcin Woźniak aol com> CommitDate: Tue Dec 6 17:35:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1074bf8b net-im/discord-canary-bin: version bump to 0.0.144 Signed-off-by: Marcin Woźniak aol.com> net-im/discord-canary-bin/Manifest | 2 +- .../discord-canary-bin-0.0.144.ebuild | 90 ++++++++++++++++++++++ 2 files changed, 91 insertions(+), 1 deletion(-) diff --git a/net-im/discord-canary-bin/Manifest b/net-im/discord-canary-bin/Manifest index 303932c26..c66f01527 100644 --- a/net-im/discord-canary-bin/Manifest +++ b/net-im/discord-canary-bin/Manifest @@ -1 +1 @@ -DIST discord-canary-0.0.143.deb 81623310 BLAKE2B 3e8887ed185faebd545e661556528c1da016bae7937ed878aa3e572ea26a3e871eb327ad19fdcacc9af87a71c4cc30f69fbbb6f4a4499c2b3bca3f7869dd9c98 SHA512 f249624156d5adf4aff5a9c59ec76908251db26f9f06395cb246e9388fc694bbdc58d1ae63ec3750bbe96c0dc24fe217ce7287bd4058fc546b0d72e91d633ef1 +DIST discord-canary-0.0.144.deb 81624716 BLAKE2B f14865dc7167de5e827982610a589c3810579061cf6233572cbde76cfcda4c5bf2690d016d3f020271ef855053cfecd8f18079a406f7cc586fe872a5dfdb298b SHA512 5431aba18bdd492d84b2320e883c23540b731a65c2bab3e77038c4bba9abc1aeed4154807937997a720a5ff1fe59e49db71d20e462f7d77b2d3c2c4008f8a11a diff --git a/net-im/discord-canary-bin/discord-canary-bin-0.0.144.ebuild b/net-im/discord-canary-bin/discord-canary-bin-0.0.144.ebuild new file mode 100644 index 000000000..4b95f02be --- /dev/null +++ b/net-im/discord-canary-bin/discord-canary-bin-0.0.144.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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://discordapp.com/" +SRC_URI="https://dl-canary.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror bindist" + +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + dev-libs/atk + 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 + net-print/cups + sys-apps/dbus + sys-apps/util-linux + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + 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 +" + +S="${WORKDIR}" + +QA_PREBUILT=" + opt/discord-canary/${MY_BIN} + opt/discord-canary/chrome-sandbox + opt/discord-canary/libffmpeg.so + opt/discord-canary/libvk_swiftshader.so + opt/discord-canary/libvulkan.so + 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} +}