gstreamer 2.2.5 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32a148e1448aa5d3999d41b74cec5523a7490d59
4
- data.tar.gz: 5a13358d1ebd8900fa9ca182eb12614ee03b048b
3
+ metadata.gz: b499e90c3cc5c02c02a9e6303d0bb7a71b18881f
4
+ data.tar.gz: baa3fc41a3d66066f664ddbf4e05ed6dd29d6dfa
5
5
  SHA512:
6
- metadata.gz: 3d4a4f6ee16b12eec77272acc54cf3ff4e0ee75a91d750aa14324c145ff1e3a7cb79cd354f68223f1a44c85b7e365dd80136fc0d99363691c6e5fbc69f700508
7
- data.tar.gz: dc612a0759967c4bdf5321c9586c3e2d9e3884a2a34a06e6c7dbef276f82dfd908b55e619c5cbd478b15c70ff5b551b63579acbc4ce9a71da364b8d6270c8dd4
6
+ metadata.gz: 7a84a2980fefcf46b24a40b8713743f2186ba8ccf100a511601f03bb75ab72d9eb1e4e355697bab690240598af14ec74b6cff317d9495376d0c040e70ef7dff4
7
+ data.tar.gz: 1afda5ac57db59fb4949b24cf98a9c29785614fa80ce1a6f17abd1451d462ff6e4362c7e3a5ed679091abf60cd25e112d85cef44884cb8902d3dc2a25ada4c6f
data/Rakefile CHANGED
@@ -1,4 +1,20 @@
1
1
  # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2011-2015 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
2
18
 
3
19
  $LOAD_PATH.unshift("./../glib2/lib")
4
20
  require 'gnome2/rake/package-task'
@@ -30,9 +46,9 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
30
46
  },
31
47
  {
32
48
  :name => "sqlite-autoconf",
33
- :download_base_url => "http://www.sqlite.org/2014",
49
+ :download_base_url => "http://www.sqlite.org/2015",
34
50
  :label => "SQLite",
35
- :version => "3080600",
51
+ :version => "3081101",
36
52
  :compression_method => "gz",
37
53
  :windows => {
38
54
  :configure_args => [],
@@ -43,12 +59,13 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
43
59
  :name => "libsoup",
44
60
  :download_site => :gnome,
45
61
  :label => "libsoup",
46
- :version => "2.48.1",
62
+ :version => "2.50.0",
47
63
  :compression_method => "xz",
48
64
  :windows => {
49
65
  :configure_args => [
50
66
  "--enable-introspection",
51
67
  "--without-apache-httpd",
68
+ "--disable-tls-check",
52
69
  ],
53
70
  :build_concurrently => false,
54
71
  :patches => [
@@ -60,7 +77,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
60
77
  :name => "libogg",
61
78
  :download_base_url => "#{xiph_download_url_base}/ogg",
62
79
  :label => "Ogg",
63
- :version => "1.3.1",
80
+ :version => "1.3.2",
64
81
  :windows => {
65
82
  :configure_args => [],
66
83
  :built_file => "bin/libogg-0.dll",
@@ -70,7 +87,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
70
87
  :name => "libvorbis",
71
88
  :download_base_url => "#{xiph_download_url_base}/vorbis",
72
89
  :label => "Vorbis",
73
- :version => "1.3.3",
90
+ :version => "1.3.5",
74
91
  :windows => {
75
92
  :configure_args => [],
76
93
  :built_file => "bin/libvorbis-0.dll",
@@ -107,7 +124,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
107
124
  :name => "flac",
108
125
  :download_base_url => "#{xiph_download_url_base}/flac",
109
126
  :label => "FLAC",
110
- :version => "1.3.0",
127
+ :version => "1.3.1",
111
128
  :compression_method => "xz",
112
129
  :windows => {
113
130
  :configure_args => ["--disable-cpplibs"],
@@ -115,22 +132,23 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
115
132
  },
116
133
  },
117
134
  {
118
- :name => "speex",
119
- :download_base_url => "#{xiph_download_url_base}/speex",
120
- :label => "Speex",
121
- :version => "1.2rc1",
135
+ :name => "opus",
136
+ :download_base_url => "#{xiph_download_url_base}/opus",
137
+ :label => "Opus",
138
+ :version => "1.1",
122
139
  :windows => {
123
140
  :configure_args => [],
124
- :built_file => "bin/libspeex-1.dll",
141
+ :built_file => "bin/libopus-0.dll",
125
142
  },
126
143
  },
127
144
  {
128
145
  :name => "gstreamer",
129
146
  :download_base_url => "#{freedesktop_download_url_base}/gstreamer",
130
147
  :label => "GStreamer",
131
- :version => "1.4.3",
148
+ :version => "1.5.2",
132
149
  :compression_method => "xz",
133
150
  :windows => {
151
+ :cc_args => "-std=gnu99",
134
152
  :configure_args => [
135
153
  "--enable-check",
136
154
  "--enable-introspection",
@@ -143,13 +161,17 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
143
161
  :name => "gst-plugins-base",
144
162
  :download_base_url => "#{freedesktop_download_url_base}/gst-plugins-base",
145
163
  :label => "GStreamer plugins (base)",
146
- :version => "1.4.3",
164
+ :version => "1.5.2",
147
165
  :compression_method => "xz",
148
166
  :windows => {
149
167
  :configure_args => [
150
168
  "--enable-introspection",
151
169
  ],
152
170
  :build_concurrently => false,
171
+ :patches => [
172
+ "gst-plugins-base-1.5.2-use-portable-64bit-data-print-modifier.diff",
173
+ "gst-plugins-base-1.5.2-use-portable-cast.diff",
174
+ ],
153
175
  :built_file => "lib/gstreamer-1.0/libgstgio.dll",
154
176
  },
155
177
  },
@@ -157,7 +179,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
157
179
  :name => "gst-plugins-good",
158
180
  :download_base_url => "#{freedesktop_download_url_base}/gst-plugins-good",
159
181
  :label => "GStreamer plugins (good)",
160
- :version => "1.4.3",
182
+ :version => "1.5.2",
161
183
  :compression_method => "xz",
162
184
  :windows => {
163
185
  :configure_args => [
@@ -170,13 +192,18 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
170
192
  :name => "gst-plugins-bad",
171
193
  :download_base_url => "#{freedesktop_download_url_base}/gst-plugins-bad",
172
194
  :label => "GStreamer plugins (bad)",
173
- :version => "1.4.3",
195
+ :version => "1.5.2",
174
196
  :compression_method => "xz",
175
197
  :windows => {
176
198
  :configure_args => ["--disable-librfb"],
177
199
  :cc_args => [
178
200
  "-std=c99",
179
201
  ],
202
+ :need_autoreconf => true,
203
+ :patches => [
204
+ "gst-plugins-bad-1.5.2-use-only-I.diff",
205
+ "gst-plugins-bad-1.5.2-use-portable-cast.diff",
206
+ ],
180
207
  :built_file => "lib/gstreamer-1.0/libgstmxf.dll",
181
208
  },
182
209
  },
@@ -184,7 +211,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
184
211
  # :name => "gst-plugins-ugly",
185
212
  # :download_base_url => "#{freedesktop_download_url_base}/gst-plugins-ugly",
186
213
  # :label => "GStreamer plugins (ugly)",
187
- # :version => "1.4.3",
214
+ # :version => "1.5.2",
188
215
  # :compression_method => "xz",
189
216
  # :windows => {
190
217
  # :configure_args => [],
@@ -194,7 +221,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
194
221
  :name => "gst-libav",
195
222
  :download_base_url => "#{freedesktop_download_url_base}/gst-libav",
196
223
  :label => "GStreamer libav",
197
- :version => "1.4.3",
224
+ :version => "1.5.2",
198
225
  :compression_method => "xz",
199
226
  :windows => {
200
227
  :configure_args => [
@@ -45,7 +45,7 @@ setup_windows(module_name, base_dir)
45
45
 
46
46
  unless required_pkg_config_package(package_id,
47
47
  :debian => "libgstreamer1.0-dev",
48
- :redhat => "gstreamer-devel",
48
+ :redhat => "gstreamer1-devel",
49
49
  :homebrew => "gstreamer",
50
50
  :macports => "gstreamer")
51
51
  exit(false)
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2013-2015 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -16,5 +16,10 @@
16
16
 
17
17
  module Gst
18
18
  class BaseLoader < GObjectIntrospection::Loader
19
+ NAMESPACE = "GstBase"
20
+
21
+ def load
22
+ super(NAMESPACE)
23
+ end
19
24
  end
20
25
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2013-2015 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -16,5 +16,10 @@
16
16
 
17
17
  module Gst
18
18
  class ControllerLoader < GObjectIntrospection::Loader
19
+ NAMESPACE = "GstController"
20
+
21
+ def load
22
+ super(NAMESPACE)
23
+ end
19
24
  end
20
25
  end
data/lib/gst.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2013-2015 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -61,7 +61,7 @@ module Gst
61
61
  remove_method(:method_missing)
62
62
  end
63
63
  loader = Loader.new(self, argv)
64
- loader.load("Gst")
64
+ loader.load
65
65
  require "gst/bin"
66
66
  require "gst/bus"
67
67
  require "gst/caps"
@@ -78,22 +78,28 @@ module Gst
78
78
  def init_base
79
79
  require "gst/base-loader"
80
80
  base_loader = BaseLoader.new(self)
81
- base_loader.load("GstBase")
81
+ base_loader.load
82
82
  end
83
83
 
84
84
  def init_controller
85
85
  require "gst/controller-loader"
86
86
  controller_loader = ControllerLoader.new(self)
87
- controller_loader.load("GstController")
87
+ controller_loader.load
88
88
  end
89
89
  end
90
90
 
91
91
  class Loader < GObjectIntrospection::Loader
92
+ NAMESPACE = "Gst"
93
+
92
94
  def initialize(base_module, init_arguments)
93
95
  super(base_module)
94
96
  @init_arguments = init_arguments
95
97
  end
96
98
 
99
+ def load
100
+ super(NAMESPACE)
101
+ end
102
+
97
103
  private
98
104
  def pre_load(repository, namespace)
99
105
  call_init_function(repository, namespace)
@@ -131,6 +137,12 @@ module Gst
131
137
  end
132
138
  end
133
139
 
140
+ def initialize_post(object)
141
+ super
142
+ return unless object.is_a?(GLib::Object)
143
+ self.class.reference_gobject(object, :sink => true)
144
+ end
145
+
134
146
  def load_function_info(info)
135
147
  case info.name
136
148
  when "init"
@@ -1,4 +1,4 @@
1
- #!/usr/bin/evn ruby
1
+ #!/usr/bin/env ruby
2
2
  #
3
3
  # This sample code is a port of gstreamer/tools/gst-inspect.c. It is
4
4
  # licensed under the terms of the GNU Library General Public License,
data/test/run-test.rb CHANGED
@@ -46,6 +46,14 @@ require "gstreamer-test-utils"
46
46
 
47
47
  require "gst"
48
48
 
49
+ repository = GObjectIntrospection::Repository.default
50
+ begin
51
+ repository.require(Gst::Loader::NAMESPACE)
52
+ rescue GLib::Error
53
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
54
+ exit(true)
55
+ end
56
+
49
57
  Gst.init
50
58
 
51
59
  exit Test::Unit::AutoRunner.run(true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gstreamer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 3.0.1
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: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.5
19
+ version: 3.0.1
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: 2.2.5
26
+ version: 3.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.5
33
+ version: 3.0.1
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: 2.2.5
40
+ version: 3.0.1
41
41
  description: Ruby/GStreamer is a Ruby binding for GStreamer.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []