summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-08-27 08:12:10 +0200
committerHans de Graaff <graaff@gentoo.org>2022-08-27 08:18:42 +0200
commit4147688a3ded15338ad446c7e26dcb53018ab272 (patch)
tree02f52cea9f500a9f668e19f815addd12b8caea71
parentmedia-sound/yoshimi: Stabilize 2.2.1 x86, #866884 (diff)
downloadgentoo-4147688a3ded15338ad446c7e26dcb53018ab272.tar.gz
gentoo-4147688a3ded15338ad446c7e26dcb53018ab272.tar.bz2
gentoo-4147688a3ded15338ad446c7e26dcb53018ab272.zip
dev-ruby/pkg-config: add 1.4.9
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.4.9.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/pkg-config/Manifest b/dev-ruby/pkg-config/Manifest
index ae5ad08ef980..769b9c9485ae 100644
--- a/dev-ruby/pkg-config/Manifest
+++ b/dev-ruby/pkg-config/Manifest
@@ -1,3 +1,4 @@
DIST pkg-config-1.4.1.gem 22016 BLAKE2B efac610221b288bb669a3783c0e70af3951478147896315c53af2186912b60045096c0ba01a0a59ce09897a2e4e747d28a091b947281fe7f6dd6f85cea31aae7 SHA512 72d61466c1ea53a5eda66a8e8f8106fef0269fefdd349ac83959a34bb8f36796bd3e9c7fbcbad5763d2fca015c65436f9d410724e27b6d1c495e3957d26757a6
DIST pkg-config-1.4.6.gem 22528 BLAKE2B 7d040576e0d035af75218e7efee6d3a8ee27206de8e12ef112c6fa7c5917f300c07149c08d510f26f89299cb73c384775403ff7f863379c195fb524c8127c59a SHA512 328fbc46bb549d4cbcd4995cb91545bd13f00f3d24610f9a70b39ea3b58c595d96801fcfe9ca9848d6664d7c9dfce44ce2702a58b894b80744619678e10b0e50
DIST pkg-config-1.4.7.gem 22528 BLAKE2B 450dffb0c9680f92c8841bcc8c7aa2e187f73e8db1d1325ece7dd024ae0f430b8365d185742d349775bf821210ecd13dddf5b9e40bc85ede07cdaef3199b23b3 SHA512 ca93bcee16b75690af630236e6ab01c13de220f1ea128475ded5fac155f12a967ceebe9b5ab3e7e6f43d5dbf81ccb1bd79f6f25c92eabd3318019b0e50696623
+DIST pkg-config-1.4.9.gem 22528 BLAKE2B 5b033292b56fd6cd163b611d3d16becb1489691ad348124234495333906eb19d92c994068a32416360248b641769f1da0aae777bf7372119d04ab9164cdd7b32 SHA512 b2052be243a6f9c9a96f76651f76460bbfd9d99fe5d1fa00f47683c659f2971ade525f5da5df49e214972f3cb1226d3212e134d44f1a3fcd5e0a8d253b281194
diff --git a/dev-ruby/pkg-config/pkg-config-1.4.9.ebuild b/dev-ruby/pkg-config/pkg-config-1.4.9.ebuild
new file mode 100644
index 000000000000..d8aebeb67680
--- /dev/null
+++ b/dev-ruby/pkg-config/pkg-config-1.4.9.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc NEWS"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A pkg-config implementation by Ruby"
+HOMEPAGE="https://github.com/rcairo/pkg-config"
+LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+SLOT="0"
+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
+}