net-im/zulip-desktop-bin: add 5.12.1

Signed-off-by: Alexander Puck Neuwirth <apn-pucky@gentoo.org>
This commit is contained in:
Alexander Puck Neuwirth
2025-08-30 12:04:27 +02:00
parent 35e4c17dc0
commit 570b7e9498
2 changed files with 101 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST Zulip-5.11.1-amd64.deb 77340186 BLAKE2B 11ec4a710c968341dd6591966e2edec925f2a825059d61cc2453866a79cfad635862cad70c91b6a2637e74379ced318fc8fa92c094967d048f780b9e2c586cef SHA512 2fbb49606dfd9c147817427e510781526e9cce3f244f9ecf9f86cf37f6cd73f4029412fbed2c70a9286613873a1c72cf1ba5b63f1947f077b9a19a128c632e46
DIST Zulip-5.12.0-amd64.deb 81174072 BLAKE2B 6e5b9913944d81264b30522064fd212ab39fc6102f2c121b79eb990ef185c892663984b70fbb49286900e535245f75f44d6510be14cc492f20009cabec315fcc SHA512 134329d646bf6adc402b4b4372780c2078a48af26082b32ca1a40c97749d680f34a4d6d20015d797f99fa9dc810c5f6f2a67f0d28605a62daea96c9c60fdc16d
DIST Zulip-5.12.1-amd64.deb 82083484 BLAKE2B 6758b479c27df1fcfa6b8a711bcdb7b1d0057dc57195476eff548399f6256cf792a5196fc4e1f6b947770c6bf5014930d98e63b4e01387fa34c1a0673cdd0b80 SHA512 5d0130d7a408a4e4382c048ccabec60ff595c9a9b045afcf4b98812af76e9e867e6f038f717a2314df4b983d94b8a1fb08994083fbde8c1b2d5ba3bdb07f141a

View File

@@ -0,0 +1,100 @@
# Copyright 2025 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 unpacker xdg
DESCRIPTION="Organized chat for distributed teams."
HOMEPAGE="https://zulip.com/"
SRC_URI="
amd64? ( https://download.zulip.com/desktop/apt/pool/main/z/zulip/Zulip-${PV}-amd64.deb )
"
S="${WORKDIR}"
LICENSE="
MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2
unRAR OFL-1.1 CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved
"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror"
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/mesa
net-print/cups
sys-apps/dbus
sys-libs/glibc
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
sys-libs/zlib
"
QA_PREBUILT="opt/Zulip/*"
pkg_pretend() {
chromium_suid_sandbox_check_kernel_config
}
src_prepare() {
default
# cleanup languages
pushd "opt/Zulip/locales" || die
chromium_remove_language_paks
popd || die
}
src_configure() {
chromium_suid_sandbox_check_kernel_config
default
}
src_install() {
# why does this release only have one icon size?!?
size=512
doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/zulip.png"
domenu usr/share/applications/zulip.desktop
local DESTDIR="/opt/Zulip"
pushd "opt/Zulip" || die
exeinto "${DESTDIR}"
doexe chrome-sandbox chrome_crashpad_handler zulip *.so*
insinto "${DESTDIR}"
doins *.pak *.bin *.json *.dat
insopts -m0755
doins -r locales resources
# Chrome-sandbox requires the setuid bit to be specifically set.
# see https://github.com/electron/electron/issues/17972
fperms 4755 "${DESTDIR}"/chrome-sandbox
dosym "${DESTDIR}"/zulip /opt/bin/zulip
popd || die
}