commit:     a2510700929ccc14b3e33b9be8541ad037b85a64
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 05:23:25 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 05:23:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2510700

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

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

 app-admin/bitwarden-desktop-bin/Manifest           |  1 +
 .../bitwarden-desktop-bin-2024.4.1.ebuild          | 87 ++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/app-admin/bitwarden-desktop-bin/Manifest 
b/app-admin/bitwarden-desktop-bin/Manifest
index 2c2296c29777..3567b1970501 100644
--- a/app-admin/bitwarden-desktop-bin/Manifest
+++ b/app-admin/bitwarden-desktop-bin/Manifest
@@ -1,2 +1,3 @@
 DIST Bitwarden-2024.2.0-amd64.deb 79917282 BLAKE2B 
2066dc71bed9cddbcedccfd9129e3e81ac9f8a71217d2c651fb8a067b3e318574e26104b447a7ccd6734efded64ef3620cf4a7e36f0a577ed98f5468839540cb
 SHA512 
c9394914fd6c82096fc5336e73b539e250727c6917af97961df0bd7de241f955b9eb87da154f32972c73ea1ce59bf0d79660658277185c89e099360ec4c3ea26
 DIST Bitwarden-2024.3.0-amd64.deb 80463348 BLAKE2B 
668fd4c18507b349e5892e7511b4898764a33d9da0a837379c7856caa054782fbf6a3337b03a779a8c8111d2458f560b31c32856850ff931694a8f18d889bdc9
 SHA512 
9297367e82e76870b7f12becfca6ec3bc0ce8f6515f4e17e9830d4df599891c839a8f5990c97b684528c8a4ad1c24ddd3bc99c1552620aee84b81c1cbf115771
+DIST Bitwarden-2024.4.1-amd64.deb 80470012 BLAKE2B 
64b451c3fbbac303782c68a366c66c32c49d0ecb52bcbc085451157216cc99fa888941e8c911c14f6a68aa6bb0413463b4296f108386e7b5b3ca8925c6dcc871
 SHA512 
e6edcd84f44062ccfa4152baf7dab230915d006f7f31de0ffcbe1acb62525777c7d653a7cb7c51509fb9ebcf5ba4219df97e5128853813a54aadbfd92ff2c819

diff --git 
a/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.4.1.ebuild 
b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.4.1.ebuild
new file mode 100644
index 000000000000..a98f129ada65
--- /dev/null
+++ b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.4.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker xdg-utils
+
+MY_PN="Bitwarden"
+
+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/chrome-sandbox
+       opt/Bitwarden/chrome_crashpad_handler
+"
+
+src_install() {
+       insinto /opt
+       doins -r opt/${MY_PN}
+       fperms 755 /opt/Bitwarden/bitwarden
+       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
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to