Install this version:
emerge -a =app-admin/passgen-il-1.7
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.7 | 8 | amd64 | 0 |
# Copyright 2025-2026 illogician <illogician@tutamail.com>
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic go-module desktop
DESCRIPTION="A password generator that's easy to use"
HOMEPAGE="https://codeberg.org/illogician/passgen-il"
SRC_URI="https://codeberg.org/illogician/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://codeberg.org/illogician/illogician-overlay/raw/branch/main/app-admin/passgen-il/${PN}-1.7+-vendor.tar.xz"
S="${WORKDIR}/${PN}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"
IUSE="+gui +wayland"
REQUIRED_USE="!gui? ( !wayland )"
BDEPEND="dev-lang/go
gui? (
sys-devel/gcc
x11-libs/gtk+:3
wayland? ( x11-libs/gtk+:3[wayland] )
dev-util/pkgconf
)"
src_unpack() {
default
}
src_prepare() {
default
use !gui && sed -i /flagged/d main.go
use !wayland && cd ${WORKDIR} && eapply ${FILESDIR}/bind_cgo1.7+.patch && cd ${S}
ego build -x -tags ctrl
}
src_install() {
dobin passgen-il
use gui && doicon ${S}/misc/passgen-il-lock.svg
use gui && domenu ${S}/misc/${PN}.desktop
}
Manage flags for this package:
euse -i <flag> -p app-admin/passgen-il |
euse -E <flag> -p app-admin/passgen-il |
euse -D <flag> -p app-admin/passgen-il
dev-lang/go gui? ( sys-devel/gcc x11-libs/gtk+:3 wayland? ( x11-libs/gtk+:3[wayland] ) dev-util/pkgconf )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | passgen-il-1.7.tar.gz | 1107829 bytes | https://codeberg.org/illogician/passgen-il/archive/1.7.tar.gz |