summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-01-27 19:43:34 +0100
committerHans de Graaff <graaff@gentoo.org>2016-01-27 19:43:56 +0100
commitff1afc4b25d2b3828706ba4fdb00003acc2cef5a (patch)
tree1651a18c8ce7754cf0310bd6bce06985f5ba12bf /dev-ruby/ruby-webkit2-gtk
parentmedia-libs/imlib2: Stable for HPPA PPC64 (bug #572884). (diff)
downloadgentoo-ff1afc4b25d2b3828706ba4fdb00003acc2cef5a.tar.gz
gentoo-ff1afc4b25d2b3828706ba4fdb00003acc2cef5a.tar.bz2
gentoo-ff1afc4b25d2b3828706ba4fdb00003acc2cef5a.zip
dev-ruby/ruby-webkit2-gtk: initial import for bug 573094
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/ruby-webkit2-gtk')
-rw-r--r--dev-ruby/ruby-webkit2-gtk/Manifest1
-rw-r--r--dev-ruby/ruby-webkit2-gtk/metadata.xml12
-rw-r--r--dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild44
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/ruby-webkit2-gtk/Manifest b/dev-ruby/ruby-webkit2-gtk/Manifest
new file mode 100644
index 000000000000..2ce154cebbc4
--- /dev/null
+++ b/dev-ruby/ruby-webkit2-gtk/Manifest
@@ -0,0 +1 @@
+DIST ruby-gnome2-all-3.0.7.tar.gz 1692752 SHA256 4b65da24a5fdd4a774d6f238abcce8a3aca2bad093211bb824fb6a06e5430375 SHA512 0cfd5dd13ef0e0986ddd2235f88ffb21d15e6cb709b47252bb34e587fef88c0234e65f178eccec7dbfd45759ba37f1bbdcee6c7908d3f9daaf3369453b2478ee WHIRLPOOL 0a0e2749f6642485bada7ab22d69a3ed0e4d170a2d0dec6db88e62179264c6093a51c05cca87c64a4a3e9d1bdedb05a92fba81f6098872c06c8cbfa451ccedf2
diff --git a/dev-ruby/ruby-webkit2-gtk/metadata.xml b/dev-ruby/ruby-webkit2-gtk/metadata.xml
new file mode 100644
index 000000000000..2eb590f61d26
--- /dev/null
+++ b/dev-ruby/ruby-webkit2-gtk/metadata.xml
@@ -0,0 +1,12 @@
+<?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="sourceforge-jp">ruby-gnome2</remote-id>
+ <remote-id type="sourceforge">ruby-gnome2</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild
new file mode 100644
index 000000000000..05a3d94ab672
--- /dev/null
+++ b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+inherit virtualx ruby-ng-gnome2
+
+DESCRIPTION="Ruby WebKitGtk+ for Gtk 3.0 bindings"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND+=" net-libs/webkit-gtk:4"
+RDEPEND+=" net-libs/webkit-gtk:4"
+
+RUBY_S="ruby-gnome2-all-${PV}/webkit2-gtk"
+
+ruby_add_rdepend ">=dev-ruby/ruby-gobject-introspection-${PV}
+ >=dev-ruby/ruby-gtk3-${PV}"
+
+all_ruby_prepare() {
+ # Avoid unneeded dependency on test-unit-notify.
+ sed -i -e '/notify/ s:^:#:' \
+ ../gobject-introspection/test/gobject-introspection-test-utils.rb \
+ test/webkit2-gtk-test-utils.rb || die
+}
+
+each_ruby_configure() {
+ :
+}
+
+each_ruby_compile() {
+ :
+}
+
+each_ruby_test() {
+ VIRTUALX_COMMAND="${RUBY}"
+ virtualmake test/run-test.rb || die
+}
+
+each_ruby_install() {
+ each_fakegem_install
+}