commit: c536774901898c8c9da6f2e4aafece2ceed821f2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Sun Feb 9 23:32:17 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Mon Feb 10 13:35:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5367749
app-admin/bitwarden-desktop-bin: add 2025.1.4 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> app-admin/bitwarden-desktop-bin/Manifest | 1 + .../bitwarden-desktop-bin-2025.1.4.ebuild | 89 ++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/app-admin/bitwarden-desktop-bin/Manifest b/app-admin/bitwarden-desktop-bin/Manifest index e4167b8f00da..1953db2a9d22 100644 --- a/app-admin/bitwarden-desktop-bin/Manifest +++ b/app-admin/bitwarden-desktop-bin/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2025.1.4.ebuild b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2025.1.4.ebuild new file mode 100644 index 000000000000..574698433c27 --- /dev/null +++ b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-2025.1.4.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 +}
