summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-goffice
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-goffice')
-rw-r--r--dev-ruby/ruby-goffice/Manifest3
-rw-r--r--dev-ruby/ruby-goffice/metadata.xml11
-rw-r--r--dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild28
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/ruby-goffice/Manifest b/dev-ruby/ruby-goffice/Manifest
new file mode 100644
index 000000000000..2ac5d199d1eb
--- /dev/null
+++ b/dev-ruby/ruby-goffice/Manifest
@@ -0,0 +1,3 @@
+DIST ruby-gnome2-3.4.3.tar.gz 3136727 BLAKE2B 3b85136b90e7a9de14f38fbdb55d9c143719e697ff60fdd4c09921b5d0c6363cf27b7b2da55d93a95d302e62879c321df20e729d4a3d9d2e8d1f2a4afb8c6e49 SHA512 ac4614647c20080eb850d47938b00eb69730aef6672a35cf290619a5c3e01007ac59e75995e36398a0ddaed61db2f4ccdf9d26d2453fff9d5160073ee73081b8
+EBUILD ruby-goffice-3.4.3.ebuild 639 BLAKE2B bcb0c1534c5fbdd7506ca69f29ecf09859d055c91d0561637aec008e54b2bba8539a8ecb31d720539d3ff7deb6309e6c94d60c8e8cfa013456d875d4d9da6587 SHA512 476aae8adab2dd2c83e83eea08351d829ee33f3ad58f318b4776be414f86f9edfc1e3f094055037bcee85b78ff0f6d606f7d84ccfe1d5a8d1d8b2df0f8fdee4c
+MISC metadata.xml 337 BLAKE2B 6db7555351891e2a06883ad8738ad2ec3c9b665f7aee1d2e2d88012af4cfc5010fc57ee5dc514d12e6eff8211eef826b800ef79464d3714bcb9d4f473cfb97ce SHA512 767011adae026ec8de76a1485e112929dc96779a579229f0d3c44a5bc640c196c5fb9ee3a3b6badd7d464f17ff3cbb6ba79080198814091d9a2e29175123045e
diff --git a/dev-ruby/ruby-goffice/metadata.xml b/dev-ruby/ruby-goffice/metadata.xml
new file mode 100644
index 000000000000..c0c35af8c2b8
--- /dev/null
+++ b/dev-ruby/ruby-goffice/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ruby-gnome/ruby-gnome</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild b/dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild
new file mode 100644
index 000000000000..8913d2c04d0d
--- /dev/null
+++ b/dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+RUBY_GNOME2_NEED_VIRTX=yes
+
+inherit ruby-ng-gnome2
+
+DESCRIPTION="Ruby GOffice bindings"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND+=" x11-libs/goffice[introspection]"
+RDEPEND+=" x11-libs/goffice[introspection]"
+
+ruby_add_rdepend "
+ ~dev-ruby/ruby-gsf-${PV}
+ ~dev-ruby/ruby-gtk3-${PV}"
+
+all_ruby_prepare() {
+ ruby-ng-gnome2_all_ruby_prepare
+
+ # https://github.com/ruby-gnome/ruby-gnome/issues/1316
+ sed -i -e '/only_goffice_version/s/0, 10, 27/0, 10/' \
+ test/test-data-scalar-str.rb
+}