gstreamer 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -243
- data/gstreamer.gemspec +0 -1
- data/lib/gst.rb +2 -20
- metadata +5 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddb94ed14b36b3bc53e7c956789fbb12eb24bea1b359237315e54942ce94913b
|
4
|
+
data.tar.gz: cdec1f999f9bdaaea1d02a7b182646024e68853a424d44e50ace4673c412d4f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90312e3672509224bfe8a771742ee9b5477db90c920b2f05e4dff7cdbb668c5dd1c3ac5ab2b3d89bd4f549427c642b56e6082343b6394feb6316e83dbb8f47d1
|
7
|
+
data.tar.gz: 7782a7fe2ac3aff978bc83c7e319924a65525da25eabfdfdc55122b5b5d874ea2f5c598a4d02f1908053582ae2e5e6daa51ef1b0327f9f3a02162225d26e78ea
|
data/Rakefile
CHANGED
@@ -17,252 +17,10 @@
|
|
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
|
20
|
+
require "gnome2/rake/package-task"
|
21
21
|
|
22
22
|
package_name = File.basename(__dir__)
|
23
23
|
spec = Gem::Specification.load("#{package_name}.gemspec")
|
24
24
|
|
25
25
|
GNOME2::Rake::PackageTask.define(spec, __dir__) do |package|
|
26
|
-
package.windows.packages = []
|
27
|
-
package.windows.dependencies = []
|
28
|
-
package.windows.build_dependencies = [
|
29
|
-
"glib2", "atk", "pango", "gdk_pixbuf2", "gtk2", "gobject-introspection",
|
30
|
-
]
|
31
|
-
xiph_download_url_base = "http://downloads.xiph.org/releases"
|
32
|
-
sf_net_download_url_base = "http://downloads.sourceforge.net/project"
|
33
|
-
libmad_version = "0.15.1b"
|
34
|
-
package.external_packages = [
|
35
|
-
{
|
36
|
-
:name => "libjpeg",
|
37
|
-
:base_name => "jpeg-9b",
|
38
|
-
:archive_base_name => "jpegsrc.v9b.tar.gz",
|
39
|
-
:download_base_url => "http://www.ijg.org/files",
|
40
|
-
:label => "libjpeg",
|
41
|
-
:windows => {
|
42
|
-
:configure_args => [],
|
43
|
-
:built_file => "bin/libjpeg-9.dll",
|
44
|
-
},
|
45
|
-
},
|
46
|
-
{
|
47
|
-
:name => "sqlite-autoconf",
|
48
|
-
:download_base_url => "http://www.sqlite.org/2016",
|
49
|
-
:label => "SQLite",
|
50
|
-
:version => "3140100",
|
51
|
-
:compression_method => "gz",
|
52
|
-
:windows => {
|
53
|
-
:configure_args => [],
|
54
|
-
:built_file => "bin/libsqlite3-0.dll",
|
55
|
-
},
|
56
|
-
},
|
57
|
-
{
|
58
|
-
:name => "libsoup",
|
59
|
-
:download_site => :gnome,
|
60
|
-
:label => "libsoup",
|
61
|
-
:version => "2.64.2",
|
62
|
-
:compression_method => "xz",
|
63
|
-
:windows => {
|
64
|
-
:configure_args => [
|
65
|
-
"--enable-introspection",
|
66
|
-
"--without-apache-httpd",
|
67
|
-
"--disable-tls-check",
|
68
|
-
],
|
69
|
-
:build_concurrently => false,
|
70
|
-
:patches => [
|
71
|
-
],
|
72
|
-
:built_file => "bin/libsoup-2.4-1.dll",
|
73
|
-
},
|
74
|
-
},
|
75
|
-
{
|
76
|
-
:name => "libogg",
|
77
|
-
:download_base_url => "#{xiph_download_url_base}/ogg",
|
78
|
-
:label => "Ogg",
|
79
|
-
:version => "1.3.2",
|
80
|
-
:windows => {
|
81
|
-
:configure_args => [],
|
82
|
-
:built_file => "bin/libogg-0.dll",
|
83
|
-
},
|
84
|
-
},
|
85
|
-
{
|
86
|
-
:name => "libvorbis",
|
87
|
-
:download_base_url => "#{xiph_download_url_base}/vorbis",
|
88
|
-
:label => "Vorbis",
|
89
|
-
:version => "1.3.5",
|
90
|
-
:windows => {
|
91
|
-
:configure_args => [],
|
92
|
-
:built_file => "bin/libvorbis-0.dll",
|
93
|
-
},
|
94
|
-
},
|
95
|
-
{
|
96
|
-
:name => "libtheora",
|
97
|
-
:download_base_url => "#{xiph_download_url_base}/theora",
|
98
|
-
:label => "Theora",
|
99
|
-
:version => "1.1.1",
|
100
|
-
:windows => {
|
101
|
-
:configure_args => [
|
102
|
-
"--disable-examples"
|
103
|
-
],
|
104
|
-
:build_concurrently => false,
|
105
|
-
:patches => [
|
106
|
-
"libtheora-1.1.1-use-lf-in-def.diff",
|
107
|
-
],
|
108
|
-
:built_file => "bin/libtheora-0.dll",
|
109
|
-
},
|
110
|
-
},
|
111
|
-
# {
|
112
|
-
# :name => "libmad",
|
113
|
-
# :download_base_url => "#{sf_net_download_url_base}/mad/libmad/#{libmad_version}",
|
114
|
-
# :label => "MAD",
|
115
|
-
# :version => libmad_version,
|
116
|
-
# :windows => {
|
117
|
-
# :configure_args => ["CFLAGS=-O3 -march=i686"],
|
118
|
-
# :need_autoreconf => true,
|
119
|
-
# :patches => ["libmad-0.15.1b-fix-mingw-build.diff"],
|
120
|
-
# },
|
121
|
-
# },
|
122
|
-
{
|
123
|
-
:name => "flac",
|
124
|
-
:download_base_url => "#{xiph_download_url_base}/flac",
|
125
|
-
:label => "FLAC",
|
126
|
-
:version => "1.3.1",
|
127
|
-
:compression_method => "xz",
|
128
|
-
:windows => {
|
129
|
-
:configure_args => ["--disable-cpplibs"],
|
130
|
-
:built_file => "bin/libFLAC-8.dll",
|
131
|
-
},
|
132
|
-
},
|
133
|
-
{
|
134
|
-
:name => "opus",
|
135
|
-
:download_base_url => "#{xiph_download_url_base}/opus",
|
136
|
-
:label => "Opus",
|
137
|
-
:version => "1.1.2",
|
138
|
-
:windows => {
|
139
|
-
:configure_args => [],
|
140
|
-
:built_file => "bin/libopus-0.dll",
|
141
|
-
},
|
142
|
-
},
|
143
|
-
{
|
144
|
-
:name => "gstreamer",
|
145
|
-
:download_site => :freedesktop_gstreamer,
|
146
|
-
:label => "GStreamer",
|
147
|
-
:version => "1.14.4",
|
148
|
-
:compression_method => "xz",
|
149
|
-
:windows => {
|
150
|
-
:cc_args => "-std=gnu99",
|
151
|
-
:configure_args => [
|
152
|
-
"--disable-check",
|
153
|
-
"--enable-introspection",
|
154
|
-
],
|
155
|
-
:build_concurrently => false,
|
156
|
-
:patches => [
|
157
|
-
],
|
158
|
-
:need_autoreconf => true,
|
159
|
-
:gobject_introspection_compiler_split_args => true,
|
160
|
-
:built_file => "bin/libgstreamer-1.0-0.dll",
|
161
|
-
},
|
162
|
-
},
|
163
|
-
{
|
164
|
-
:name => "gst-plugins-base",
|
165
|
-
:download_site => :freedesktop_gstreamer,
|
166
|
-
:label => "GStreamer plugins (base)",
|
167
|
-
:version => "1.14.4",
|
168
|
-
:compression_method => "xz",
|
169
|
-
:windows => {
|
170
|
-
:configure_args => [
|
171
|
-
"--enable-introspection",
|
172
|
-
],
|
173
|
-
:cc_args => [
|
174
|
-
"-std=gnu99",
|
175
|
-
],
|
176
|
-
:build_concurrently => false,
|
177
|
-
:patches => [
|
178
|
-
],
|
179
|
-
:need_autoreconf => true,
|
180
|
-
:gobject_introspection_compiler_split_args => true,
|
181
|
-
:built_file => "lib/gstreamer-1.0/libgstgio.dll",
|
182
|
-
},
|
183
|
-
},
|
184
|
-
{
|
185
|
-
:name => "gst-plugins-good",
|
186
|
-
:download_site => :freedesktop_gstreamer,
|
187
|
-
:label => "GStreamer plugins (good)",
|
188
|
-
:version => "1.14.4",
|
189
|
-
:compression_method => "xz",
|
190
|
-
:windows => {
|
191
|
-
:configure_args => [
|
192
|
-
"--disable-shout2",
|
193
|
-
],
|
194
|
-
:gobject_introspection_compiler_split_args => true,
|
195
|
-
:built_file => "lib/gstreamer-1.0/libgstcairo.dll",
|
196
|
-
},
|
197
|
-
},
|
198
|
-
{
|
199
|
-
:name => "gst-plugins-bad",
|
200
|
-
:download_site => :freedesktop_gstreamer,
|
201
|
-
:label => "GStreamer plugins (bad)",
|
202
|
-
:version => "1.14.4",
|
203
|
-
:compression_method => "xz",
|
204
|
-
:windows => {
|
205
|
-
:configure_args => ["--disable-librfb"],
|
206
|
-
:cc_args => [
|
207
|
-
"-std=gnu99",
|
208
|
-
],
|
209
|
-
:need_autoreconf => true,
|
210
|
-
:gobject_introspection_compiler_split_args => true,
|
211
|
-
:patches => [
|
212
|
-
],
|
213
|
-
:built_file => "lib/gstreamer-1.0/libgstmxf.dll",
|
214
|
-
},
|
215
|
-
},
|
216
|
-
# {
|
217
|
-
# :name => "gst-plugins-ugly",
|
218
|
-
# :download_site => :freedesktop_gstreamer,
|
219
|
-
# :label => "GStreamer plugins (ugly)",
|
220
|
-
# :version => "1.8.0",
|
221
|
-
# :compression_method => "xz",
|
222
|
-
# :windows => {
|
223
|
-
# :configure_args => [],
|
224
|
-
# :gobject_introspection_compiler_split_args => true,
|
225
|
-
# },
|
226
|
-
# },
|
227
|
-
{
|
228
|
-
:name => "gst-libav",
|
229
|
-
:download_site => :freedesktop_gstreamer,
|
230
|
-
:label => "GStreamer libav",
|
231
|
-
:version => "1.14.4",
|
232
|
-
:compression_method => "xz",
|
233
|
-
:windows => {
|
234
|
-
:configure_args => [
|
235
|
-
"--with-libav-extra-configure=" +
|
236
|
-
"--cross-prefix=#{package.windows.build_host}- " +
|
237
|
-
"--target-os=mingw32 " +
|
238
|
-
"--arch=#{package.windows.build_arch} " +
|
239
|
-
"--pkg-config=pkg-config " +
|
240
|
-
"--disable-gpl " +
|
241
|
-
"--disable-yasm",
|
242
|
-
],
|
243
|
-
:gobject_introspection_compiler_split_args => true,
|
244
|
-
:built_file => "lib/gstreamer-1.0/libgstlibav.dll",
|
245
|
-
},
|
246
|
-
:bundled_packages => [
|
247
|
-
{
|
248
|
-
:name => "libav",
|
249
|
-
:path => "gst-libs/ext/libav",
|
250
|
-
:license_files => [
|
251
|
-
"LICENSE.md",
|
252
|
-
"CREDITS",
|
253
|
-
"COPYING.GPLv2",
|
254
|
-
"COPYING.GPLv3",
|
255
|
-
"COPYING.LGPLv2.1",
|
256
|
-
"COPYING.LGPLv3",
|
257
|
-
],
|
258
|
-
}
|
259
|
-
],
|
260
|
-
},
|
261
|
-
]
|
262
|
-
package.cross_compiling do |spec|
|
263
|
-
if /mingw|mswin/ =~ spec.platform.to_s
|
264
|
-
spec.add_runtime_dependency("pango", ">= #{package.version}")
|
265
|
-
spec.add_runtime_dependency("gdk_pixbuf2", ">= #{package.version}")
|
266
|
-
end
|
267
|
-
end
|
268
26
|
end
|
data/gstreamer.gemspec
CHANGED
@@ -42,7 +42,6 @@ Gem::Specification.new do |s|
|
|
42
42
|
s.files += Dir.glob("sample/**/*")
|
43
43
|
s.files += Dir.glob("test/**/*")
|
44
44
|
|
45
|
-
s.add_runtime_dependency("glib2", "= #{s.version}")
|
46
45
|
s.add_runtime_dependency("gobject-introspection", "= #{s.version}")
|
47
46
|
|
48
47
|
s.metadata["msys2_mingw_dependencies"] = "gstreamer"
|
data/lib/gst.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2013-
|
1
|
+
# Copyright (C) 2013-2018 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
|
@@ -18,19 +18,6 @@ require "English"
|
|
18
18
|
|
19
19
|
require "gobject-introspection"
|
20
20
|
|
21
|
-
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
22
|
-
vendor_dir = base_dir + "vendor" + "local"
|
23
|
-
vendor_bin_dir = vendor_dir + "bin"
|
24
|
-
GLib.prepend_dll_path(vendor_bin_dir)
|
25
|
-
vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
|
26
|
-
GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
|
27
|
-
|
28
|
-
if vendor_dir.exist?
|
29
|
-
require "cairo"
|
30
|
-
require "gdk_pixbuf2"
|
31
|
-
require "pango"
|
32
|
-
end
|
33
|
-
|
34
21
|
module Gst
|
35
22
|
LOG_DOMAIN = "GStreamer"
|
36
23
|
GLib::Log.set_log_domain(LOG_DOMAIN)
|
@@ -122,12 +109,7 @@ module Gst
|
|
122
109
|
end
|
123
110
|
|
124
111
|
def require_extension
|
125
|
-
|
126
|
-
major, minor, _ = RUBY_VERSION.split(/\./)
|
127
|
-
require "#{major}.#{minor}/gstreamer.so"
|
128
|
-
rescue LoadError
|
129
|
-
require "gstreamer.so"
|
130
|
-
end
|
112
|
+
require "gstreamer.so"
|
131
113
|
end
|
132
114
|
|
133
115
|
def require_libraries
|
metadata
CHANGED
@@ -1,43 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gstreamer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.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:
|
11
|
+
date: 2019-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: glib2
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 3.3.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.3.0
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: gobject-introspection
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - '='
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.3.
|
19
|
+
version: 3.3.1
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - '='
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.3.
|
26
|
+
version: 3.3.1
|
41
27
|
description: Ruby/GStreamer is a Ruby binding for GStreamer.
|
42
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
43
29
|
executables: []
|
@@ -106,8 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
92
|
- !ruby/object:Gem::Version
|
107
93
|
version: '0'
|
108
94
|
requirements: []
|
109
|
-
|
110
|
-
rubygems_version: 3.0.0.beta1
|
95
|
+
rubygems_version: 3.0.2
|
111
96
|
signing_key:
|
112
97
|
specification_version: 4
|
113
98
|
summary: Ruby/GStreamer is a Ruby binding for GStreamer.
|