mail-client/proton-mail-bin: new package, add 1.16.1
Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
36b19f611c
commit
00174974a7
4 files changed
+99
No files matched your search
@@ -1853,6 +1853,13 @@ use_latest_tag = true
|
||||
prefix = "v"
|
||||
github_account = "Puqns67"
|
||||
|
||||
["mail-client/proton-mail-bin"]
|
||||
source = "jq"
|
||||
url = "https://proton.me/download/mail/linux/version.json"
|
||||
filter = ".Releases[0].Version"
|
||||
github_account = "zakkaus"
|
||||
autobump = true
|
||||
|
||||
# packaged from a pinned commit, no tag to compare
|
||||
#["media-fonts/chocolate-classical"]
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DIST proton-mail-bin-1.16.1.deb 92122992 BLAKE2B 704f3e7c5baacbf55fdf20442932e660ee51d46fc2ddc986ab53a4afbebde00ffbd856d3966f8c6792dacde7a42cb7fa953094fe1f1bedb95135a814491db27e SHA512 5e2585499351eaf025add077823e3a842833c57922274a7605aca93f56a4af7584133626b869ffe6e10db81e2b82004b9d122b229d9fd53ce1b37be894c51905
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zakk@gentoozh.org</email>
|
||||
<name>Zakk</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ProtonMail/WebClients</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,80 @@
|
||||
# Copyright 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 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="Proton official desktop application for Proton Mail and Proton Calendar"
|
||||
HOMEPAGE="
|
||||
https://proton.me/mail
|
||||
https://github.com/ProtonMail/WebClients
|
||||
"
|
||||
SRC_URI="https://proton.me/download/mail/linux/${PV}/ProtonMail-desktop-beta.deb -> ${P}.deb"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
app-crypt/libsecret
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
>=sys-libs/glibc-2.25
|
||||
virtual/libudev
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
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
|
||||
x11-misc/xdg-utils
|
||||
"
|
||||
|
||||
QA_PREBUILT="opt/proton-mail/*"
|
||||
|
||||
pkg_setup() {
|
||||
[[ -e /usr/src/linux ]] || return
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
pushd usr/lib/proton-mail/locales > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/proton-mail
|
||||
cp -ar usr/lib/proton-mail/. "${ED}"/opt/proton-mail/ || die
|
||||
# Upstream ships world-writable files.
|
||||
fperms -R o-w /opt/proton-mail
|
||||
fperms 4711 /opt/proton-mail/chrome-sandbox
|
||||
dosym "../../opt/proton-mail/Proton Mail Beta" /usr/bin/proton-mail
|
||||
|
||||
domenu usr/share/applications/proton-mail.desktop
|
||||
# Upstream ships an SVG under the name proton-mail.png.
|
||||
newicon -s scalable usr/share/pixmaps/proton-mail.png proton-mail.svg
|
||||
}
|
||||
Reference in new issue
Block a user