public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/armcord-bin/
Date: Fri, 31 May 2024 08:55:29 +0000 (UTC)	[thread overview]
Message-ID: <1717089313.d8c1480d622ab181834a29c19ad491d3acd0dd12.julien@gentoo> (raw)

commit:     d8c1480d622ab181834a29c19ad491d3acd0dd12
Author:     AquaOneLove <aquaonelove <AT> proton <DOT> me>
AuthorDate: Thu May 30 17:14:43 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Thu May 30 17:15:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8c1480d

net-im/armcord-bin: add 3.2.7

Signed-off-by: AquaOneLove <aquaonelove <AT> proton.me>

 net-im/armcord-bin/Manifest                 |  1 +
 net-im/armcord-bin/armcord-bin-3.2.7.ebuild | 99 +++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/net-im/armcord-bin/Manifest b/net-im/armcord-bin/Manifest
index c3fc8a541..511579158 100644
--- a/net-im/armcord-bin/Manifest
+++ b/net-im/armcord-bin/Manifest
@@ -1 +1,2 @@
 DIST armcord-bin-3.2.6.deb 74268974 BLAKE2B c7fc6bfcef006c6823bd3d2cf2bfb976c7feb6cf6146d49154446d5394b295b48278119df60f056a9609111f0510c4fa5abaafb89c556987060092c523dd6d4a SHA512 844f88527735b3f54e203c6b2acba7f949c9bc38236b702759db37a1540378588406350a5920d49d4a45b3fdf34e3a6b7afa91db6bf9f4175ddd7fadbba51eb7
+DIST armcord-bin-3.2.7.deb 74353498 BLAKE2B d4c84aa21d6a4097ae95d33bc307a176dddd350cbaad762dc40b97a36f22a44127a48ec570e49db3fb5b86d9998588b5f8fb7e5b6d1ab64d0d3943ed0dd21634 SHA512 dc3aeca58ff8d3586dfccb238c7150ca1ef711f3d3b78cb9e056072eda1522cef8238fd4d09b0030c5189324b26d3ad8e4c892db2d1cdf90d4d0b45de228bd03

diff --git a/net-im/armcord-bin/armcord-bin-3.2.7.ebuild b/net-im/armcord-bin/armcord-bin-3.2.7.ebuild
new file mode 100644
index 000000000..5a09a31ac
--- /dev/null
+++ b/net-im/armcord-bin/armcord-bin-3.2.7.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker desktop xdg
+
+DESCRIPTION="ArmCord is a custom client designed to enhance your Discord experience."
+HOMEPAGE="https://armcord.app/"
+SRC_URI="https://github.com/ArmCord/ArmCord/releases/download/v${PV}/ArmCord_${PV}_amd64.deb -> ${P}.deb"
+S="${WORKDIR}"
+
+LICENSE="MIT BSD OSL-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="bindist mirror test strip"
+
+RDEPEND="
+	app-accessibility/at-spi2-core:2
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/mesa
+	net-print/cups
+	sys-apps/dbus
+	x11-libs/cairo
+	x11-libs/gtk+:3
+	x11-libs/libdrm
+	x11-libs/libX11
+	x11-libs/libxcb
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libxkbcommon
+	x11-libs/libXrandr
+	x11-libs/pango
+"
+QA_PREBUILT=".*"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-desktop.patch"
+)
+
+src_unpack() {
+	unpack_deb "${P}.deb"
+}
+
+src_prepare() {
+	default
+
+	mv "${WORKDIR}/opt/ArmCord" "${WORKDIR}/opt/${PN}" || die
+	mv "${WORKDIR}/usr/share/applications/armcord.desktop" "${WORKDIR}/${PN}.desktop" || die
+	mv "${WORKDIR}"/usr/share/icons/hicolor/* "${WORKDIR}/" || die
+	rm -rf "${WORKDIR}/usr/share/doc" || die
+}
+
+src_install() {
+	DESTDIR="/opt/${PN}"
+
+	doicon -s 16 "16x16/apps/armcord.png"
+	doicon -s 32 "32x32/apps/armcord.png"
+	doicon -s 48 "48x48/apps/armcord.png"
+	doicon -s 64 "64x64/apps/armcord.png"
+	doicon -s 128 "128x128/apps/armcord.png"
+	doicon -s 256 "256x256/apps/armcord.png"
+	doicon -s 512 "512x512/apps/armcord.png"
+	doicon -s 1024 "1024x1024/apps/armcord.png"
+
+	domenu "${PN}.desktop"
+
+	exeinto "${DESTDIR}"
+	doexe "opt/${PN}/armcord" "opt/${PN}/chrome-sandbox" "opt/${PN}/libEGL.so" \
+	"opt/${PN}/libffmpeg.so" "opt/${PN}/libGLESv2.so" "opt/${PN}/libvk_swiftshader.so"
+
+	insinto "${DESTDIR}"
+	doins "opt/${PN}/chrome_100_percent.pak" "opt/${PN}/chrome_200_percent.pak" "opt/${PN}/icudtl.dat" \
+	"opt/${PN}/resources.pak" "opt/${PN}/snapshot_blob.bin" "opt/${PN}/v8_context_snapshot.bin"
+	insopts -m0766
+	doins -r "opt/${PN}/locales" "opt/${PN}/resources"
+
+	fperms -R 644 "${DESTDIR}/locales"
+	fperms -R 644 "${DESTDIR}/resources"
+
+	# Fix bug 930639
+	fperms -R a+r "${DESTDIR}"/resources/
+	fperms a+x "${DESTDIR}"/resources/
+
+	fowners root "${DESTDIR}/chrome-sandbox"
+	fperms 4711 "${DESTDIR}/chrome-sandbox"
+
+	doins "opt/${PN}/chrome_crashpad_handler"
+	fperms 755 "${DESTDIR}/chrome_crashpad_handler"
+
+	dosym -r /opt/${PN}/armcord /usr/bin/${PN}
+}


             reply	other threads:[~2024-05-31  8:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-31  8:55 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-12 17:54 [gentoo-commits] repo/proj/guru:master commit in: net-im/armcord-bin/ David Roman
2024-09-12 17:54 David Roman
2024-04-27 11:10 David Roman
2024-04-25 21:49 Julien Roy
2024-04-22 23:06 Julien Roy
2024-04-22 20:52 David Roman

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=1717089313.d8c1480d622ab181834a29c19ad491d3acd0dd12.julien@gentoo \
    --to=julien@jroy.ca \
    --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