net-im/armcord: move to net-im/legcord

This commit is contained in:
Jared Allard 2025-01-08 22:01:03 -08:00
parent c6a642bf11
commit 5a9081fcf9
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U
8 changed files with 20 additions and 92 deletions

View file

@ -0,0 +1,10 @@
Title: net-im/armcord renamed to net-im/legcord
Author: Jared Allard <jaredallard@users.noreply.github.com>
Posted: 2025-01-08
Revision: 1
News-Item-Format: 2.0
ArmCord was renamed to LegCord, so this is just us following
their direction. It should be automatically moved for you as
part of the profile update, but if not please uninstall armcord
and install legcord instead.

View file

@ -1,4 +0,0 @@
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
DIST ArmCord-3.3.1-linux-arm64.tar.gz 105123172 BLAKE2B c40c91226d994160a08a1ba087429314ed4a65ed68f2c586dba88af83dc34dd911da8c558647e4884e06ecb58c0dba9d2e2ef81200c9044fceafa86f6404da0b SHA512 7558be07f4b7ff4c410ade284b809b8502f654a0449ca5db41259694ea0a4db03b5555fca9cb6e156d6687c46bf9a5a34b1d2b094c299e03500b5eae83a2293b
DIST ArmCord-3.3.1-linux-x64.tar.gz 105089302 BLAKE2B 1d57c8bd10b8015fa0628b0039dc527f9ffe9c30e88cb5f49c5d7edc9d559982cd8c556ac60f71ff1bb9f897ec97609153f182b844b3695996d2d6e1875e7fbd SHA512 516aa69a7d130bd313d8fd21db7d9009f1d9a95a46945eb04dd02d62bc36cab99861b5f6efec6867aa86cb5a0c4c7282a0a9cf85bf1ab9b4c459f4c152642f40

View file

@ -1,81 +0,0 @@
# 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}-linux-x64.tar.gz )
arm64? ( https://github.com/ArmCord/ArmCord/releases/download/v${PV}/ArmCord-${PV}-linux-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
}

2
net-im/legcord/Manifest Normal file
View file

@ -0,0 +1,2 @@
DIST Legcord-1.0.6-linux-arm64.tar.gz 108844317 BLAKE2B 77361474eeb0a33adeca75e467dcc1fcd37baedf8bf7064f6c358d2c9ccc04cecff0b6c7d4a2128087822ba2d963749c0e5941b55b49399f0487fc1d84ecfcdd SHA512 efaa4033c0ed0d03fab5fec786fb490ea4cc61186ac5994003e2aaed85e46f26333e53c70e7bc91e142f4425afaf98315ae460a5b232dc7a21abe05c19de32d7
DIST Legcord-1.0.6-linux-x64.tar.gz 104344783 BLAKE2B 6189484dee3ab8c6fddfe7aa2999fcfe6fe8c4b8c032a7b013070c937e72d40504ef3b082cf9b32ece7a9abaf4fc6df1088289c37795d19cbe27a41f317f9e0b SHA512 88fcab5c40e1644a7e7292453330e621e1ae382858c4f6e27590b396fdf95ceddf812c2a1a0168320af39fd806bf07726ceb881b50fe03962555a2cdd40854db

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -14,11 +14,11 @@ CHROMIUM_LANGS="
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"
DESCRIPTION="Legcord is a custom client designed to enhance your Discord experience while keeping everything lightweight"
HOMEPAGE="https://github.com/Legcord/Legcord"
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 )
amd64? ( https://github.com/Legcord/Legcord/releases/download/v${PV}/Legcord-${PV}-linux-x64.tar.gz )
arm64? ( https://github.com/Legcord/Legcord/releases/download/v${PV}/Legcord-${PV}-linux-arm64.tar.gz )
"
IUSE="appindicator +seccomp wayland"
@ -68,7 +68,7 @@ src_install() {
if use wayland; then
executable="${PN} --ozone-platform-hint=auto"
fi
make_desktop_entry "$executable" "ArmCord" "${PN}" "Network;InstantMessaging;"
make_desktop_entry "$executable" "Legcord" "${PN}" "Network;InstantMessaging;"
}
pkg_postinst() {

View file

@ -27,10 +27,10 @@ dev-util/mise:
- original_ebuild: mise.ebuild
- command: pycargoebuild -i mise.ebuild
- ebuild: mise.ebuild
net-im/armcord:
net-im/legcord:
resolver: git
options:
url: https://github.com/ArmCord/ArmCord
url: https://github.com/Legcord/Legcord
net-vpn/tailscale:
resolver: git
options:

1
profiles/updates/1Q-2025 Normal file
View file

@ -0,0 +1 @@
move net-im/armcord net-im/legcord