clutter-gstreamer 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -10
- data/dependency-check/Rakefile +40 -0
- data/test/clutter-gstreamer-test-utils.rb +0 -4
- data/test/run-test.rb +3 -1
- metadata +12 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa365b848659a53a9880fb0607e77e0f03e5091b
|
4
|
+
data.tar.gz: ba8324b037e95b1130f997199aa054b631a3caa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a448a24a3569712b4c6bbd590116f070b5891bf07d37a6e2c41c2e1cc57d6b7a793c26e9b6bf55fc068aa1de116dda1ff3c4195da12c69fd0c52f032eb09622
|
7
|
+
data.tar.gz: 204b0d1859e7d9b526acf58a701241bb6da434fa8b2ea8ef59d3982870fa39e48d413a225e3ae7d50d7f1189d2cb782b8c7119756bdd7a5114e0bb2c0bd80cb9
|
data/Rakefile
CHANGED
@@ -46,7 +46,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
46
46
|
:name => "clutter-gst",
|
47
47
|
:download_site => :gnome,
|
48
48
|
:label => "Clutter-GStreamer",
|
49
|
-
:version => "3.0.
|
49
|
+
:version => "3.0.24",
|
50
50
|
:compression_method => "xz",
|
51
51
|
:windows => {
|
52
52
|
:configure_args => [
|
@@ -62,12 +62,3 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
62
62
|
]
|
63
63
|
end
|
64
64
|
package_task.define
|
65
|
-
|
66
|
-
namespace :dependency do
|
67
|
-
desc "Install depenencies"
|
68
|
-
task :install do
|
69
|
-
# TODO: Install gir1.2-clutter-gst-1.0 on Debian.
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
task :build => "dependency:install"
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Copyright (C) 2017 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 "pkg-config"
|
18
|
+
require "native-package-installer"
|
19
|
+
|
20
|
+
case RUBY_PLATFORM
|
21
|
+
when /mingw|mswin/
|
22
|
+
task :default => "nothing"
|
23
|
+
else
|
24
|
+
task :default => "dependency:check"
|
25
|
+
end
|
26
|
+
|
27
|
+
task :nothing do
|
28
|
+
end
|
29
|
+
|
30
|
+
namespace :dependency do
|
31
|
+
desc "Check dependency"
|
32
|
+
task :check do
|
33
|
+
unless PKGConfig.check_version?("clutter-gst-3.0")
|
34
|
+
unless NativePackageInstaller.install(:debian => "libclutter-gst-3.0-dev",
|
35
|
+
:homebrew => "clutter-gst")
|
36
|
+
exit(false)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
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
|
+
pango_base = File.join(ruby_gnome2_base, "pango")
|
27
28
|
gdk_pixbuf2_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
|
28
29
|
clutter_base = File.join(ruby_gnome2_base, "clutter")
|
29
30
|
gstreamer_base = File.join(ruby_gnome2_base, "gstreamer")
|
@@ -33,6 +34,7 @@ modules = [
|
|
33
34
|
[glib_base, "glib2"],
|
34
35
|
[cairo_gobject_base, "cairo-gobject"],
|
35
36
|
[gobject_introspection_base, "gobject-introspection"],
|
37
|
+
[pango_base, "pango"],
|
36
38
|
[gdk_pixbuf2_base, "gdk_pixbuf2"],
|
37
39
|
[clutter_base, "clutter"],
|
38
40
|
[gstreamer_base, "gstreamer"],
|
@@ -63,7 +65,7 @@ require "clutter-gst"
|
|
63
65
|
repository = GObjectIntrospection::Repository.default
|
64
66
|
begin
|
65
67
|
repository.require(ClutterGst::Loader::NAMESPACE)
|
66
|
-
rescue
|
68
|
+
rescue GObjectIntrospection::RepositoryError
|
67
69
|
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
68
70
|
exit(true)
|
69
71
|
end
|
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.1.
|
4
|
+
version: 3.1.2
|
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: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gdk_pixbuf2
|
@@ -16,49 +16,51 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.1.
|
19
|
+
version: 3.1.2
|
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.1.
|
26
|
+
version: 3.1.2
|
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.1.
|
33
|
+
version: 3.1.2
|
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.1.
|
40
|
+
version: 3.1.2
|
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.1.
|
47
|
+
version: 3.1.2
|
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.1.
|
54
|
+
version: 3.1.2
|
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: []
|
58
|
-
extensions:
|
58
|
+
extensions:
|
59
|
+
- dependency-check/Rakefile
|
59
60
|
extra_rdoc_files: []
|
60
61
|
files:
|
61
62
|
- Rakefile
|
63
|
+
- dependency-check/Rakefile
|
62
64
|
- lib/clutter-gst.rb
|
63
65
|
- lib/clutter-gst/version.rb
|
64
66
|
- lib/clutter-gstreamer.rb
|
@@ -74,7 +76,7 @@ files:
|
|
74
76
|
- test/test-clutter-gst-video-sink.rb
|
75
77
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
76
78
|
licenses:
|
77
|
-
-
|
79
|
+
- LGPL-2.1+
|
78
80
|
metadata: {}
|
79
81
|
post_install_message:
|
80
82
|
rdoc_options: []
|