summaryrefslogtreecommitdiff
path: root/app-admin/bitwarden-desktop-bin
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/bitwarden-desktop-bin')
-rw-r--r--app-admin/bitwarden-desktop-bin/Manifest4
-rw-r--r--app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.3.0.ebuild87
-rw-r--r--app-admin/bitwarden-desktop-bin/metadata.xml5
3 files changed, 94 insertions, 2 deletions
diff --git a/app-admin/bitwarden-desktop-bin/Manifest b/app-admin/bitwarden-desktop-bin/Manifest
index fffcddb1f461..7faab0af62cb 100644
--- a/app-admin/bitwarden-desktop-bin/Manifest
+++ b/app-admin/bitwarden-desktop-bin/Manifest
@@ -1,3 +1,5 @@
DIST Bitwarden-2024.2.0-amd64.deb 79917282 BLAKE2B 2066dc71bed9cddbcedccfd9129e3e81ac9f8a71217d2c651fb8a067b3e318574e26104b447a7ccd6734efded64ef3620cf4a7e36f0a577ed98f5468839540cb SHA512 c9394914fd6c82096fc5336e73b539e250727c6917af97961df0bd7de241f955b9eb87da154f32972c73ea1ce59bf0d79660658277185c89e099360ec4c3ea26
+DIST Bitwarden-2024.3.0-amd64.deb 80463348 BLAKE2B 668fd4c18507b349e5892e7511b4898764a33d9da0a837379c7856caa054782fbf6a3337b03a779a8c8111d2458f560b31c32856850ff931694a8f18d889bdc9 SHA512 9297367e82e76870b7f12becfca6ec3bc0ce8f6515f4e17e9830d4df599891c839a8f5990c97b684528c8a4ad1c24ddd3bc99c1552620aee84b81c1cbf115771
EBUILD bitwarden-desktop-bin-2024.2.0.ebuild 1689 BLAKE2B 80d621cf295463043cbf79341d07dbb18f8e659bd866901ad6c208495dfc6e84904aa96a104ebb710183a6355412c66918a59e9065fa3edbc4e148950ce109b6 SHA512 378dd06d8917e0f61dc9d55ac9bb02ebd8951783dcfce56d0b502fa766208451e6abf2e111d6bd83de3ff8ec7b4e8b506337aecbd3e8a41753a65d39e4692180
-MISC metadata.xml 250 BLAKE2B ec88a4ce429bf0c31a8663154b260b64a479bf985d7fc72cafd6719a13a35428ca0f2526f2ef7cfb4c86a449e4230f3d5204bcbcb912cfcb970d100d327b798b SHA512 28e6dbf6acd0a6baf1a759f04a4812ae0ef05e36a7417fb24deb07239aee8b5aea2ec1ffde83f513b4f1fddc4473dc5775b3458432277569d1676f2215b69c45
+EBUILD bitwarden-desktop-bin-2024.3.0.ebuild 1689 BLAKE2B 80d621cf295463043cbf79341d07dbb18f8e659bd866901ad6c208495dfc6e84904aa96a104ebb710183a6355412c66918a59e9065fa3edbc4e148950ce109b6 SHA512 378dd06d8917e0f61dc9d55ac9bb02ebd8951783dcfce56d0b502fa766208451e6abf2e111d6bd83de3ff8ec7b4e8b506337aecbd3e8a41753a65d39e4692180
+MISC metadata.xml 323 BLAKE2B 3f1affe8fb7b242a0ea072faaebcccd37bf005ee68c7519857701c37fe6a11b0dffe1692af141b54218367ee8c8361cb0e6608621453d424d52b061b569563d1 SHA512 95ab28dcb844ac6d2ba4573699e86a4c303aa46b4c2eddf1273ecf37a3bbb751b9a478b535fbdcbc12424bc4f826b4b0781cfb8079e5563ed41f12ce68b35908
diff --git a/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.3.0.ebuild b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.3.0.ebuild
new file mode 100644
index 000000000000..a98f129ada65
--- /dev/null
+++ b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2024.3.0.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
+}
diff --git a/app-admin/bitwarden-desktop-bin/metadata.xml b/app-admin/bitwarden-desktop-bin/metadata.xml
index 4ab515d9e293..4f192903ad6e 100644
--- a/app-admin/bitwarden-desktop-bin/metadata.xml
+++ b/app-admin/bitwarden-desktop-bin/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>dlan@gentoo.org</email>
+ <name>Yixun Lan</name>
+ </maintainer>
<upstream>
<remote-id type="github">bitwarden/desktop</remote-id>
</upstream>