cairo-gobject 2.2.3 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +11 -11
  3. data/ext/cairo-gobject/extconf.rb +2 -15
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08cf65310126c509e55530fc70a52d8bba3ff214
4
- data.tar.gz: 694a5140dff8bc0403c520df36db2b966273b3f5
3
+ metadata.gz: 53ed9b35b4d4d66e2142496057ae62c95f72084f
4
+ data.tar.gz: 3778835f63d00f00a40a03ddec544d0324f04528
5
5
  SHA512:
6
- metadata.gz: b397eeef21ceb87f70e045fec0ae317e5dbe109f94d165c2774d78e6668e0a6d9add11e3ee94347b0d026539cca99d98afba89affebdf418f5172392f67a79a8
7
- data.tar.gz: 65c255ed497a3629f0aeee6a780d6d315aaeed8f694ed8148181e0c44709db986cf7da3c04e7bde729679887012fe65eadcb02e41d302a2634744766045bdacc
6
+ metadata.gz: ac25960c354c713836b9511093c4079e0bcba3fc663dc3c263142a9bab0914578ffe8ff383e2560f2475d68eb3c5c420b5d1646ff2e3a257cc26c62a5a4489da
7
+ data.tar.gz: 720c1ee9c406494beb9bf43a93ffa13436bb50779d14c9b22be8a19628b4507cebb83e145ad1ac1efc255c667b71278d2b436301bfd5957da7790095663a9579
data/Rakefile CHANGED
@@ -17,16 +17,16 @@
17
17
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
19
  $LOAD_PATH.unshift("./../glib2/lib")
20
- require "gnome2-raketask"
20
+ require "gnome2/rake/package-task"
21
21
 
22
- package = GNOME2Package.new do |_package|
23
- _package.summary = "Ruby/CairoGObject is a Ruby binding of cairo-gobject."
24
- _package.description = "Ruby/CairoGObject is a Ruby binding of cairo-gobject."
25
- _package.dependency.gem.runtime = ["cairo", "glib2"]
26
- _package.dependency.gem.development = ["test-unit-notify"]
27
- _package.win32.packages = []
28
- _package.win32.dependencies = []
29
- _package.win32.build_dependencies = ["cairo", "glib2"]
30
- _package.win32.build_packages = []
22
+ package_task = GNOME2::Rake::PackageTask.new do |package|
23
+ package.summary = "Ruby/CairoGObject is a Ruby binding of cairo-gobject."
24
+ package.description = "Ruby/CairoGObject is a Ruby binding of cairo-gobject."
25
+ package.dependency.gem.runtime = ["cairo", "glib2"]
26
+ package.dependency.gem.development = ["test-unit-notify"]
27
+ package.windows.packages = []
28
+ package.windows.dependencies = []
29
+ package.windows.build_dependencies = ["cairo", "glib2"]
30
+ package.windows.build_packages = []
31
31
  end
32
- package.define_tasks
32
+ package_task.define
@@ -54,24 +54,11 @@ end
54
54
  :target_build_dir => build_dir)
55
55
  end
56
56
 
57
- rcairo_options = {}
58
- rcairo_source_dir_names = ["rcairo"]
59
- if /mingw|cygwin|mswin/ =~ RUBY_PLATFORM
60
- rcairo_source_dir_names.unshift("rcairo.win32")
61
- end
62
- rcairo_source_dir_names.each do |rcairo_source_dir_name|
63
- rcairo_source_dir = top_dir.parent.expand_path + rcairo_source_dir_name
64
- if rcairo_source_dir.exist?
65
- rcairo_options[:rcairo_source_dir] = rcairo_source_dir.to_s
66
- break
67
- end
68
- end
69
-
70
- unless check_cairo(rcairo_options)
57
+ unless check_cairo(:top_dir => top_dir)
71
58
  exit(false)
72
59
  end
73
60
 
74
- setup_win32(module_name, base_dir)
61
+ setup_windows(module_name, base_dir)
75
62
 
76
63
  unless required_pkg_config_package(package_id,
77
64
  :debian => "libcairo2-dev",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo-gobject
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-26 00:00:00.000000000 Z
11
+ date: 2014-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.3
33
+ version: 2.2.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.2.3
40
+ version: 2.2.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit-notify
43
43
  requirement: !ruby/object:Gem::Requirement