-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |