clutter-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 +44 -11
- data/lib/clutter-gtk.rb +4 -2
- metadata +6 -6
data/Rakefile
CHANGED
@@ -17,19 +17,52 @@
|
|
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/ClutterGTK is a Ruby binding of Clutter-GTK."
|
24
|
+
package.description = "Ruby/ClutterGTK is a Ruby binding of Clutter-GTK."
|
25
|
+
package.dependency.gem.runtime = ["clutter", "gtk3"]
|
26
|
+
package.dependency.gem.development = ["test-unit-notify"]
|
27
|
+
package.windows.packages = []
|
28
|
+
package.windows.dependencies = []
|
29
|
+
package.windows.build_dependencies = [
|
30
|
+
"glib2",
|
31
|
+
"atk",
|
32
|
+
"pango",
|
33
|
+
"gdk_pixbuf2",
|
34
|
+
"gobject-introspection",
|
35
|
+
"clutter",
|
36
|
+
"gdk3",
|
37
|
+
]
|
38
|
+
package.windows.gobject_introspection_dependencies = [
|
39
|
+
"atk",
|
40
|
+
"pango",
|
41
|
+
"gdk_pixbuf2",
|
42
|
+
"clutter",
|
43
|
+
"gdk3",
|
44
|
+
]
|
45
|
+
package.external_packages = [
|
46
|
+
{
|
47
|
+
:name => "clutter-gtk",
|
48
|
+
:download_site => :gnome,
|
49
|
+
:label => "Clutter-GTK",
|
50
|
+
:version => "1.4.4",
|
51
|
+
:compression_method => "xz",
|
52
|
+
:windows => {
|
53
|
+
:configure_args => [
|
54
|
+
"--enable-introspection",
|
55
|
+
],
|
56
|
+
:patches => [
|
57
|
+
"0001-actor-fix-clutter-win32.h-include-path.patch",
|
58
|
+
]
|
59
|
+
},
|
60
|
+
}
|
61
|
+
]
|
31
62
|
end
|
32
|
-
|
63
|
+
package_task.define
|
64
|
+
|
65
|
+
Rake::Task["native:clutter-gtk:i386-mingw32"].prerequisites.clear
|
33
66
|
|
34
67
|
namespace :dependency do
|
35
68
|
desc "Install depenencies"
|
data/lib/clutter-gtk.rb
CHANGED
@@ -17,10 +17,12 @@
|
|
17
17
|
require "clutter"
|
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
|
+
vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
|
25
|
+
GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
|
24
26
|
|
25
27
|
module ClutterGtk
|
26
28
|
LOG_DOMAIN = "Clutter-Gtk"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clutter-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: clutter
|
@@ -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
|