dev-ruby/ruby-pango: add 4.2.4

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-11-30 11:41:28 +01:00
parent 2719bb65b4
commit 6fc4ba7e33
2 changed files with 33 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST ruby-gnome2-4.1.2.tar.gz 2708791 BLAKE2B ef24788d8c65f96c76b43d8adc38af21dfb3bfe2f8ae2157f6978993fe65e9735030e9912e8eb1ff5ff90ab1c67701ae61ac3b0790cb285646f26b6193d74be5 SHA512 898ae5bcd7a6347d7392b7888c19493905f6e660afb61f17a60b1f22e4069329ef6ccc9277375a2c40b4d998a309b61de6797f50c4633c0f5de22d2e85252537
DIST ruby-gnome2-4.2.4.tar.gz 2748574 BLAKE2B 8203e964a64c4699edce1c12559d3ee25f772b600c9f9af97ca6a133bb7b7a5773d8e6ca76a380a435daeb92ee03a57534e193a3436f13bac572e866c3655be5 SHA512 8efb04324255e3db17cd9a1a3c6984edb2b523e62493740c90a2cc48b957bcb6849438658273c00f2b6bcb497a6314b9f058eede789cc8625bee6145cfb799bb

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
inherit ruby-ng-gnome2
DESCRIPTION="Ruby Pango bindings"
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
DEPEND="dev-libs/glib
>=x11-libs/pango-1.14.0[introspection]"
RDEPEND="dev-libs/glib
>=x11-libs/pango-1.14.0[introspection]"
ruby_add_rdepend "
~dev-ruby/ruby-cairo-gobject-${PV}
~dev-ruby/ruby-glib2-${PV}
~dev-ruby/ruby-gobject-introspection-${PV}
"
all_ruby_prepare() {
ruby-ng-gnome2_all_ruby_prepare
# Remove test depending on specific locales to be set up: bug 526248
rm -f test/test-language.rb || die
}
each_ruby_test() {
# Include pango path since run-test does not list it
${RUBY} -Iext/pango test/run-test.rb || die
}