Install this version:
emerge -a =app-crypt/gtkhash-1.5
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-crypt/gtkhash-1.5
Or alternatively:
emerge --autounmask-write -a =app-crypt/gtkhash-1.5
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson linux-info
DESCRIPTION="A cross-platform desktop utility for computing message digests or checksums"
HOMEPAGE="https://gtkhash.org/"
SRC_URI="https://github.com/tristanheaven/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nettle +openssl mbedtls caja nemo thunar"
DEPEND="dev-libs/libgcrypt
app-crypt/libb2
x11-libs/gtk+:3
virtual/zlib:=
nettle? ( dev-libs/nettle )
openssl? ( dev-libs/openssl )
mbedtls? ( net-libs/mbedtls:0 )
caja? ( mate-base/caja )
nemo? ( gnome-extra/nemo )
thunar? ( xfce-base/thunar )"
RDEPEND="${DEPEND}"
BDEPEND="kernel_linux? ( virtual/os-headers )"
RESTRICT="mirror"
PATCHES=(
"${FILESDIR}/fix-msgfmt-keyword-use-space.patch"
)
CONFIG_CHECK="
~CRYPTO_USER
~CRYPTO_USER_API
~CRYPTO_USER_API_HASH"
WARNING_CRYPTO_USER="CONFIG_CRYPTO_USER required for (optional) Linux kernel hashing."
WARNING_CRYPTO_USER_API="CONFIG_CRYPTO_USER_API required for (optional) Linux kernel hashing."
WARNING_CRYPTO_USER_API_HASH="CONFIG_CRYPTO_USER_API_HASH required for (optional) Linux kernel hashing."
src_configure() {
local emesonargs=(
$(meson_use nettle)
$(meson_use openssl libcrypto)
$(meson_use mbedtls)
$(meson_use caja build-caja)
-Dbuild-nautilus=false # Extension does not work with GTK4 Nautilus
$(meson_use nemo build-nemo)
$(meson_use thunar build-thunar)
$(meson_use kernel_linux linux-crypto)
-Dglib-checksums=true # Indirect dependency of GTK3 so why not
)
meson_src_configure
}
Manage flags for this package:
euse -i <flag> -p app-crypt/gtkhash |
euse -E <flag> -p app-crypt/gtkhash |
euse -D <flag> -p app-crypt/gtkhash
dev-libs/libgcrypt app-crypt/libb2 x11-libs/gtk+:3 virtual/zlib:= nettle? ( dev-libs/nettle ) openssl? ( dev-libs/openssl ) mbedtls? ( net-libs/mbedtls:0 ) caja? ( mate-base/caja ) nemo? ( gnome-extra/nemo ) thunar? ( xfce-base/thunar )
dev-libs/libgcrypt app-crypt/libb2 x11-libs/gtk+:3 virtual/zlib:= nettle? ( dev-libs/nettle ) openssl? ( dev-libs/openssl ) mbedtls? ( net-libs/mbedtls:0 ) caja? ( mate-base/caja ) nemo? ( gnome-extra/nemo ) thunar? ( xfce-base/thunar )
kernel_linux? ( virtual/os-headers )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gtkhash-1.5.tar.gz | 400063 bytes | https://github.com/tristanheaven/gtkhash/archive/refs/tags/v1.5.tar.gz |