diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild')
-rw-r--r-- | dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild new file mode 100644 index 000000000000..2a2a9db3048c --- /dev/null +++ b/dev-scheme/guile-ncurses/guile-ncurses-3.0-r3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +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" +RESTRICT="strip" + +RDEPEND=" + >=dev-scheme/guile-2.0.0:= + sys-libs/ncurses:= +" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/texinfo" + +# guile generates ELF files without use of C or machine code +# It's a portage's false positive. bug #677600 +QA_PREBUILT='*[.]go' + +PATCHES=( + "${FILESDIR}/${P}-slibtool.patch" # 843416 +) + +src_prepare() { + default + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die + + # Remove bad tests + # > In procedure list-ref: Wrong type argument in position 1: #f + local 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 + ) + local bad_test + for bad_test in "${bad_tests[@]}" ; do + echo "#t" > test/${bad_test}.scm || die + done + + eautoreconf # 843560 +} + +src_test() { + emake check +} + +src_install() { + default + + find "${ED}" -type f -name '*.la' -delete || die +} |