summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2021-10-26 19:03:09 +1100
committerMichael Palimaka <kensington@gentoo.org>2021-10-26 19:03:09 +1100
commit20d87072e2f30ceb80543af8944eed33dff056e7 (patch)
treebcdb19b98681671aea0a88f27be57269522137f7 /app-admin
parentapp-admin/bitwarden-desktop-bin: remove 1.27.1 (diff)
downloadgentoo-20d87072e2f30ceb80543af8944eed33dff056e7.tar.gz
gentoo-20d87072e2f30ceb80543af8944eed33dff056e7.tar.bz2
gentoo-20d87072e2f30ceb80543af8944eed33dff056e7.zip
app-admin/bitwarden-desktop-bin: version bump 1.28.3
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/bitwarden-desktop-bin/Manifest1
-rw-r--r--app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-1.28.3.ebuild85
2 files changed, 86 insertions, 0 deletions
diff --git a/app-admin/bitwarden-desktop-bin/Manifest b/app-admin/bitwarden-desktop-bin/Manifest
index 3e4e37b727cf..f812ab48a42d 100644
--- a/app-admin/bitwarden-desktop-bin/Manifest
+++ b/app-admin/bitwarden-desktop-bin/Manifest
@@ -1 +1,2 @@
DIST Bitwarden-1.28.2-amd64.deb 58190436 BLAKE2B e95575fa944b8f71559d2cd058deb35ce5648ca76a36169faaed05812057e6a5be086c1a583d256e915d81494faf098a61a66fd93e8fd30c53a3eb9372add813 SHA512 7538565c55638d7d416a3a03f4f579b5cc5cc23d11b8f1b637616c3860415f81066e2e344752c5cbe445ffe0523854cff3a06b589b03185f0b58872a81f7073b
+DIST Bitwarden-1.28.3-amd64.deb 58747514 BLAKE2B 5d62084e89df9ac1b2f3b487d8594f5cd5e9fd411b46d95bc0310f27e772d4f7185507610c204f345f24defd5f87c954381c14427d4a7b69d51737b71cc61474 SHA512 7d061ae18a11c733a72fbb0e657c5f14d04054ae97720c3920d9641c880aea2de5638b908719a1fb4d8c23f32b49697cfa7994732441135007cdf2572bf41cfb
diff --git a/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-1.28.3.ebuild b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-1.28.3.ebuild
new file mode 100644
index 000000000000..beda5758dffd
--- /dev/null
+++ b/app-admin/bitwarden-desktop-bin/bitwarden-desktop-bin-1.28.3.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker xdg-utils
+
+MY_PN="Bitwarden"
+DESCRIPTION="Bitwarden password manager desktop client"
+HOMEPAGE="https://bitwarden.com/"
+SRC_URI="https://github.com/bitwarden/desktop/releases/download/v${PV}/Bitwarden-${PV}-amd64.deb"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2
+ app-crypt/libsecret
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ sys-apps/util-linux
+ 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/libXtst
+ x11-libs/pango
+"
+IDEPEND="
+ dev-util/desktop-file-utils
+ dev-util/gtk-update-icon-cache
+"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="
+ opt/Bitwarden/*.so
+ opt/Bitwarden/bitwarden
+ opt/Bitwarden/chrome-sandbox
+"
+
+src_install() {
+ insinto /opt
+ doins -r opt/${MY_PN}
+ fperms 755 /opt/Bitwarden/bitwarden
+ fperms 4755 /opt/Bitwarden/chrome-sandbox
+
+ insinto /usr/share/applications
+ doins usr/share/applications/bitwarden.desktop
+
+ insinto /usr/share/icons
+ doins -r usr/share/icons/hicolor
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}