app-admin/proton-pass-bin: new package, add 1.45.0
Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
7f4ef7ff39
commit
30f830b45c
4 files changed
+103
No files matched your search
@@ -101,6 +101,13 @@ url = "https://proton.me/download/authenticator/linux/version.json"
|
||||
regex = '"Version": "([\d.]+)"'
|
||||
github_account = "xz-dev"
|
||||
|
||||
["app-admin/proton-pass-bin"]
|
||||
source = "jq"
|
||||
url = "https://proton.me/download/PassDesktop/linux/x64/version.json"
|
||||
filter = ".Releases[0].Version"
|
||||
github_account = "zakkaus"
|
||||
autobump = true
|
||||
|
||||
["app-admin/qm"]
|
||||
source = "npm"
|
||||
npm = "@yc-software/qm"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
DIST proton-pass_1.45.0_amd64.deb 111584528 BLAKE2B 16eb358d86d6e6c0f7444cff3342b2844f0a6660009307af060cd2a18b8b1ecacfd7bbd47b010c31f1a029b1a696b5da94c2d8a6eae0fe4d9a60af2ace279caa SHA512 50a97afde730759ea0f753be3050b3bcd8aadf366a0846defa7c094d87f467d15f4c663075303757a4cc0b8401620047c5220d23030ebfd3f555a36960d7cb79
|
||||
@@ -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,84 @@
|
||||
# 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="Desktop client for Proton Pass, Proton's end-to-end encrypted password manager"
|
||||
HOMEPAGE="
|
||||
https://proton.me/pass
|
||||
https://github.com/ProtonMail/WebClients
|
||||
"
|
||||
SRC_URI="https://proton.me/download/pass/linux/proton-pass_${PV}_amd64.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.34
|
||||
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-pass/*"
|
||||
|
||||
pkg_setup() {
|
||||
[[ -e /usr/src/linux ]] || return
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
pushd usr/lib/proton-pass/locales > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
|
||||
# The window class is the launcher name, not the product name.
|
||||
sed -i -e 's/^StartupWMClass=.*/StartupWMClass=proton-pass/' \
|
||||
usr/share/applications/proton-pass.desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/proton-pass
|
||||
cp -ar usr/lib/proton-pass/. "${ED}"/opt/proton-pass/ || die
|
||||
# Upstream ships world-writable files.
|
||||
fperms -R o-w /opt/proton-pass
|
||||
fperms 4711 /opt/proton-pass/chrome-sandbox
|
||||
dosym "../../opt/proton-pass/Proton Pass" /usr/bin/proton-pass
|
||||
|
||||
domenu usr/share/applications/proton-pass.desktop
|
||||
# Upstream ships an SVG under the name proton-pass.png.
|
||||
newicon -s scalable usr/share/pixmaps/proton-pass.png proton-pass.svg
|
||||
}
|
||||
Reference in new issue
Block a user