diff options
author | Naohiro Aota <naota@gentoo.org> | 2020-02-10 14:37:20 +0900 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2020-07-30 16:58:38 +0900 |
commit | 634e00620223d190eb8af839777727190ceae55b (patch) | |
tree | 89499a0092ce50395cc51473b17d5f3453d53582 /dev-ruby | |
parent | dev-ruby/ruby-gsf: add new package (diff) | |
download | gentoo-634e00620223d190eb8af839777727190ceae55b.tar.gz gentoo-634e00620223d190eb8af839777727190ceae55b.tar.bz2 gentoo-634e00620223d190eb8af839777727190ceae55b.zip |
dev-ruby/ruby-goffice: add new package
This is a new dependency of dev-ruby/ruby-gnome2-3.4.1
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Naohiro Aota <naota@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-goffice/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-goffice/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/ruby-goffice/ruby-goffice-3.4.3.ebuild | 28 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/ruby-goffice/Manifest b/dev-ruby/ruby-goffice/Manifest new file mode 100644 index 000000000000..7f70af3b2295 --- /dev/null +++ b/dev-ruby/ruby-goffice/Manifest @@ -0,0 +1 @@ +DIST ruby-gnome2-3.4.3.tar.gz 3136727 BLAKE2B 3b85136b90e7a9de14f38fbdb55d9c143719e697ff60fdd4c09921b5d0c6363cf27b7b2da55d93a95d302e62879c321df20e729d4a3d9d2e8d1f2a4afb8c6e49 SHA512 ac4614647c20080eb850d47938b00eb69730aef6672a35cf290619a5c3e01007ac59e75995e36398a0ddaed61db2f4ccdf9d26d2453fff9d5160073ee73081b8 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 +} |