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.
- data/Rakefile +24 -11
- data/lib/webkit-gtk.rb +2 -2
- 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-
|
20
|
+
require "gnome2/rake/package-task"
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
-
|
45
|
+
package_task.define
|
33
46
|
|
34
47
|
namespace :dependency do
|
35
48
|
desc "Install depenencies"
|
data/lib/webkit-gtk.rb
CHANGED
@@ -17,10 +17,10 @@
|
|
17
17
|
require "gobject-introspection"
|
18
18
|
require "gtk3"
|
19
19
|
|
20
|
-
base_dir = Pathname.new(__FILE__).dirname.dirname.
|
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.
|
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:
|
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-
|
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:
|
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:
|
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:
|
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:
|
45
|
+
version: 2.0.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: test-unit-notify
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|