app-misc/otpclient - 4.5.0 (dwosky)

Search

Install

Install this version:

emerge -a =app-misc/otpclient-4.5.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/otpclient-4.5.0

Or alternatively:

emerge --autounmask-write -a =app-misc/otpclient-4.5.0

Package Information

Description:
Simple GTK+ v3 OTP client (TOTP and HOTP)
Homepage:
https://github.com/paolostivanin/OTPClient
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
4.5.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"

inherit autotools cmake xdg-utils

DESCRIPTION="Simple GTK+ v3 OTP client (TOTP and HOTP)"
HOMEPAGE="https://github.com/paolostivanin/OTPClient"
SRC_URI="https://github.com/paolostivanin/OTPClient/archive/v${PV}.zip -> ${P}.zip"
S="${WORKDIR}/OTPClient-${PV}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror"

DEPEND="
  sys-devel/gcc
  dev-build/cmake
	>=dev-libs/libcotp-4.0.0
	>=dev-libs/protobuf-c-1.3.0
	>=media-gfx/zbar-0.20
"

RDEPEND="
  >=x11-libs/gtk+-3.24
  >=dev-libs/glib-2.68.0
  >=dev-libs/jansson-2.12.0
	>=dev-libs/libgcrypt-1.10.1
  >=media-libs/libpng-1.6.30
  >=dev-libs/libcotp-4.0.0
  >=media-gfx/zbar-0.20
  >=app-crypt/libsecret-0.20
"

src_prepare() {
	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DCMAKE_INSTALL_PREFIX=/usr
    )
    cmake_src_configure
}

pkg_postinst() {
    xdg_desktop_database_update
}

pkg_postrm() {
    xdg_desktop_database_update
}

Inherited Eclasses

Dependencies

DEPEND

  sys-devel/gcc
  dev-build/cmake
	>=dev-libs/libcotp-4.0.0
	>=dev-libs/protobuf-c-1.3.0
	>=media-gfx/zbar-0.20

RDEPEND

  >=x11-libs/gtk+-3.24
  >=dev-libs/glib-2.68.0
  >=dev-libs/jansson-2.12.0
	>=dev-libs/libgcrypt-1.10.1
  >=media-libs/libpng-1.6.30
  >=dev-libs/libcotp-4.0.0
  >=media-gfx/zbar-0.20
  >=app-crypt/libsecret-0.20

Manifest for 4.5.0

Type File Size Source URLs
DIST otpclient-4.5.0.zip 283027 bytes https://github.com/paolostivanin/OTPClient/archive/v4.5.0.zip