1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 USE_RUBY="ruby24 ruby25 ruby26"
7 inherit virtualx ruby-ng-gnome2
9 DESCRIPTION="Ruby GDK-3.x bindings"
10 KEYWORDS="~amd64 ~ppc ~x86"
13 DEPEND+=" x11-libs/gtk+:3"
14 RDEPEND+=" x11-libs/gtk+:3"
17 ~dev-ruby/ruby-gdkpixbuf2-${PV}
18 ~dev-ruby/ruby-cairo-gobject-${PV}
19 ~dev-ruby/ruby-pango-${PV}
23 # Avoid unneeded dependency on test-unit-notify.
24 sed -i -e '/notify/ s:^:#:' \
25 test/gdk-test-utils.rb || die
27 # Avoid compilation of dependencies during test.
28 sed -i -e '/Makefile/,/^ end/ s:^:#:' test/run-test.rb || die
31 each_ruby_configure() {
40 virtx ${RUBY} test/run-test.rb