diff options
Diffstat (limited to 'dev-ruby/ruby-gio2')
-rw-r--r-- | dev-ruby/ruby-gio2/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/ruby-gio2/ruby-gio2-3.3.2.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gio2/Manifest b/dev-ruby/ruby-gio2/Manifest index 9e58b695c5b3..eda013a57625 100644 --- a/dev-ruby/ruby-gio2/Manifest +++ b/dev-ruby/ruby-gio2/Manifest @@ -1,4 +1,6 @@ AUX ruby-gio2-3.1.1-schema-path.patch 1224 BLAKE2B eafa8793b203cfbb2d10fdf031ee9034d245aa4d6dcc0a78e387460902023fc8be44128848bd5550c41af4a532882a3d14e56d28a166f77a0f668c67adc26a95 SHA512 d68c84a7669528d94a9325f18c7c32eb0059b5b0c4ffe5ec8b520cf12a21b2a622b8edd6cf61dfa42f49fcb4441e763b6182f5d4b2fb78ed1caa0c0194a5d686 DIST ruby-gnome2-all-3.1.1.tar.gz 2233259 BLAKE2B 2758a2b34bbb96a9b2aba73f576d6213c9add2bd37ac85ed083a2bfb050d5327d7332ee1b9a8445e69aab0c4721ba446b4cb66c26273818ba930cce389eda152 SHA512 be264505d254248e0e6190b28c5311d10384c2ade19ac56f249bd17284b153368e6007862c4e19e6d1015ba3e441f9bc502a5dbcc45b7dc8036611ef554a6de9 +DIST ruby-gnome2-all-3.3.2.tar.gz 2310841 BLAKE2B 8f50dc289cd097fa476a3419ffec623009395384bcfa965803f3e4e857e095866e0233e7546150c5e54d1e35f71c5e72a2880100a881ba037356208e5d3721ce SHA512 4581aad8c69db2b6be3b067ff60994fb3567d68299f634e085319ac81f51e1d681972ccba715f8e93df3adba155fa8cd3a49929cd77f6eb01856be30e551b21c EBUILD ruby-gio2-3.1.1.ebuild 834 BLAKE2B ef2ad866b8ba8a772b74354e75b08d6bca2d4c1dfa1abf8f2dafab6334626a48c15ed29a9061c1a6fab3faaafa02836929b5ebf0ffd7bd8cff0e839ab2324cd0 SHA512 da16a781869ab6fd7ee46840fd93c6cff873bb2ada18d4afb516f47447bb2442458020407e51e4d2e13649fc8f39b7c65cb3fcab5468d3e68c09a424a597b41a +EBUILD ruby-gio2-3.3.2.ebuild 946 BLAKE2B b4e3775eb19891b4fd35bcaf41e122fe99c3b0e93c626cbdc857f8404778318999495883fcf747538a25f01e6794a78e03d6927690fba4ad073a3f3340350d71 SHA512 2025b5a71887b10150006a0c228540bb9d8c7037544b83a5f7bb75599c7dc09c441cfbad82749eade5fd79b627818d5c16c376234b69a81d7b66c3c2e2519370 MISC metadata.xml 484 BLAKE2B 92b370579737b078247911f01123a69d4b3a885554f2d0ad7f4f327b2b9d99af9176c362f9fb206f8d0c0cad2f929562f647777333ce0d65819857b56dfa2f0c SHA512 d2a0d82edb1c77c3ce6138842269447a5e1e2ddeb5ffacd1d3c5692132f52ca310a8314285006b98aa277816ed63203542685749d8e13ebf563726c1b63a61bb diff --git a/dev-ruby/ruby-gio2/ruby-gio2-3.3.2.ebuild b/dev-ruby/ruby-gio2/ruby-gio2-3.3.2.ebuild new file mode 100644 index 000000000000..71cf3f581a65 --- /dev/null +++ b/dev-ruby/ruby-gio2/ruby-gio2-3.3.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +inherit ruby-ng-gnome2 + +DESCRIPTION="Ruby binding of GooCanvas" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV} + >=dev-ruby/ruby-gobject-introspection-${PV}" + +all_ruby_prepare() { + # Avoid native installer + sed -i -e '/native-package-installer/ s:^:#: ; /^\s*setup_homebrew_libffi/ s:^:#:' ../glib2/lib/mkmf-gnome2.rb || die + + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + test/gio2-test-utils.rb || die + + # Avoid compilation of dependencies during test. + sed -i -e '/which make/,/^ end/ s:^:#:' test/run-test.rb || die + + # Make sure Makefile is generated fresh for each target + rm -f ext/gio2/Makefile Makefile Makefile.lib || die +} + +each_ruby_test() { + XDG_RUNTIME_DIR=${T} dbus-launch ${RUBY} test/run-test.rb || die +} |