summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-21 08:07:38 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-22 08:46:55 +0100
commit1d23e7958f859c24b8e656725b63320747d5ecb7 (patch)
tree2eceab834c8844bb55f362b98eedf8215b0db622
parentdev-ruby/mutex_m: add 0.3.0 (diff)
downloadgentoo-1d23e7958f859c24b8e656725b63320747d5ecb7.tar.gz
gentoo-1d23e7958f859c24b8e656725b63320747d5ecb7.tar.bz2
gentoo-1d23e7958f859c24b8e656725b63320747d5ecb7.zip
dev-ruby/pkg-config: add 1.5.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/pkg-config/Manifest1
-rw-r--r--dev-ruby/pkg-config/pkg-config-1.5.8.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index bf317feb010a..ae7746429634 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -1,2 +1,3 @@
DIST pkg-config-1.5.6.gem 23040 BLAKE2B dad69e21b43fd8b97ea0f01973b89bf5182664b4170fcff7aacb40db045da313579920750450e1b2fa90a955d4c9a64b8eb9bb5618d2728db1114f4e9e173354 SHA512 cff5b2e3ed19ea6f8ea554990ba51a6313a663a258d9962c951ae75016fd181bc35593a871086c7f1fa4347e3f15949ad1621ea8fa86ca0d330db19c84a80ee4
DIST pkg-config-1.5.7.gem 23552 BLAKE2B 884d0992bbb1b76bdab8f1df2364d2d5dce5aab87e686e7a529110d77a9459cd4d785b352fa2067e62ea76418738ec02d1186c205c57054f2c27b93a1145f7ec SHA512 578e38cf6eff03125c5e8f7f53b68782ffb6ede00aae989ddde3cb890caf24093b509fb58113233f7fa54befaf31786d29dd386d912d39d9b55dc9f143319a32
+DIST pkg-config-1.5.8.gem 23552 BLAKE2B d760d67b991aeb1f7a941652350925fdbc45b76204925cf7f5b9a410c75aea5a2fa0bc116fdcbca62f836f53f37a3b1369a21ef66247876ca9dc45f3acab2b74 SHA512 4b1d8c68f4ed407788fd265da021efcaa887b9e680cf443eae2b0fb3ca975640621b497d62908d685226f80353d07c562f7d9cec3525abdb738843139476637e
diff --git a/dev-ruby/pkg-config/pkg-config-1.5.8.ebuild b/dev-ruby/pkg-config/pkg-config-1.5.8.ebuild
new file mode 100644
index 000000000000..a839c68a6885
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.5.8.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A pkg-config implementation by Ruby"
+HOMEPAGE="https://github.com/ruby-gnome/pkg-config"
+LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+
+ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
+# this is used for testing
+DEPEND=" test? ( x11-libs/cairo )"
+
+all_ruby_prepare() {
+ sed -e '/test_cflags/aomit "Fragile on Gentoo"' -i test/test-pkg-config.rb || die
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib test/test-pkg-config.rb || die
+}