$NetBSD: patch-Rakefile,v 1.1 2017/06/10 11:10:42 tsutsui Exp $

- pull dependency fix from upstream
  https://github.com/ruby-gnome2/ruby-gnome2/commit/9ddac28ccf948a4db7d49ea87fda034f9411e3e5

--- Rakefile.orig	2017-06-10 11:04:23.000000000 +0000
+++ Rakefile
@@ -1,6 +1,6 @@
 # -*- ruby -*-
 #
-# Copyright (C) 2010-2015  Ruby-GNOME2 Project Team
+# Copyright (C) 2010-2017  Ruby-GNOME2 Project Team
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,11 @@ require 'gnome2-raketask'
 package_task = GNOME2::Rake::PackageTask.new do |package|
   package.summary = "Ruby/Rsvg is a Ruby binding of librsvg-2.x."
   package.description = "Ruby/Rsvg is a Ruby binding of librsvg-2.x."
-  package.dependency.gem.runtime = [["cairo", ">= 1.12.8"], "gdk_pixbuf2"]
+  package.dependency.gem.runtime = [
+    ["cairo", ">= 1.12.8"],
+    "gdk_pixbuf2",
+    "cairo-gobject",
+  ]
   package.windows.packages = []
   package.windows.dependencies = []
   package.windows.build_dependencies = [
@@ -30,9 +34,12 @@ package_task = GNOME2::Rake::PackageTask
     "gobject-introspection",
     "pango",
     "gdk_pixbuf2",
+    "cairo-gobject",
   ]
   package.windows.gobject_introspection_dependencies = [
+    "pango",
     "gdk_pixbuf2",
+    "cairo-gobject",
   ]
   package.cross_compiling do |spec|
     if /mingw|mswin/ =~ spec.platform.to_s
