mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/bitwarden-desktop-bin: add 2025.3.1
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST Bitwarden-2025.2.0-amd64.deb 84472930 BLAKE2B 5a41bc9bf888ac5d9f78db2b2f56c168003456fbe72a18612a8937ee5a14532d2a6b652c3ed70ff24cc91b6351e7fe092d19e50bea9c2e906900741fe2ba1477 SHA512 b2075504cfcd0751e20f37b09d167dd86440fe4f97b207608761b16bdb57c4d0362bff47a52acaea5e36cba26267a34aba1236b53605b77894d376e5bab935f8
|
||||
DIST Bitwarden-2025.2.1-amd64.deb 84576516 BLAKE2B 2faa986c22ce0c31ecc4d1b5f76facc5c8ab5be454c0ed788e3d57a02b414f901bab5cefccae088379986d547372a37da5ea3ca0840cdfd64368a0da73c0d1d2 SHA512 1a541395c1e72d31f26b41f346df37e270dba41a297b5fe21ed1500a74448c882a59151b3c0d287a743689a677bd6ac559a3c97f26585c8b37a0674703fe66ef
|
||||
DIST Bitwarden-2025.3.1-amd64.deb 84591996 BLAKE2B 38e880ba0f24979fecc054522f884216b6fc21a1b1443c8d78ee5492cf137678a2e03999b1c60b4d000c3720f925565271da5026b6318154ef32e1f89adc0034 SHA512 9b45177c1f99d92e7154994e0bee19dfe691f4f24c38791706c5f188accefa7550b4145449e22e7151e9865ca39b156cfc52172064bb62a8ba6a4a58d22d1dd9
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop unpacker xdg-utils
|
||||
|
||||
DESCRIPTION="Bitwarden password manager desktop client"
|
||||
HOMEPAGE="https://bitwarden.com/"
|
||||
SRC_URI="https://github.com/bitwarden/clients/releases/download/desktop-v${PV}/Bitwarden-${PV}-amd64.deb"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret
|
||||
dev-libs/expat
|
||||
dev-libs/glib
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/wayland
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-apps/util-linux
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
IDEPEND="
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/gtk-update-icon-cache
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/Bitwarden/*.so*
|
||||
opt/Bitwarden/bitwarden
|
||||
opt/Bitwarden/bitwarden-app
|
||||
opt/Bitwarden/chrome-sandbox
|
||||
opt/Bitwarden/chrome_crashpad_handler
|
||||
opt/Bitwarden/desktop_proxy
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /opt
|
||||
doins -r opt/Bitwarden
|
||||
fperms 755 /opt/Bitwarden/bitwarden \
|
||||
/opt/Bitwarden/bitwarden-app
|
||||
fperms 4755 /opt/Bitwarden/chrome-sandbox
|
||||
|
||||
domenu usr/share/applications/bitwarden.desktop
|
||||
|
||||
local x
|
||||
for x in 16 32 64 128 256 512; do
|
||||
doicon -s ${x} usr/share/icons/hicolor/${x}*/*
|
||||
done
|
||||
|
||||
dosym -r "/opt/Bitwarden/bitwarden" "usr/bin/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user