summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-16 17:44:02 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-16 17:44:23 +0200
commit0cf113082e5f82f97c53a73e6581c7fc982a3ff4 (patch)
treeef76fb4821857833027feb90969e243f2eeb7620 /dev-scheme
parentdev-ml/yojson: clean patch (diff)
downloadgentoo-0cf113082e5f82f97c53a73e6581c7fc982a3ff4.tar.gz
gentoo-0cf113082e5f82f97c53a73e6581c7fc982a3ff4.tar.bz2
gentoo-0cf113082e5f82f97c53a73e6581c7fc982a3ff4.zip
dev-scheme/guile-gnutls: bump to 3.7.12
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile-gnutls/Manifest1
-rw-r--r--dev-scheme/guile-gnutls/guile-gnutls-3.7.12.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-scheme/guile-gnutls/Manifest b/dev-scheme/guile-gnutls/Manifest
index 2759a66e202d..9011523c1bc8 100644
--- a/dev-scheme/guile-gnutls/Manifest
+++ b/dev-scheme/guile-gnutls/Manifest
@@ -1 +1,2 @@
DIST guile-gnutls-3.7.11.tar.gz 684772 BLAKE2B 518d46fdc6f24cae03216205ffd010e45a9c38c6f8d0f6b7021df74308bb24706772174b6e8078057d20b06f7c81a4fe42b388c309ce463ad044f194ea33cbc6 SHA512 bdd7e0dc97939ef792facde0038062ffc4f6a8d2495eb57d08b774b774a4edd7259de46d3a86de2a36c0ed5027889ffa91f2edce2289e5932f16a421870693d7
+DIST guile-gnutls-3.7.12.tar.bz2 159199 BLAKE2B 1d44344d98231d2dcceedc87f8959c301024a1cb20a7e055dcf477e79b166405673d2447080e6579022435c546f8f34223320718d03ecc3612f9c6c10607dcac SHA512 c75ed619fd2eb79718ac5634c24a589308e371f83cac941fafcec297ea2877cb793760c4bfa0ca9f7396ca591daa781aebc0622636fc904f58f544193a655e3d
diff --git a/dev-scheme/guile-gnutls/guile-gnutls-3.7.12.ebuild b/dev-scheme/guile-gnutls/guile-gnutls-3.7.12.ebuild
new file mode 100644
index 000000000000..2ddce6cbaeee
--- /dev/null
+++ b/dev-scheme/guile-gnutls/guile-gnutls-3.7.12.ebuild
@@ -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"
+}