diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-08-27 02:21:24 +0300 |
---|---|---|
committer | Arsen Arsenović <arsen@gentoo.org> | 2024-09-18 15:06:36 +0200 |
commit | 59c7ac4e3cbafee9510ff2c1b15227079abc87e0 (patch) | |
tree | 99f244e6aac320146ca5639be43b6918a27ee67b /dev-scheme | |
parent | dev-scheme/guile-lzlib: switch to new guile mechanism (diff) | |
download | gentoo-59c7ac4e3cbafee9510ff2c1b15227079abc87e0.tar.gz gentoo-59c7ac4e3cbafee9510ff2c1b15227079abc87e0.tar.bz2 gentoo-59c7ac4e3cbafee9510ff2c1b15227079abc87e0.zip |
dev-scheme/guile-ncurses: switch to new guile mechanism
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/guile-ncurses/guile-ncurses-3.1-r100.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
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 +} |