summaryrefslogtreecommitdiff
path: root/graphics/ruby-gnome2-rsvg/patches/patch-Rakefile
blob: 2863dd921dd1bb98562f7bc94f7a80029ecfa0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$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