gentoo/dev-ruby/ruby-gtk3/ruby-gtk3-4.2.9.ebuild
Alfred Wingate d83e25b6a5
*/*: depend on newer gobject-introspection as a workaround
sed -E '/dev-libs\/gobject-introspection(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-libs\/gobject-introspection(-[0-9.r-]*)?/>=dev-libs\/gobject-introspection-1.82.0-r2/ }' */*/*.ebuild -i

+ manually going over to undo the false positives or if the version
  requirement was higher.

Bug: https://bugs.gentoo.org/947058
See-Also: ae37e3f389808700bd0f4343ee04888f0ef179d2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44336
Closes: https://github.com/gentoo/gentoo/pull/44336
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-26 03:26:28 +00:00

30 lines
693 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
RUBY_GNOME2_NEED_VIRTX=yes
inherit ruby-ng-gnome2
DESCRIPTION="Ruby Gtk2 bindings"
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
DEPEND="dev-libs/glib
>=dev-libs/gobject-introspection-1.82.0-r2
x11-base/xorg-proto
x11-libs/gtk+:3"
RDEPEND="dev-libs/glib
>=dev-libs/gobject-introspection-1.82.0-r2
x11-libs/gtk+:3"
ruby_add_rdepend "
~dev-ruby/ruby-atk-${PV}
~dev-ruby/ruby-gdk3-${PV}"
ruby_add_bdepend "
~dev-ruby/ruby-cairo-gobject-${PV}
~dev-ruby/ruby-glib2-${PV}
~dev-ruby/ruby-gobject-introspection-${PV}
~dev-ruby/ruby-pango-${PV}"