diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-08-28 12:15:20 +0300 |
---|---|---|
committer | Arsen Arsenović <arsen@gentoo.org> | 2024-09-18 15:06:42 +0200 |
commit | 587e5c2371cca3feadd1f7018b42b995ca0da26a (patch) | |
tree | 32269a538589e65fd1f25b1b916974e8e83004d2 /dev-scheme | |
parent | dev-scheme/guile-gi: switch to new guile mechanism (diff) | |
download | gentoo-587e5c2371cca3feadd1f7018b42b995ca0da26a.tar.gz gentoo-587e5c2371cca3feadd1f7018b42b995ca0da26a.tar.bz2 gentoo-587e5c2371cca3feadd1f7018b42b995ca0da26a.zip |
dev-scheme/guile-gi: update live to use 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-gi/guile-gi-9999.ebuild | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/dev-scheme/guile-gi/guile-gi-9999.ebuild b/dev-scheme/guile-gi/guile-gi-9999.ebuild index 75b8c4278d3a..1d232ddf9d51 100644 --- a/dev-scheme/guile-gi/guile-gi-9999.ebuild +++ b/dev-scheme/guile-gi/guile-gi-9999.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit virtualx autotools +GUILE_COMPAT=( 2-2 3-0 ) +inherit virtualx autotools guile DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile" HOMEPAGE="https://spk121.github.io/guile-gi/" @@ -19,42 +20,45 @@ fi LICENSE="GPL-3" SLOT="0" +REQUIRED_USED="${GUILE_REQUIRED_USE}" + DEPEND=" - >=dev-scheme/guile-2.0.9:= + ${GUILE_DEPS} dev-libs/gobject-introspection x11-libs/gtk+:3[introspection] " RDEPEND="${DEPEND}" 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}"/guile-gi-0.3.2-function-cast.patch +) src_prepare() { - default - - # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 - find "${S}" -name "*.scm" -exec touch {} + || die + guile_src_prepare eautoreconf } src_configure() { - econf --disable-static --enable-introspection=yes + guile_foreach_impl econf --enable-introspection=yes +} + +src_compile() { + my_compile() { + mkdir test || die + default + } + guile_foreach_impl my_compile } src_test() { - virtx default + guile_foreach_impl virtx default } src_install() { - default + guile_src_install - mv "${D}"/usr/share/doc/${PN} "${D}"/usr/share/doc/${PF} || die + mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die find "${ED}" -type f -name '*.la' -delete || die - - # Workaround llvm-strip problem of mangling guile ELF debug - # sections. Bug https://bugs.gentoo.org/905898 - dostrip -x /usr/$(get_libdir)/guile } |