net-im/max: new package, add 25.8.0.490, 25.12.0.510

This commit is contained in:
2026-02-02 19:38:58 +03:00
parent 2618da3c89
commit 429321be28
3 changed files with 116 additions and 0 deletions

2
net-im/max/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST max-25.12.0.510.deb 93800448 BLAKE2B 40d08c134b989df25402779c60468b3e189e4ea99154eba1088196ca68201932b0d624a3de3de3d43847a7dc7e3402506a2c0b14777df54f54b4ac49bb84a851 SHA512 7541b022e0b15af0cc322eb117326c645f552ec6fe476986135b9c9eccc70c209bcb18d0b3b64dd05534246f71e5985e875ae1e5b3316fc3d3e987e1fcbe9c5c
DIST max-25.8.0.490.deb 93800952 BLAKE2B 3a0248ee150fb9e778e54fe66f51dad2a64be49be177dbd0f964f86f434d983711193174c5b888dfd4f35e50f468692e5477c835408d5854e4400d0b3929a204 SHA512 ce7968faf57b879ea0fed9425dd52a343a5601eabb5a3b3eb43e6bdf2451a917eef02406f4e897031a1ddbf8435a75888779ec535b97b902539c16e57d53f7b4

View File

@@ -0,0 +1,57 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg desktop unpacker
DESCRIPTION="A fast and lightweight app for communication and everyday tasks"
HOMEPAGE="https://max.ru"
SRC_URI="https://download.max.ru/electron/MAX.deb -> ${P}.deb"
S="${WORKDIR}"
LICENSE="MAX-EULA"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
x11-libs/gtk+:3
x11-libs/libnotify
dev-libs/nss
x11-libs/libXtst
app-accessibility/at-spi2-core
app-crypt/libsecret
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="
/opt/MAX/libEGL.so
/opt/MAX/chrome-sandbox
/opt/MAX/chrome_crashpad_handler
/opt/MAX/libffmpeg.so
/opt/MAX/libvulkan.so.1
/opt/MAX/libGLESv2.so
/opt/MAX/libvk_swiftshader.so
/opt/MAX/MAX
"
src_install() {
insinto /
doins -r .
exeinto /opt/MAX
doexe opt/MAX/MAX
dosym -r /opt/MAX/MAX /usr/bin/MAX
domenu usr/share/applications/MAX.desktop
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -0,0 +1,57 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg desktop unpacker
DESCRIPTION="A fast and lightweight app for communication and everyday tasks"
HOMEPAGE="https://max.ru"
SRC_URI="https://download.max.ru/electron/MAX.deb -> ${P}.deb"
S="${WORKDIR}"
LICENSE="MAX-EULA"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
x11-libs/gtk+:3
x11-libs/libnotify
dev-libs/nss
x11-libs/libXtst
app-accessibility/at-spi2-core
app-crypt/libsecret
"
RDEPEND="${DEPEND}"
QA_PRESTRIPPED="
/opt/MAX/libEGL.so
/opt/MAX/chrome-sandbox
/opt/MAX/chrome_crashpad_handler
/opt/MAX/libffmpeg.so
/opt/MAX/libvulkan.so.1
/opt/MAX/libGLESv2.so
/opt/MAX/libvk_swiftshader.so
/opt/MAX/MAX
"
src_install() {
insinto /
doins -r .
exeinto /opt/MAX
doexe opt/MAX/MAX
dosym -r /opt/MAX/MAX /usr/bin/MAX
domenu usr/share/applications/MAX.desktop
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}