chore: update dependencies

This commit is contained in:
github-actions[bot] 2024-08-12 00:04:34 +00:00 committed by GitHub
parent f7f39023d9
commit 7fb0c5487a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 83 additions and 0 deletions

View file

@ -1,2 +1,4 @@
DIST ArmCord-3.2.7-arm64.tar.gz 101285607 BLAKE2B d56085b7453c3b2525027956c9fcc056a33d5435ddd1f4c4e277846ce31793638be76eef551243efb183b81f1b6d3cb59bead60474bffa80fe8692051154d096 SHA512 96bfe80d9909528fd3f78a91dcafe57ed89136407da563dc5ecb830d2fdff2b05f755a59f7b5bbc1d931576d05fdcfb0efc807f4887126598ae4d232318a2420
DIST ArmCord-3.2.7.tar.gz 101167833 BLAKE2B f9a02e34e72bd5ae678b6234691631d4c4cf0d19fba9c035f2fbd638f7c1eae238baa51bb0ccabcd749c8af7f191585319d89e0c899f9a51a36f0827582c9664 SHA512 0ab6efa870284a7140d98dd5a26420dcc8fd187c04d942e84b23af1285cbe4eb95d3759934faeb88303cc59085f60c2a6c51cffbea24b4039dffe95993741bdc
DIST ArmCord-3.2.8-arm64.tar.gz 102625659 BLAKE2B c99f4ed7ae4ed82ce86e1b25ffb5a11235b60a556c9a2b59242f5c7c66cdfa46c0032b3e1ac98c688d158dcf4f87d8ef6e8928ca76cfb7533a636377e5ce355e SHA512 6f3ccf1e9d2951eacbf0654a92e74f03059a549fa03f8155a0936f68ed79f5ea20eff5c54284b6a5f4dc8883cd79661f403e2cfecb678aa749490a5b1bc00a68
DIST ArmCord-3.2.8.tar.gz 102612642 BLAKE2B b5e08cdcfa380930bfc8e83a8050e1444054cff4b23ca750c712a5e88809772e89d5ddd3b32d3d84d0842dda63cd53f69b1b5893123c8fef63784d619c3b4303 SHA512 46ccae9ec7329a2778e90e5c27069cb221aabbd0bb631a4456c3dcc6bd02054762ee18ac328a6716658df974dcb5990a31ed5ffae8aef34a90ffd606ffe665c6

View file

@ -0,0 +1,81 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/-bin/}"
MY_PV="${PV/-r*/}"
CHROMIUM_LANGS="
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
sw ta te th tr uk ur vi zh-CN zh-TW
"
inherit chromium-2 desktop linux-info optfeature unpacker xdg
DESCRIPTION="ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight"
HOMEPAGE="https://github.com/ArmCord/ArmCord"
SRC_URI="
amd64? ( https://github.com/ArmCord/ArmCord/releases/download/v${PV}/ArmCord-${PV}.tar.gz )
arm64? ( https://github.com/ArmCord/ArmCord/releases/download/v${PV}/ArmCord-${PV}-arm64.tar.gz )
"
IUSE="appindicator +seccomp wayland"
LICENSE="OSL-3.0"
SLOT="0"
KEYWORDS="amd64 arm64"
RESTRICT="bindist mirror strip test"
QA_PREBUILT="*"
DESTDIR="/opt/${MY_PN}"
CONFIG_CHECK="~USER_NS"
src_unpack() {
unpacker_src_unpack
ls -alg "${WORKDIR}"
# Use the first directory found in the unpacked tarball.
S=$(find "${WORKDIR}" -maxdepth 1 -mindepth 1 -type d -print)
}
src_configure() {
default
chromium_suid_sandbox_check_kernel_config
}
src_install() {
doicon -s 256 "${FILESDIR}/icon.png"
exeinto "${DESTDIR}"
doexe "${MY_PN}" chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so
insinto "${DESTDIR}"
doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
insopts -m0755
doins -r locales resources
# Chrome-sandbox requires the setuid bit to be specifically set.
# see https://github.com/electron/electron/issues/17972
fowners root "${DESTDIR}/chrome-sandbox"
fperms 4711 "${DESTDIR}/chrome-sandbox"
[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
dosym "${DESTDIR}/${MY_PN}" "/usr/bin/${MY_PN}"
executable="${PN}"
if use wayland; then
executable="${PN} --ozone-platform-hint=auto"
fi
make_desktop_entry "$executable" "ArmCord" "${PN}" "Network;InstantMessaging;"
}
pkg_postinst() {
xdg_pkg_postinst
optfeature_header "Install the following packages for additional support:"
optfeature "sound support" \
media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire
optfeature "emoji support" media-fonts/noto-emoji
}