webkit-gtk 1.2.6 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +24 -11
  2. data/lib/webkit-gtk.rb +2 -2
  3. metadata +6 -6
data/Rakefile CHANGED
@@ -17,19 +17,32 @@
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/WebKitGTK is a Ruby binding of WebKitGTK+."
24
- _package.description = "Ruby/WebKitGTK is a Ruby binding of WebKitGTK+."
25
- _package.dependency.gem.runtime = ["gobject-introspection", "gtk3"]
26
- _package.dependency.gem.development = ["test-unit-notify"]
27
- _package.win32.packages = []
28
- _package.win32.dependencies = []
29
- _package.win32.build_dependencies = ["glib2", "gobject-introspection"]
30
- _package.win32.build_packages = []
22
+ package_task = GNOME2::Rake::PackageTask.new do |package|
23
+ package.summary = "Ruby/WebKitGTK is a Ruby binding of WebKitGTK+."
24
+ package.description = "Ruby/WebKitGTK is a Ruby binding of WebKitGTK+."
25
+ package.dependency.gem.runtime = ["gobject-introspection", "gtk3"]
26
+ package.dependency.gem.development = ["test-unit-notify"]
27
+ package.windows.packages = []
28
+ package.windows.dependencies = []
29
+ package.windows.build_dependencies = ["glib2", "gobject-introspection"]
30
+ package.external_packages = [
31
+ {
32
+ :name => "webkitgtk",
33
+ :download_base_url => "http://webkitgtk.org/releases",
34
+ :label => "WebKitGTK+",
35
+ :version => "2.0.0",
36
+ :compression_method => "xz",
37
+ :windows => {
38
+ :configure_args => [
39
+ "--enable-introspection",
40
+ ],
41
+ },
42
+ },
43
+ ]
31
44
  end
32
- package.define_tasks
45
+ package_task.define
33
46
 
34
47
  namespace :dependency do
35
48
  desc "Install depenencies"
@@ -17,10 +17,10 @@
17
17
  require "gobject-introspection"
18
18
  require "gtk3"
19
19
 
20
- base_dir = Pathname.new(__FILE__).dirname.dirname.dirname.expand_path
20
+ base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
21
21
  vendor_dir = base_dir + "vendor" + "local"
22
22
  vendor_bin_dir = vendor_dir + "bin"
23
- GLib.prepend_environment_path(vendor_bin_dir)
23
+ GLib.prepend_dll_path(vendor_bin_dir)
24
24
 
25
25
  module WebKitGtk
26
26
  @initialized = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webkit-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-04 00:00:00.000000000 Z
12
+ date: 2013-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gobject-introspection
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.2.6
21
+ version: 2.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.2.6
29
+ version: 2.0.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: gtk3
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 1.2.6
37
+ version: 2.0.0
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 1.2.6
45
+ version: 2.0.0
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: test-unit-notify
48
48
  requirement: !ruby/object:Gem::Requirement