clutter-gdk 3.1.0-x64-mingw32

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 +7 -0
  2. data/Rakefile +57 -0
  3. data/lib/clutter-gdk.rb +64 -0
  4. metadata +73 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7721bf739f1806656d52464646c06cfd443d644b
4
+ data.tar.gz: 3005beedff8bb0d7fc2c22e3466705221e9e962f
5
+ SHA512:
6
+ metadata.gz: cc57858830649ab20eca5c616425c68e593beb0ec351b57029c070251466b326d662f4c9b2f68d966d14cfc6d5177ae9337007990e6ca463a021c5a4a0f6b28a
7
+ data.tar.gz: 1f9af717197dcea62d5285a3cebd5eeb90b284c290b27543a402261d1ed54ab01e95260ffce4cd0d1b806a46a4c672fe1166e3c5b80334474aaa9833adb269f2
@@ -0,0 +1,57 @@
1
+ # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2016 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ $LOAD_PATH.unshift("./../glib2/lib")
20
+ require "gnome2/rake/package-task"
21
+
22
+ package_task = GNOME2::Rake::PackageTask.new do |package|
23
+ package.summary =
24
+ "Ruby/ClutterGDK is a Ruby binding of GDK specific API of Clutter."
25
+ package.description =
26
+ "Ruby/ClutterGDK is a Ruby binding of GDK specific API of Clutter."
27
+ package.dependency.gem.runtime = ["clutter", "gdk3"]
28
+ package.windows.packages = []
29
+ package.windows.dependencies = []
30
+ package.windows.build_dependencies = [
31
+ "glib2",
32
+ "atk",
33
+ "pango",
34
+ "gdk_pixbuf2",
35
+ "gobject-introspection",
36
+ "clutter",
37
+ "gdk3",
38
+ ]
39
+ package.windows.gobject_introspection_dependencies = [
40
+ "atk",
41
+ "pango",
42
+ "gdk_pixbuf2",
43
+ "clutter",
44
+ "gdk3",
45
+ ]
46
+ package.external_packages = [
47
+ ]
48
+ end
49
+ package_task.define
50
+
51
+ namespace :dependency do
52
+ desc "Install depenencies"
53
+ task :install do
54
+ end
55
+ end
56
+
57
+ task :build => "dependency:install"
@@ -0,0 +1,64 @@
1
+ # Copyright (C) 2016 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "clutter"
18
+ require "gdk3"
19
+
20
+ module ClutterGdk
21
+ loader = GObjectIntrospection::Loader.new(self)
22
+ loader.load("ClutterGdk")
23
+ end
24
+
25
+ init_clutter = lambda do
26
+ module Clutter
27
+ class Stage
28
+ def gdk_window
29
+ ClutterGdk.get_stage_window(self)
30
+ end
31
+
32
+ def set_foreign_window(window)
33
+ ClutterGdk.set_stage_foreign(self, window)
34
+ end
35
+ alias_method :foreign_window=, :set_foreign_window
36
+ end
37
+ end
38
+ end
39
+
40
+ if Clutter.respond_to?(:init)
41
+ Clutter.on_init do
42
+ init_clutter.call
43
+ end
44
+ else
45
+ init_clutter.call
46
+ end
47
+
48
+ init_gdk = lambda do
49
+ module Gdk
50
+ class Window
51
+ def clutter_stage
52
+ ClutterGdk.get_stage_from_window(self)
53
+ end
54
+ end
55
+ end
56
+ end
57
+
58
+ if Gdk.respond_to?(:init)
59
+ Gdk.on_init do
60
+ init_gdk.call
61
+ end
62
+ else
63
+ init_gdk.call
64
+ end
metadata ADDED
@@ -0,0 +1,73 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: clutter-gdk
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.1.0
5
+ platform: x64-mingw32
6
+ authors:
7
+ - The Ruby-GNOME2 Project Team
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-11-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: clutter
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 3.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 3.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: gdk3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 3.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 3.1.0
41
+ description: Ruby/ClutterGDK is a Ruby binding of GDK specific API of Clutter.
42
+ email: ruby-gnome2-devel-en@lists.sourceforge.net
43
+ executables: []
44
+ extensions: []
45
+ extra_rdoc_files: []
46
+ files:
47
+ - Rakefile
48
+ - lib/clutter-gdk.rb
49
+ homepage: http://ruby-gnome2.sourceforge.jp/
50
+ licenses:
51
+ - LGPLv2.1+
52
+ metadata: {}
53
+ post_install_message:
54
+ rdoc_options: []
55
+ require_paths:
56
+ - lib
57
+ required_ruby_version: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.0
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ requirements: []
68
+ rubyforge_project:
69
+ rubygems_version: 2.5.1
70
+ signing_key:
71
+ specification_version: 4
72
+ summary: Ruby/ClutterGDK is a Ruby binding of GDK specific API of Clutter.
73
+ test_files: []