mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-im/beeper: add 4.2.166, drop old
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
DIST Beeper-4.1.289-arm64.AppImage 213674117 BLAKE2B 1d41ee1ac9cd654c953b508906903140fff06a2e99344fd2fd141b3fcfe62b271eb1050f9552842c7c1ec3d00803659b45d94a8b2966205de1bdf7089a7c8e4c SHA512 bfe5fa6ac76e90c9288ebced8fdc895e4dcea77c88e86d66ff27c79c9db7388e31bc1ff82673b7b700719124eabdcc6fb598cb08f1e8ff3c687bb30697c25dd4
|
||||
DIST Beeper-4.1.289-x86_64.AppImage 208634609 BLAKE2B 64493d33032400ecdb97036c8a104220bc3df49d701b28b7ec5719efeddbe2c5881114ae12d9cd8c98212dca5462d40fcd6c33c690a4b777731aeb39ed160692 SHA512 dccc9327f814fb2a6c823d31cc4b65b970ba799383e2c9a620560c09b2eff142e2fe86e07116c26e20f4d5ac2c63f36a72241467b50741599620851f4da3c142
|
||||
DIST Beeper-4.1.311-arm64.AppImage 222314139 BLAKE2B 6133b5b0fe871c54bb25b6e37d6b5a9204afd3d83af2cc9cec00bc1cbf3856f473db398b1a5b75fbeb0a2f4113a6707142b97fd5fd4efefe2140c711ef4f2f2d SHA512 6ff5464d7f3adcd855428e5a2074068df7a68aa6c5dea3c457dbfe3799f5b390cc3ea24bc71384cad206e24ac58df0088053842848868d5768db973c3984436f
|
||||
DIST Beeper-4.1.311-x86_64.AppImage 217425233 BLAKE2B ce8bcb7cc0ed91f2720190b820c4009d5fa881c51856fbccf6cd43fefec77cb1a3fa4acf45aa3903ca6a279b17663aa04fba376064c948f9dcab495f877fcff8 SHA512 c064a909927af5d00f8874745aa987c0da5bb6191ede3787f6693948cc17640d5f5ed0d39f34a01a9deffc081008c7bbebb65e260742e6185fd29648721f7d1d
|
||||
DIST Beeper-4.2.166-arm64.AppImage 220679092 BLAKE2B 2bef2401625d7c5c728a3e61966d3a9747e0b1499e997f04c98d552737fcd70cf8efde24078530aa4a97cfd7e772a97ea5da7c6feb33c0d44e423649f668b620 SHA512 93a65aa4c8a3ef188a992aabe232fb2b8fa8521d8d9cd238f51f485aef446eee6efad7e3b8d90eaf9951a38539ce1aa0a100144b24a8b72de2db475aa4216a39
|
||||
DIST Beeper-4.2.166-x86_64.AppImage 216363468 BLAKE2B 1b49590ccb03ab78857729de39397ee0ee38f8da8d535d659c45685319dc4974e5d3e46d35c6a47ada2e5bc879e73160a90602251a26f287901406c317ac7842 SHA512 bda0b4a07df0a59d41514ff5ca0927a0e6b9ce25e35e8ea547f8b9a4c995786fc7daf01658faf82bd81cce9b0971541cdb356e2cb7813870999426d512e3e47c
|
||||
|
||||
@@ -1,143 +0,0 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTICE: This is a Electron app (oh my…) and the upstream only provides AppImages.
|
||||
#
|
||||
# To check the latest version, run:
|
||||
#
|
||||
# curl -s "https://api.beeper.com/desktop/update-feed.json?bundleID=com.automattic.beeper.desktop&platform=linux&arch=x64&channel=stable" | jq .version
|
||||
|
||||
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 optfeature pax-utils xdg
|
||||
|
||||
DESCRIPTION="Beeper: Unified Messenger"
|
||||
HOMEPAGE="https://www.beeper.com/"
|
||||
SRC_URI="
|
||||
amd64? ( https://beeper-desktop.download.beeper.com/builds/Beeper-${PV}-x86_64.AppImage )
|
||||
arm64? ( https://beeper-desktop.download.beeper.com/builds/Beeper-${PV}-arm64.AppImage )
|
||||
"
|
||||
S="${WORKDIR}/squashfs-root"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
# node_modules licenses
|
||||
LICENSE+=" Apache-2.0 BSD ISC MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa
|
||||
media-libs/vips:0/42
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
>=sys-libs/glibc-2.26
|
||||
sys-libs/zlib
|
||||
virtual/udev
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_unpack() {
|
||||
local appimage
|
||||
use amd64 && appimage="Beeper-${PV}-x86_64.AppImage"
|
||||
use arm64 && appimage="Beeper-${PV}-arm64.AppImage"
|
||||
|
||||
cd "${WORKDIR}" || die # "appimage-extract" unpacks to current directory.
|
||||
cp "${DISTDIR}/${appimage}" Beeper.AppImage || die
|
||||
chmod +x Beeper.AppImage || die
|
||||
./Beeper.AppImage --appimage-extract || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix permissions
|
||||
find "${S}" -type d -exec chmod a+rx {} + || die
|
||||
find "${S}" -type f -exec chmod a+r {} + || die
|
||||
|
||||
# Fix desktop menu item
|
||||
sed "/^Exec=/c Exec=beepertexts %U" -i beepertexts.desktop || die
|
||||
|
||||
# Handle Chromium language packs
|
||||
pushd locales || die
|
||||
chromium_remove_language_paks
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install icons and the desktop file
|
||||
mkdir -p usr/share/applications || die
|
||||
mv beepertexts.desktop usr/share/applications || die
|
||||
|
||||
insinto /usr/share
|
||||
doins -r ./usr/share/{applications,icons}
|
||||
|
||||
# Cleanup
|
||||
local -a toremove=(
|
||||
.DirIcon
|
||||
AppRun
|
||||
LICENSE.electron.txt
|
||||
LICENSES.chromium.html
|
||||
beepertexts.png
|
||||
resources/app/build/main/linux-*.mjs
|
||||
resources/app/node_modules/classic-level/prebuilds/linux-x64/classic-level.musl.node
|
||||
usr
|
||||
)
|
||||
rm -r "${toremove[@]}" || die
|
||||
|
||||
# Install
|
||||
local apphome="/opt/BeeperTexts"
|
||||
|
||||
pax-mark m beepertexts
|
||||
mkdir -p "${ED}${apphome}" || die
|
||||
cp -r . "${ED}${apphome}" || die
|
||||
fperms 4711 "${apphome}"/chrome-sandbox
|
||||
|
||||
local libvips_dest=(
|
||||
resources/app/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.*
|
||||
)
|
||||
(( ${#libvips_dest[@]} == 1 )) ||
|
||||
die "multiple or no libvips libraries found"
|
||||
dosym -r /usr/$(get_libdir)/libvips-cpp.so.42 "${apphome}/${libvips_dest[0]}"
|
||||
|
||||
dosym -r "${apphome}"/beepertexts /usr/bin/beepertexts
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "desktop notifications" x11-libs/libnotify
|
||||
}
|
||||
@@ -47,8 +47,8 @@ RDEPEND="
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
>=sys-libs/glibc-2.26
|
||||
sys-libs/zlib
|
||||
virtual/udev
|
||||
virtual/zlib
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
Reference in New Issue
Block a user