dev-scheme/guile-gnutls: bump to 4.0.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-10-22 09:49:17 +02:00
parent 1a00e1ef7d
commit fa9d82f85c
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST guile-gnutls-3.7.14.tar.bz2 176631 BLAKE2B 9d21a90e066d4360a329b5bd8f4375856b90fd0c262250064fa8ec92a76372b2c8cb746c10c5d8465353e49d1e8dae0a5897eba4831e1f947b9102b72b05b756 SHA512 7f690ea7c09e5017eef2a660f9db022d627fd562b90d1ce663915e5f28c38cafd3c8fdb459afe98a6ae973cc25283ec5dac00e590ba674f4af2f955abdb75ae7
DIST guile-gnutls-4.0.0.tar.bz2 177122 BLAKE2B a427c0bb84fd6bb937c52930b6281c8f1b691a728d93475774b4d490c6418595deb15483716bcab1e3b03949633d0604112ebae4be8921791b257234e8d31870 SHA512 15cbfff19b9cd799a8a1bb344d0ab4a098707e8544a84047fdd5b919349f02018c39aaa927b6bbff86ec24620df8f7b343b4b4854ec26585edc66f6a8e442887

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Guile-GnuTLS provides Guile bindings for the GnuTLS library"
HOMEPAGE="https://gnutls.gitlab.io/guile/manual/
https://gitlab.com/gnutls/guile/"
SRC_URI="https://gitlab.com/gnutls/guile/-/archive/v${PV}/guile-v${PV}.tar.bz2
-> ${P}.tar.bz2"
S="${WORKDIR}"/guile-v${PV}
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-scheme/guile-2.0.0:=
net-libs/gnutls:=[-guile(-)]
"
DEPEND="${RDEPEND}"
# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
QA_PREBUILT='*[.]go'
src_prepare() {
default
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
find "${S}" -name "*.scm" -exec touch {} + || die
eautoreconf
}
src_configure() {
econf --disable-srp-authentication # bug #894050
}
src_install() {
default
find "${ED}" -type f -name "*.la" -delete || die
# Workaround llvm-strip problem of mangling guile ELF debug
# sections: https://bugs.gentoo.org/905898
dostrip -x "/usr/$(get_libdir)/guile"
}