This commit is contained in:
2026-04-26 00:21:49 +03:00
parent 1107ce595b
commit 5368d193b3
2 changed files with 2 additions and 158 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
DIST equibop_3.1.9_amd64.deb 182442204 BLAKE2B b284989137a1456a4c2453071a504b12cbf6b3e3f0b6cf4d29e7d1707870c07c5b1c8836b8b771ea6c00f32800d0e24eb635494531ace5eb2d0f33b41a3eac0a SHA512 5bb2c482ec971e8f706394d080552ef861daca1883348cb6314b36d5784790b7a5a8d60936e29dff90e6aea61a5823a161f577e4d664f08fefd1a21c572fec93
DIST equibop_3.1.9_arm64.deb 175356608 BLAKE2B bcfab25cf72554881b83eba0efd70934046b375420f67d71466fe3725753b79abb2dad02d6136788353855d896b42d4507f41e687ca7ac2d6dbd1eb995250028 SHA512 60dec43e1eb81b9c5fcdcc31d3d37d2acbdae405a4229007500d69c9aebe8c33b1bb43ac58c7d95b836b52e81ebca3638185390daebcc4844a79680ae008069c
DIST equibop_3.2.0_amd64.deb 184932036 BLAKE2B 2b43bdcf00321b12a2091153982eb6cb22d4941f3573bed007df16e2236f7f2dfe3e8cd15ff9b00309e6f7b3cd6f8d68be003ab334cbadc224a995273e38e630 SHA512 ccbd3c3de8c290a56bc668f75270b2683dad1f7c0d1d73db6bbb9e168bd00f87606fe9c5636181ecf57865bad61607371900cae103f45b922ff5129b434ae5be
DIST equibop_3.2.0_arm64.deb 177713996 BLAKE2B fd067cdf8bdab34c2b27ba7266925bb93cd88984ba11f2604b6267d4a2923f15cd23b5a5ed4afb4a304904dd8801d060998010781ea6b6b68fc9916b30b53033 SHA512 563f1408efd94c6185a335ee2c4058dcee5fea9b44ed7fb147742fa60a8bff97516e99ac774ec8b7c87bfad4551d4f5316a5fc518957d842f1da32388cb016da
-156
View File
@@ -1,156 +0,0 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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="Discord Desktop with Equicord preinstalled"
HOMEPAGE="https://github.com/Equicord/Equibop"
SRC_URI="
amd64? ( https://github.com/Equicord/Equibop/releases/download/v${PV}/equibop_${PV}_amd64.deb )
arm64? ( https://github.com/Equicord/Equibop/releases/download/v${PV}/equibop_${PV}_arm64.deb )
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
IUSE="+seccomp wayland"
RESTRICT="bindist mirror strip"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/mesa[gbm(+)]
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/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libxshmfence
x11-libs/pango
sys-libs/glibc
"
DESTDIR="/opt/equibop"
QA_PREBUILT="*"
CONFIG_CHECK="~USER_NS"
src_configure() {
default
chromium_suid_sandbox_check_kernel_config
}
src_prepare() {
default
# Remove post-install scripts
rm -f opt/Equibop/postinst.sh opt/Equibop/resources/apparmor-profile ||
die "removal of unneeded post-install scripts failed"
# Cleanup languages
pushd "opt/Equibop/locales/" >/dev/null || die "location change for language cleanup failed"
chromium_remove_language_paks
popd >/dev/null || die "location reset for language cleanup failed"
# Fix .desktop exec location
sed --in-place --expression "s:/opt/Equibop/equibop:equibop:g" \
usr/share/applications/equibop.desktop ||
die "fixing of exec location on .desktop failed"
# Update exec location in launcher
sed --expression "s:@@DESTDIR@@:${DESTDIR}:" \
"${FILESDIR}/launcher.sh" > "${T}/launcher.sh" || die "updating of exec location in launcher failed"
# USE seccomp in launcher
if use seccomp; then
sed --in-place --expression '/^EBUILD_SECCOMP=/s/false/true/' \
"${T}/launcher.sh" || die "sed failed for seccomp"
fi
# USE wayland in launcher
if use wayland; then
sed --in-place --expression '/^EBUILD_WAYLAND=/s/false/true/' \
"${T}/launcher.sh" || die "sed failed for wayland"
fi
}
src_install() {
doicon usr/share/icons/hicolor/scalable/apps/equibop.svg
# Install .desktop file
domenu usr/share/applications/equibop.desktop
exeinto "${DESTDIR}"
doexe opt/Equibop/equibop opt/Equibop/chrome-sandbox \
opt/Equibop/libEGL.so opt/Equibop/libffmpeg.so \
opt/Equibop/libGLESv2.so opt/Equibop/libvk_swiftshader.so
insinto "${DESTDIR}"
doins opt/Equibop/chrome_100_percent.pak opt/Equibop/chrome_200_percent.pak \
opt/Equibop/icudtl.dat opt/Equibop/resources.pak \
opt/Equibop/snapshot_blob.bin opt/Equibop/v8_context_snapshot.bin \
opt/Equibop/vk_swiftshader_icd.json
# Install vulkan library if present
[[ -f opt/Equibop/libvulkan.so.1 ]] && doexe opt/Equibop/libvulkan.so.1
insopts -m0755
doins -r opt/Equibop/locales opt/Equibop/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"
# Crashpad is included in the package once in a while and when it does, it must be installed.
# See #903616 and #890595
[[ -x opt/Equibop/chrome_crashpad_handler ]] && doins opt/Equibop/chrome_crashpad_handler
exeinto "/usr/bin"
newexe "${T}/launcher.sh" "equibop" || die "failing to install launcher"
}
pkg_postinst() {
xdg_pkg_postinst
optfeature_header "Install the following packages for additional support:"
optfeature "screenshare audio support (Equibop feature)" media-video/pipewire
optfeature "legacy sound support" media-sound/pulseaudio media-sound/apulse[sdk]
optfeature "emoji support" media-fonts/noto-emoji
optfeature "password storage" app-crypt/libsecret gnome-base/gnome-keyring
if has_version kde-plasma/kwin[-screencast] && use wayland; then
einfo " "
einfo "When using KWin on Wayland, the kde-plasma/kwin[screencast] USE flag"
einfo "must be enabled for screensharing."
einfo " "
fi
}