gstreamer 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/Rakefile +31 -5
  2. metadata +7 -7
data/Rakefile CHANGED
@@ -27,6 +27,7 @@ namespace :win32 do
27
27
  license_dir = dist_dir + "share" + "license"
28
28
  tmp_dir = Pathname.new("tmp").expand_path
29
29
  download_dir = tmp_dir + "download"
30
+ patch_dir = (Pathname.new(__FILE__).dirname + "patches").expand_path
30
31
 
31
32
  rcairo_win32_path = ENV["RCAIRO_WIN32_PATH"] || "../../rcairo.win32"
32
33
  rcairo_win32_path = File.expand_path(rcairo_win32_path)
@@ -35,6 +36,8 @@ namespace :win32 do
35
36
 
36
37
  xiph_download_url_base = "http://downloads.xiph.org/releases"
37
38
  freedesktop_download_url_base = "http://gstreamer.freedesktop.org/src"
39
+ sf_net_download_url_base = "http://downloads.sourceforge.net/project"
40
+ libmad_version = "0.15.1b"
38
41
  packages = [
39
42
  {
40
43
  :name => "libogg",
@@ -58,12 +61,23 @@ namespace :win32 do
58
61
  :configure_args => [],
59
62
  },
60
63
  # {
61
- # :name => "flac",
62
- # :download_base_url => "#{xiph_download_url_base}/flac",
63
- # :label => "FLAC",
64
- # :version => "1.2.1",
65
- # :configure_args => ["--disable-cpplibs"],
64
+ # :name => "libmad",
65
+ # :download_base_url => "#{sf_net_download_url_base}/mad/libmad/#{libmad_version}",
66
+ # :label => "MAD",
67
+ # :version => libmad_version,
68
+ # :configure_args => ["CFLAGS=-O3 -march=i686"],
69
+ # :need_autoreconf => true,
70
+ # :patches => ["libmad-0.15.1b-fix-mingw-build.diff"],
66
71
  # },
72
+ {
73
+ :name => "flac",
74
+ :download_base_url => "#{xiph_download_url_base}/flac",
75
+ :label => "FLAC",
76
+ :version => "1.2.1",
77
+ :configure_args => ["--disable-cpplibs"],
78
+ :need_autogen => true,
79
+ :patches => ["flac-1.2.1-fix-mingw-build.diff"],
80
+ },
67
81
  {
68
82
  :name => "speex",
69
83
  :download_base_url => "#{xiph_download_url_base}/speex",
@@ -99,6 +113,13 @@ namespace :win32 do
99
113
  :version => "0.10.22",
100
114
  :configure_args => ["--disable-librfb"],
101
115
  },
116
+ # {
117
+ # :name => "gst-plugins-ugly",
118
+ # :download_base_url => "#{freedesktop_download_url_base}/gst-plugins-ugly",
119
+ # :label => "GStreamer plugins (ugly)",
120
+ # :version => "0.10.18",
121
+ # :configure_args => [],
122
+ # },
102
123
  {
103
124
  :name => "gst-ffmpeg",
104
125
  :download_base_url => "#{freedesktop_download_url_base}/gst-ffmpeg",
@@ -171,6 +192,11 @@ namespace :win32 do
171
192
  end
172
193
 
173
194
  Dir.chdir((package_tmp_dir + base).to_s) do
195
+ (_package[:patches] || []).each do |patch|
196
+ sh("patch -p1 < #{patch_dir}/#{patch}")
197
+ end
198
+ sh("./autogen.sh") if _package[:need_autogen]
199
+ sh("autoreconf -i") if _package[:need_autoreconf]
174
200
  sh("./configure",
175
201
  "CPPFLAGS=-I#{rcairo_win32_include_path} -I#{dist_dir + 'include'}",
176
202
  "LDFLAGS=-L#{rcairo_win32_lib_path} -L#{dist_dir + 'lib'}",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gstreamer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Ruby-GNOME2 Project Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-05 00:00:00 Z
18
+ date: 2012-01-14 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: glib2
@@ -25,12 +25,12 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: 19
28
+ hash: 17
29
29
  segments:
30
30
  - 1
31
31
  - 1
32
- - 0
33
- version: 1.1.0
32
+ - 1
33
+ version: 1.1.1
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  description: Ruby/GStreamer is a Ruby binding for GStreamer.