summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-07 09:25:54 +0000
committerSam James <sam@gentoo.org>2024-12-07 09:27:36 +0000
commit3c01ecc5657d90992873a98b9cb9907e1ec019e0 (patch)
treeaf3236d10ddc0e1bf476fd19c6ef326a61ca892b /dev-scheme
parentdev-ruby/pdf-core: remove obsolete slot (diff)
downloadgentoo-3c01ecc5657d90992873a98b9cb9907e1ec019e0.tar.gz
gentoo-3c01ecc5657d90992873a98b9cb9907e1ec019e0.tar.bz2
gentoo-3c01ecc5657d90992873a98b9cb9907e1ec019e0.zip
dev-scheme/guile-gnutls: add 4.0.1
Bug: https://bugs.gentoo.org/930665 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile-gnutls/Manifest1
-rw-r--r--dev-scheme/guile-gnutls/guile-gnutls-4.0.1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-scheme/guile-gnutls/Manifest b/dev-scheme/guile-gnutls/Manifest
index b12a9218d720..e2e6fba47bbb 100644
--- a/dev-scheme/guile-gnutls/Manifest
+++ b/dev-scheme/guile-gnutls/Manifest
@@ -1 +1,2 @@
DIST guile-gnutls-4.0.0.tar.bz2 177122 BLAKE2B a427c0bb84fd6bb937c52930b6281c8f1b691a728d93475774b4d490c6418595deb15483716bcab1e3b03949633d0604112ebae4be8921791b257234e8d31870 SHA512 15cbfff19b9cd799a8a1bb344d0ab4a098707e8544a84047fdd5b919349f02018c39aaa927b6bbff86ec24620df8f7b343b4b4854ec26585edc66f6a8e442887
+DIST guile-gnutls-4.0.1.tar.bz2 179830 BLAKE2B 34acf2c9550fc2bde239d4ec1a3be3b4875b5e9c281e148dfc879786667316e876071e1988727b0777919a8308160c54bee4f66a76eca0cd1941a85c646995d9 SHA512 d86501a3c3c55513f4da68c9b63bf2316a922f1bfcaf5830b0312d52ba6da09e3c3847ac37dff5236737c4ac06b157b6aaa1dabd837fb0f6b836f76f239d066f
diff --git a/dev-scheme/guile-gnutls/guile-gnutls-4.0.1.ebuild b/dev-scheme/guile-gnutls/guile-gnutls-4.0.1.ebuild
new file mode 100644
index 000000000000..760216855e33
--- /dev/null
+++ b/dev-scheme/guile-gnutls/guile-gnutls-4.0.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GUILE_COMPAT=( 2-2 3-0 )
+inherit autotools guile
+
+DESCRIPTION="Guile-GnuTLS provides Guile bindings for the GnuTLS library"
+HOMEPAGE="https://gnutls.gitlab.io/guile/manual/
+ https://gitlab.com/gnutls/guile/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://gitlab.com/gnutls/guile.git"
+else
+ SRC_URI="https://gitlab.com/gnutls/guile/-/archive/v${PV}/guile-v${PV}.tar.bz2
+ -> ${P}.tar.bz2"
+ S="${WORKDIR}/guile-v${PV}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+
+REQUIRED_USE="${GUILE_REQUIRED_USE}"
+
+RDEPEND="
+ ${GUILE_DEPS}
+ net-libs/gnutls:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ guile_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ my_configure() {
+ # --disable-srp-authentication: bug #894050
+ econf --disable-srp-authentication guile_snarf=${GUILESNARF}
+ }
+ guile_foreach_impl my_configure
+}
+
+src_install() {
+ guile_src_install
+
+ find "${ED}" -type f -name "*.la" -delete || die
+}