summaryrefslogtreecommitdiff
path: root/dev-scheme/guile-ncurses
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-19 12:11:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-19 12:11:50 +0100
commitfe0961fc9674dd24a017f474a34c1edbbd005965 (patch)
treedfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /dev-scheme/guile-ncurses
parentbcd00c826070701606b0ccebf46234dfc792d3e9 (diff)
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'dev-scheme/guile-ncurses')
-rw-r--r--dev-scheme/guile-ncurses/Manifest1
-rw-r--r--dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-scheme/guile-ncurses/Manifest b/dev-scheme/guile-ncurses/Manifest
index b7903bc86449..05156da8e9d2 100644
--- a/dev-scheme/guile-ncurses/Manifest
+++ b/dev-scheme/guile-ncurses/Manifest
@@ -1,4 +1,5 @@
AUX guile-ncurses-3.0-slibtool.patch 1593 BLAKE2B ffabe52966b527e6d27da9a7d5518d48db875b5cf1dbbb1c435d990ced5011c41a2d81e9c0a8dc1dc7e2cb042643989777262e9c856c02aaaa8887494859b4c1 SHA512 9c7b1419c21525c6abc91d5b9c9b00ad3ae64a97fd6f1f1bc05dd80f77603706f702def71af5f0bbc85cd5eb4beed4c35b14cadbb289c726d14aedb4e2bda897
DIST guile-ncurses-3.1.tar.gz 921257 BLAKE2B 26ee97ac62ae7877ecf4cce9d798f7afadc98cbba914da1c802321bf83572e5bfe9775e6e3739bbe849cde9843998aca001b6753bde9d5fbb48c4d70133740f9 SHA512 c43264cfb0cc9fe658f7ddd53bb3dfc6c7636ecaf9b8f3f416d449e6463e38061faf419b43d91775dd9642a904055122e7992c16dea1532de6229fcfa68e292f
+EBUILD guile-ncurses-3.1-r100.ebuild 1460 BLAKE2B 28a7359b8350814b242c51c358a5bf00e0286d856fc7194c9e5d32767abf4a03cc43af8b4f8a92be5ba65151941ec9d0ba8c4ac3108dcc6ec86f142b50a0f27e SHA512 b73a293e2707bfc9db508c5eccace636df2e4e146ebcea7c1d5af160da8e90c34f514447a4e525427abbc9048d2328a5fd944cb28eeafcbcf0c7f6f87e523db8
EBUILD guile-ncurses-3.1.ebuild 1680 BLAKE2B 7330a7fa422096e723b0fffb0123577b196e53f0f27ff52c3b94a192434640a42daefa13deacde874eb7de8beb1ff37f198d803e134d496f24d5e56bed86b70a SHA512 f993f85b8ca02ce4943b31dbfb45257af05c7ad2ae98e601573023675930c21f88003d0f5eb51a169138e7e92dbab819d406d961d64e860167f4d07595b8bb6f
MISC metadata.xml 630 BLAKE2B b0867d55ccfe84db33d8dc2675a4a8928d253f1e616d0a8d3836130c466dcc822bd78a432d3ba11257e0c77d3281dbb9e6db41a5a5f34056ce3f086da47d207b SHA512 4471f1852f73f9bc1654c333092e1e230c3395e705cc5cbb5a3a3c1eb3db1ddfa124f4efe020cd1eaef168150a9de6f8c2b35585d7c13de7d4d76717c6c0f4f2
diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild
new file mode 100644
index 000000000000..fb877bf6f978
--- /dev/null
+++ b/dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild
@@ -0,0 +1,72 @@
+# 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 FFI to ncurses library for text-based console UI"
+HOMEPAGE="https://www.gnu.org/software/guile-ncurses/"
+SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${GUILE_REQUIRED_USE}"
+
+RDEPEND="
+ ${GUILE_DEPS}
+ dev-libs/boehm-gc
+ dev-libs/libatomic_ops
+ dev-libs/libunistring
+ sys-libs/ncurses:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/texinfo"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0-slibtool.patch # bug #843416
+)
+
+src_prepare() {
+ guile_src_prepare
+
+ # Remove bad tests
+ # > In procedure list-ref: Wrong type argument in position 1: #f
+ local -a bad_tests=(
+ curs_attr_attr_off_underline
+ curs_attr_attr_on_blink
+ curs_attr_attr_on_bold
+ curs_attr_attr_on_dim
+ curs_attr_attr_on_invis
+ curs_attr_attr_on_protect
+ curs_attr_attr_on_reverse
+ curs_attr_attr_on_standout
+ curs_attr_attr_on_underline
+ curs_attr_attr_set
+ curs_attr_attr_set_normal
+ curs_attr_standend
+ curs_attr_standout
+ curs_bkgd_bkgd
+ curs_bkgd_bkgdset
+ termios_speed
+ )
+ local bad_test
+ for bad_test in "${bad_tests[@]}" ; do
+ echo "#t" > test/${bad_test}.scm || die
+ done
+
+ eautoreconf # 843560
+}
+
+src_test() {
+ guile_foreach_impl emake check
+}
+
+src_install() {
+ guile_src_install
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}