clutter-gstreamer 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clutter-gst.rb +3 -3
- data/test/run-test.rb +9 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a44ad088376cd917e2dcfb5446e05699d0adff6b
|
4
|
+
data.tar.gz: d7b7676e847e181bf24f0a694f3dd387bdc0a556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db7d2fc4071120b2676a5661adfe48bfaec2965f62ea3a9bc9fb1beabb06ef5f936b639b46f7a0bccaf1b3db511a1852505aa8d4a396de25f868ddf9f46bf50c
|
7
|
+
data.tar.gz: 36f631183960dba2cc16f4016bc460d89fcf6efea3c016d4053d96a31883d49d054c03bd16926941de659e5d523ef13716bbfe0a83a9d2f176a4dee29502f81f
|
data/lib/clutter-gst.rb
CHANGED
@@ -57,12 +57,12 @@ module ClutterGst
|
|
57
57
|
|
58
58
|
self.load_version = nil
|
59
59
|
|
60
|
+
class InitError < StandardError
|
61
|
+
end
|
62
|
+
|
60
63
|
class Loader < GObjectIntrospection::Loader
|
61
64
|
NAMESPACE = "ClutterGst"
|
62
65
|
|
63
|
-
class InitError < StandardError
|
64
|
-
end
|
65
|
-
|
66
66
|
def initialize(base_module, init_arguments)
|
67
67
|
super(base_module)
|
68
68
|
@init_arguments = init_arguments
|
data/test/run-test.rb
CHANGED
@@ -24,6 +24,7 @@ ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
|
|
24
24
|
glib_base = File.join(ruby_gnome2_base, "glib2")
|
25
25
|
cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
|
26
26
|
gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
|
27
|
+
gdk_pixbuf2_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
|
27
28
|
clutter_base = File.join(ruby_gnome2_base, "clutter")
|
28
29
|
gstreamer_base = File.join(ruby_gnome2_base, "gstreamer")
|
29
30
|
clutter_gstreamer_base = File.join(ruby_gnome2_base, "clutter-gstreamer")
|
@@ -32,6 +33,7 @@ modules = [
|
|
32
33
|
[glib_base, "glib2"],
|
33
34
|
[cairo_gobject_base, "cairo-gobject"],
|
34
35
|
[gobject_introspection_base, "gobject-introspection"],
|
36
|
+
[gdk_pixbuf2_base, "gdk_pixbuf2"],
|
35
37
|
[clutter_base, "clutter"],
|
36
38
|
[gstreamer_base, "gstreamer"],
|
37
39
|
[clutter_gstreamer_base, "clutter-gst"],
|
@@ -66,4 +68,11 @@ rescue GLib::Error
|
|
66
68
|
exit(true)
|
67
69
|
end
|
68
70
|
|
71
|
+
begin
|
72
|
+
Clutter.init
|
73
|
+
rescue Clutter::InitError
|
74
|
+
puts("Omit because initialization is failed: #{$!.message}")
|
75
|
+
exit(true)
|
76
|
+
end
|
77
|
+
|
69
78
|
exit Test::Unit::AutoRunner.run(true, File.join(clutter_gstreamer_base, "test"))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clutter-gstreamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.9
|
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: 2016-
|
11
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gdk_pixbuf2
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.
|
19
|
+
version: 3.0.9
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.
|
26
|
+
version: 3.0.9
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: clutter
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0.
|
33
|
+
version: 3.0.9
|
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: 3.0.
|
40
|
+
version: 3.0.9
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: gstreamer
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.0.
|
47
|
+
version: 3.0.9
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.0.
|
54
|
+
version: 3.0.9
|
55
55
|
description: Ruby/ClutterGStreamer is a Ruby binding of Clutter-GStreamer.
|
56
56
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
57
57
|
executables: []
|
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: 1.
|
87
|
+
version: 2.1.0
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - ">="
|