2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-11 16:45:50 +03:00
Files
gentoo/dev-ruby/ruby-glib2/ruby-glib2-4.3.4.ebuild
Hans de Graaff 990c4bf788 dev-ruby/ruby-glib2: add 4.3.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2026-01-10 11:51:28 +01:00

28 lines
678 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_GEMSPEC="glib2.gemspec"
inherit ruby-ng-gnome2
DESCRIPTION="Ruby Glib2 bindings"
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86"
RDEPEND=">=dev-libs/glib-2"
DEPEND=">=dev-libs/glib-2"
all_ruby_prepare() {
sed -e '/\(native_package_installer\|pkg-config\)/ s:^:#:' \
-e 's:_relative ": "./:' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
ruby-ng-gnome2_all_ruby_prepare
# Skip spawn tests since our sandbox also provides items in the
# environment and this makes the test fragile.
rm -v test/test-spawn.rb || die
}