From cca4639f10bc33eb2cdf5b8a8520d256af79c688 Mon Sep 17 00:00:00 2001 From: Anonymous <458892+aieu@users.noreply.github.com> Date: Mon, 6 Jan 2025 21:09:24 +0800 Subject: [PATCH] app-admin/enpass: add 6.11.6.1833 --- app-admin/enpass/Manifest | 1 + app-admin/enpass/enpass-6.11.6.1833.ebuild | 76 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 app-admin/enpass/enpass-6.11.6.1833.ebuild diff --git a/app-admin/enpass/Manifest b/app-admin/enpass/Manifest index d44bef8636a..df5f03dccf8 100644 --- a/app-admin/enpass/Manifest +++ b/app-admin/enpass/Manifest @@ -1 +1,2 @@ DIST enpass_6.10.1.1661_amd64.deb 43954076 BLAKE2B 667e5cfed57b529587455b3ed8f64ce52cfdc776c0b5336bdb2cb592477eae3eff741c477d31832d8976e583961e44143044c49626f27fbceb0bcb7082936ef8 SHA512 0471e9691d638aa27c07c021ed31fbad835f817a846f195ef169db675c5e89f177d8692b35ca8d45f21b7e458766ab0d4ea5b6cf745791a40f0852c36e68bf03 +DIST enpass_6.11.6.1833_amd64.deb 45461630 BLAKE2B c3d78d0ee84337ce1f3270892b59e501580c1259b893dda2e1482d29d9dac42d4b6066b7e821f5c7d447abb72f9af1538d2be659274890936de84c709081bd5c SHA512 ed0288af1756c1644155ae33f6db7398e8874975ab9661ea46678fedf3fc76d854391733d05eee647f78ad9ca0a30275656574e0b811f4959dec4a6ba71b7364 diff --git a/app-admin/enpass/enpass-6.11.6.1833.ebuild b/app-admin/enpass/enpass-6.11.6.1833.ebuild new file mode 100644 index 00000000000..764af17d8ea --- /dev/null +++ b/app-admin/enpass/enpass-6.11.6.1833.ebuild @@ -0,0 +1,76 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +DESCRIPTION="A cross-platform, complete password management solution." +HOMEPAGE="https://www.enpass.io" +SRC_URI="https://apt.enpass.io/pool/main/e/${PN}/${PN}_${PV}_amd64.deb" + +S="${WORKDIR}" + +LICENSE="SINEW-EULA" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="bindist mirror strip" + +# Dependencies +# +# objdump -p ./Enpass | grep NEEDED | awk '{print $2}' | xargs equery b | sort | uniq + +DEPEND="elibc_glibc? ( sys-libs/glibc:2.2 )" +RDEPEND=" + app-arch/xz-utils + dev-libs/glib:2 + media-libs/fontconfig + media-libs/freetype:2 + media-libs/libglvnd + media-libs/libpulse + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/zlib + x11-libs/gtk+:3 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + x11-libs/xcb-util-image + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-renderutil + x11-libs/xcb-util-wm" + +QA_PREBUILT="opt/enpass/*" + +src_prepare() { + default + gzip -d "${S}"/usr/share/doc/enpass/changelog.gz || die +} + +src_install() { + domenu "${S}"/usr/share/applications/enpass.desktop + dodoc "${S}"/usr/share/doc/enpass/changelog + + insinto /opt/enpass + doins -r "${S}"/opt/enpass/. + fperms +x /opt/enpass/{Enpass,importer_enpass,wifisyncserver_bin} + + insinto /usr/share/mime/packages + doins "${S}"/usr/share/mime/packages/application-enpass.xml + + local size + for size in 16 22 24 32 48; do + doicon -c status -s ${size} "${S}"/usr/share/icons/hicolor/${size}x${size}/status/enpass-status.png + doicon -c status -s ${size} "${S}"/usr/share/icons/hicolor/${size}x${size}/status/enpass-status-dark.png + done + + for size in 16 24 32 48 64 96 128 256; do + doicon -s ${size} "${S}"/usr/share/icons/hicolor/${size}x${size}/apps/enpass.png + done +}