commit:     c9b2c6217bf39a2f7ee971c507e54502f2d97ac2
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  4 01:22:16 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Mar  4 01:48:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9b2c621

app-admin/bitwarden-desktop-bin: add 2025.2.0

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-admin/bitwarden-desktop-bin/Manifest           |  1 +
 .../bitwarden-desktop-bin-2025.2.0.ebuild          | 89 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/app-admin/bitwarden-desktop-bin/Manifest 
b/app-admin/bitwarden-desktop-bin/Manifest
index 1953db2a9d22..d1558c778b45 100644
--- a/app-admin/bitwarden-desktop-bin/Manifest
+++ b/app-admin/bitwarden-desktop-bin/Manifest
@@ -1,3 +1,4 @@
 DIST Bitwarden-2024.12.0-amd64.deb 84480428 BLAKE2B 
3cb771978fd2c0ded6bc79fee0beb23e187a0c2c69fe6213ea982929ffbc085155c147ff8729251f4a840bc871e33e5f7b07499d5a2cf4a16d1146e357a0d8f8
 SHA512 
649686f4cdd6269fabce9af8a1532ea343ac5cedf7a267818ea4ea173220d24d129019b31641bd98d61a3809a02562ce87b0738d842c53bdfa0374889ba69025
 DIST Bitwarden-2025.1.1-amd64.deb 84562628 BLAKE2B 
2f51e747992ff8c86f3b90fcef004b26b93cd4ae4f8d290d39d48044d2ef38f64049379f86cdbe5793af3a1267da7f3cd740f3e00ec29a799fdd18b6cc57f0d2
 SHA512 
ae85d71b84535196988b2a60918b04e5db0e1512c5405729664251534a3c44c34a7bb81a24548436fe78b3197bae50487fd50cf290e8da2016388f8fb0b125cc
 DIST Bitwarden-2025.1.4-amd64.deb 84416978 BLAKE2B 
4ded129bf6ca49142281968a3197f5e14955b783be6b7087c73e504564d267a71f5d7ecffd3902f003cbaa393396813861add7b253b8ad3b36945c65e2af24b6
 SHA512 
5f64aa8f36688705e7299d8d3399c80f6815a8e1133a39ec6e4b09ee908d78949e8d8a5ef09e38d6e824ae1d4356871ac3e0b997093186033ad604c1b63aca99
+DIST Bitwarden-2025.2.0-amd64.deb 84472930 BLAKE2B 
5a41bc9bf888ac5d9f78db2b2f56c168003456fbe72a18612a8937ee5a14532d2a6b652c3ed70ff24cc91b6351e7fe092d19e50bea9c2e906900741fe2ba1477
 SHA512 
b2075504cfcd0751e20f37b09d167dd86440fe4f97b207608761b16bdb57c4d0362bff47a52acaea5e36cba26267a34aba1236b53605b77894d376e5bab935f8

diff --git 
a/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2025.2.0.ebuild 
b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2025.2.0.ebuild
new file mode 100644
index 000000000000..574698433c27
--- /dev/null
+++ b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2025.2.0.ebuild
@@ -0,0 +1,89 @@
+# 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
+"
+
+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
+}

Reply via email to