app-crypt: remove gtkhash

Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-06-01 11:07:32 +02:00
parent e509630506
commit 933c6f5b9f
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
5 changed files with 0 additions and 536 deletions

View File

@ -1,2 +0,0 @@
DIST gtkhash-1.2.tar.gz 168259 BLAKE2B 6519be0fb02234c6a4c5185ec4e23286c087b16a18f881dc35f35bd5d55f70eb9778258f8ecea2ca2014511e0c0b32868bc0678820fdf00acaf29b7b284e5f43 SHA512 cc0ca7319fb60100f8ed94c943cb21760b861a74e2fef81ce0efe7983a8bc429d403b61d32e0b4d70e9cf605ae27f8192c2e28586f06f906016a19c92da69bec
DIST gtkhash-1.4.tar.gz 386470 BLAKE2B 7e445c7dcc7c1341c0880e310de2d3ff10d50868f7f50e28940bdfffa7aabefaef7a6cf506461fdd72f5555b2b9cf38f1308b0b1220237156b8604a63edeee8d SHA512 bca3b7bfa53474ce5344f67bb788aaa890c58d9e527bcdc1b54ee34d83c37bcbe0aa5088674a55dc2715859a5188a03e3c6bd1982a88c759a3901cdf7f04d6df

View File

@ -1,161 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools gnome2-utils linux-info xdg-utils
DESCRIPTION="A cross-platform desktop utility for computing message digests or checksums"
HOMEPAGE="https://github.com/tristanheaven/gtkhash"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tristanheaven/${PN}.git"
else
SRC_URI="https://github.com/tristanheaven/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
IUSE="
+blake2
caja
debug
-gtk2
+gtk3
+gcrypt
+linux-crypto
libressl
mbedtls
nautilus
nettle
nls
+openssl
thunar
+zlib
"
REQUIRED_USE="
gtk3? ( !gtk2 )
|| ( gtk3 gtk2 )
openssl? ( !libressl )
|| ( openssl libressl )
"
BDEPEND="
virtual/pkgconfig
"
RDEPEND="
app-crypt/mhash
dev-libs/glib:2
blake2? (
app-crypt/libb2
)
caja? (
mate-base/caja
mate-extra/caja-extensions
)
!gtk3? (
gtk2? (
x11-libs/gtk+:2
)
)
gtk3? (
x11-libs/gtk+:3
)
gcrypt? (
dev-libs/libgcrypt
)
mbedtls? (
net-libs/mbedtls
)
nautilus? (
gnome-base/nautilus
)
nettle? (
dev-libs/nettle
)
!libressl? (
openssl? (
>=dev-libs/openssl-1.1.1d
)
)
libressl? (
dev-libs/libressl
)
thunar? (
>=xfce-base/thunar-1.8.12
)
zlib? (
sys-libs/zlib
)
"
DEPEND="
${RDEPEND}
dev-util/intltool
gnome-base/librsvg
nls? (
sys-devel/gettext
)
"
pkg_setup() {
if use linux-crypto; then
local CONFIG_CHECK="~CRYPTO_USER_API_HASH"
local WARNING_CRYPTO_USER_API_HASH="CONFIG_CRYPTO_USER_API_HASH is required for hash algorithm interface"
check_extra_config
fi
}
src_prepare() {
eautoreconf
default
}
src_configure() {
local econfargs=(
$(use_enable blake2)
$(use_enable caja)
$(use_enable debug)
$(use_enable gcrypt)
$(use_enable libressl libcrypto)
$(use_enable linux-crypto)
$(use_enable mbedtls)
$(use_enable nautilus)
$(use_enable nettle)
$(use_enable nls)
$(use_enable openssl libcrypto)
$(use_enable thunar)
$(use_enable zlib)
--enable-appstream
--enable-glib-checksums
--enable-gtkhash
--enable-internal-md6
)
if use gtk3; then
econfargs+=( $(use_with gtk3 gtk 3.0) )
elif use gtk2; then
econfargs+=( $(use_with gtk2 gtk 2.0) )
fi
econf "${econfargs[@]}"
}
pkg_preinst() {
gnome2_schemas_savelist
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
}

View File

@ -1,161 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools gnome2-utils linux-info xdg-utils
DESCRIPTION="A cross-platform desktop utility for computing message digests or checksums"
HOMEPAGE="https://github.com/tristanheaven/gtkhash"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tristanheaven/${PN}.git"
else
SRC_URI="https://github.com/tristanheaven/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
IUSE="
+blake2
caja
debug
-gtk2
+gtk3
+gcrypt
+linux-crypto
libressl
mbedtls
nautilus
nettle
nls
+openssl
thunar
+zlib
"
REQUIRED_USE="
gtk3? ( !gtk2 )
|| ( gtk3 gtk2 )
openssl? ( !libressl )
|| ( openssl libressl )
"
BDEPEND="
virtual/pkgconfig
"
RDEPEND="
app-crypt/mhash
dev-libs/glib:2
blake2? (
app-crypt/libb2
)
caja? (
mate-base/caja
mate-extra/caja-extensions
)
!gtk3? (
gtk2? (
x11-libs/gtk+:2
)
)
gtk3? (
x11-libs/gtk+:3
)
gcrypt? (
dev-libs/libgcrypt
)
mbedtls? (
net-libs/mbedtls
)
nautilus? (
gnome-base/nautilus
)
nettle? (
dev-libs/nettle
)
!libressl? (
openssl? (
>=dev-libs/openssl-1.1.1d
)
)
libressl? (
dev-libs/libressl
)
thunar? (
>=xfce-base/thunar-1.8.12
)
zlib? (
sys-libs/zlib
)
"
DEPEND="
${RDEPEND}
dev-util/intltool
gnome-base/librsvg
nls? (
sys-devel/gettext
)
"
pkg_setup() {
if use linux-crypto; then
local CONFIG_CHECK="~CRYPTO_USER_API_HASH"
local WARNING_CRYPTO_USER_API_HASH="CONFIG_CRYPTO_USER_API_HASH is required for hash algorithm interface"
check_extra_config
fi
}
src_prepare() {
eautoreconf
default
}
src_configure() {
local econfargs=(
$(use_enable blake2)
$(use_enable caja)
$(use_enable debug)
$(use_enable gcrypt)
$(use_enable libressl libcrypto)
$(use_enable linux-crypto)
$(use_enable mbedtls)
$(use_enable nautilus)
$(use_enable nettle)
$(use_enable nls)
$(use_enable openssl libcrypto)
$(use_enable thunar)
$(use_enable zlib)
--enable-appstream
--enable-glib-checksums
--enable-gtkhash
--enable-internal-md6
)
if use gtk3; then
econfargs+=( $(use_with gtk3 gtk 3.0) )
elif use gtk2; then
econfargs+=( $(use_with gtk2 gtk 2.0) )
fi
econf "${econfargs[@]}"
}
pkg_preinst() {
gnome2_schemas_savelist
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
}

View File

@ -1,161 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools gnome2-utils linux-info xdg-utils
DESCRIPTION="A cross-platform desktop utility for computing message digests or checksums"
HOMEPAGE="https://github.com/tristanheaven/gtkhash"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tristanheaven/${PN}.git"
else
SRC_URI="https://github.com/tristanheaven/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
IUSE="
+blake2
caja
debug
-gtk2
+gtk3
+gcrypt
+linux-crypto
libressl
mbedtls
nautilus
nettle
nls
+openssl
thunar
+zlib
"
REQUIRED_USE="
gtk3? ( !gtk2 )
|| ( gtk3 gtk2 )
openssl? ( !libressl )
|| ( openssl libressl )
"
BDEPEND="
virtual/pkgconfig
"
RDEPEND="
app-crypt/mhash
dev-libs/glib:2
blake2? (
app-crypt/libb2
)
caja? (
mate-base/caja
mate-extra/caja-extensions
)
!gtk3? (
gtk2? (
x11-libs/gtk+:2
)
)
gtk3? (
x11-libs/gtk+:3
)
gcrypt? (
dev-libs/libgcrypt
)
mbedtls? (
net-libs/mbedtls
)
nautilus? (
gnome-base/nautilus
)
nettle? (
dev-libs/nettle
)
!libressl? (
openssl? (
>=dev-libs/openssl-1.1.1d
)
)
libressl? (
dev-libs/libressl
)
thunar? (
>=xfce-base/thunar-1.8.12
)
zlib? (
sys-libs/zlib
)
"
DEPEND="
${RDEPEND}
dev-util/intltool
gnome-base/librsvg
nls? (
sys-devel/gettext
)
"
pkg_setup() {
if use linux-crypto; then
local CONFIG_CHECK="~CRYPTO_USER_API_HASH"
local WARNING_CRYPTO_USER_API_HASH="CONFIG_CRYPTO_USER_API_HASH is required for hash algorithm interface"
check_extra_config
fi
}
src_prepare() {
eautoreconf
default
}
src_configure() {
local econfargs=(
$(use_enable blake2)
$(use_enable caja)
$(use_enable debug)
$(use_enable gcrypt)
$(use_enable libressl libcrypto)
$(use_enable linux-crypto)
$(use_enable mbedtls)
$(use_enable nautilus)
$(use_enable nettle)
$(use_enable nls)
$(use_enable openssl libcrypto)
$(use_enable thunar)
$(use_enable zlib)
--enable-appstream
--enable-glib-checksums
--enable-gtkhash
--enable-internal-md6
)
if use gtk3; then
econfargs+=( $(use_with gtk3 gtk 3.0) )
elif use gtk2; then
econfargs+=( $(use_with gtk2 gtk 2.0) )
fi
econf "${econfargs[@]}"
}
pkg_preinst() {
gnome2_schemas_savelist
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
}

View File

@ -1,51 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<use>
<flag name="blake2">
Enable Blake2 hash support via app-crypt/libb2
</flag>
<flag name="caja">
Build extension for mate-base/caja
</flag>
<flag name="gcrypt">
Use dev-libs/libgcrypt library
</flag>
<flag name="gtk2">
Support GTK+ 2.x instead of GTK+ 3.x
</flag>
<flag name="gtk3">
Support GTK+ 3.x instead of GTK+ 2.x
</flag>
<flag name="linux-crypto">
Use the Linux kernel hash algorithm interface (CONFIG_CRYPTO_USER_API_HASH)
</flag>
<flag name="mbedtls">
Use mbed TLS instead of OpenSSL
</flag>
<flag name="nautilus">
Build extension for gnome-base/nautilus
</flag>
<flag name="nettle">
Use the Nettle cryptographic library
</flag>
<flag name="openssl">
Enable the libcrypto (dev-libs/openssl library)
</flag>
<flag name="thunar">
Build extension for xfce-base/thunar
</flag>
<flag name="zlib">
Add support for zlib (de)compression
</flag>
</use>
<upstream>
<remote-id type="github">
app-crypt/gtkhash
</remote-id>
</upstream>
</pkgmetadata>