gstreamer 0.90.7 → 0.90.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ChangeLog CHANGED
@@ -1,3 +1,37 @@
1
+ 2011-03-04 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * ext/gstreamer/rbgst-install-plugins.c (return_table): remove
4
+ unused variable.
5
+
6
+ 2011-03-03 Vincent Carmona
7
+
8
+ * ext/gstreamer/rbgst-install-plugins.c: new file.
9
+ * ext/gstreamer/rbgst.c: Init install plugins.
10
+ * test/test_install-plugins.rb: new file.
11
+
12
+ 2011-02-25 Kouhei Sutou <kou@cozmixng.org>
13
+
14
+ * ext/gstreamer/rbgst-object.c: don't use rbgprivate.h. [#3188442]
15
+ Reported by Mamoru Tasaka. Thanks!!!
16
+
17
+ * test/run-test.rb: fix load-path.
18
+
19
+ * ext/gstreamer/rbgstformat.c (rb_gst_format_is_equal): suppress
20
+ warnings.
21
+
22
+ * ext/gstreamer/rbgstquerytype.c (rb_gst_querytype_is_equal):
23
+ suppress warnings.
24
+
25
+ 2011-02-17 Kouhei Sutou <kou@cozmixng.org>
26
+
27
+ * ext/gstreamer/rbgst-message.c: use coreresponding message class.
28
+ Patch by Vincent Carmona. Thanks!!!
29
+
30
+ 2011-02-12 Kouhei Sutou <kou@cozmixng.org>
31
+
32
+ * ext/gstreamer/depend: fix .pc path. #3178294
33
+ Reported by OBATA Akio. Thanks!!!
34
+
1
35
  2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
36
 
3
37
  * Rakefile: doesn't support gem for Windows.
data/ext/gstreamer/depend CHANGED
@@ -1,5 +1,5 @@
1
1
  install:
2
2
  if test -n "$(pkgconfigdir)"; then \
3
3
  $(MAKEDIRS) $(pkgconfigdir); \
4
- $(INSTALL_DATA) ../ruby-gstreamer.pc $(pkgconfigdir); \
4
+ $(INSTALL_DATA) ruby-gstreamer.pc $(pkgconfigdir); \
5
5
  fi
@@ -0,0 +1,192 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ *
5
+ * This file is part of Ruby/GStreamer.
6
+ *
7
+ * Ruby/GStreamer is free software; you can redistribute it and/or
8
+ * modify it under the terms of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation; either
10
+ * version 2.1 of the License, or (at your option) any later version.
11
+ *
12
+ * Ruby/GStreamer is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public
18
+ * License along with Ruby/GStreamer; if not, write to the Free Software
19
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
+ */
21
+
22
+ #ifdef HAVE_GST_PBUTILS
23
+ #include "rbgst.h"
24
+ #include "rbgst-private.h"
25
+ #include <gst/pbutils/pbutils-enumtypes.h>
26
+ #include <gst/pbutils/install-plugins.h>
27
+
28
+ static RGConvertTable context_table = {0};
29
+ static VALUE mGstInstallPlugins;
30
+ static VALUE rb_cGstInstallPluginsReturn;
31
+ static VALUE rb_cGstInstallPluginsContext;
32
+
33
+ static VALUE
34
+ return_get_name(VALUE self)
35
+ {
36
+ return CSTR2RVAL(gst_install_plugins_return_get_name(
37
+ (GstInstallPluginsReturn)
38
+ RVAL2GENUM(self, GST_TYPE_INSTALL_PLUGINS_RETURN)));
39
+ }
40
+
41
+ static void
42
+ gst_install_plugins_result_func(GstInstallPluginsReturn result, VALUE data)
43
+ {
44
+ rb_funcall(data, rb_intern("call"), 1,
45
+ GENUM2RVAL(result, GST_TYPE_INSTALL_PLUGINS_RETURN));
46
+ G_CHILD_REMOVE(mGstInstallPlugins, data);
47
+ }
48
+
49
+ static VALUE
50
+ supported(VALUE self)
51
+ {
52
+ return CBOOL2RVAL(gst_install_plugins_supported());
53
+ }
54
+
55
+ static VALUE
56
+ progress(VALUE self)
57
+ {
58
+ return CBOOL2RVAL(gst_install_plugins_installation_in_progress());
59
+ }
60
+
61
+ static VALUE
62
+ async(int argc, VALUE *argv, VALUE self)
63
+ {
64
+ VALUE details, rcontext, block;
65
+ int length, i;
66
+ char **carray;
67
+ VALUE *str;
68
+ GstInstallPluginsContext *context;
69
+ GstInstallPluginsReturn result;
70
+
71
+ rb_scan_args(argc, argv, "11", &details, &rcontext);
72
+
73
+ /*Define a macro in rbgtuil.h for this. RARRAY2CSTRARRAY(VALUE, ??)*/
74
+ length = RARRAY_LEN(details);
75
+ str = RARRAY_PTR(details);
76
+ carray= ALLOCA_N (char *, length+1);
77
+ for (i = 0; i<length; i++) {
78
+ carray[i] = RVAL2CSTR(str[i]);
79
+ }
80
+ carray[length] = NULL;
81
+
82
+ if (!NIL_P(rcontext)) {
83
+ if (!RVAL2CBOOL(rb_obj_is_kind_of(rcontext, rb_cGstInstallPluginsContext)))
84
+ rb_raise(rb_eTypeError,
85
+ "2nd parameter is not Gst::InstallPluginsContext");
86
+ context = (GstInstallPluginsContext *)RVAL2GOBJ(rcontext);
87
+ }
88
+ else {
89
+ context = NULL;
90
+ }
91
+
92
+ block = rb_block_proc();
93
+ G_CHILD_ADD(self, block);
94
+
95
+ result = gst_install_plugins_async(carray, context,
96
+ (GstInstallPluginsResultFunc)gst_install_plugins_result_func,
97
+ (gpointer)block);
98
+ return GENUM2RVAL(result, GST_TYPE_INSTALL_PLUGINS_RETURN);
99
+ }
100
+
101
+ static VALUE
102
+ sync(int argc, VALUE *argv, VALUE self)
103
+ {
104
+ VALUE details, context;
105
+ int length, i;
106
+ char **carray;
107
+ VALUE *str;
108
+ GstInstallPluginsReturn result;
109
+
110
+ rb_scan_args(argc, argv, "11", &details, &context);
111
+
112
+ length = RARRAY_LEN(details);
113
+ str = RARRAY_PTR(details);
114
+ carray= ALLOCA_N (char *, length+1);
115
+ for (i = 0; i<length; i++) {
116
+ carray[i] = RVAL2CSTR(str[i]);
117
+ }
118
+ carray[length] = NULL;
119
+
120
+ result = gst_install_plugins_sync(carray, NULL);
121
+ return GENUM2RVAL(result, GST_TYPE_INSTALL_PLUGINS_RETURN);
122
+ }
123
+
124
+ static VALUE
125
+ context2robj(gpointer context)
126
+ {
127
+ return Data_Wrap_Struct(rb_cGstInstallPluginsContext, NULL,
128
+ gst_install_plugins_context_free,
129
+ (GstInstallPluginsContext *)context);
130
+ }
131
+
132
+ static gpointer
133
+ robj2context(VALUE object)
134
+ {
135
+ gpointer instance;
136
+
137
+ if (!RVAL2CBOOL(rb_obj_is_kind_of(object, rb_cGstInstallPluginsContext))) {
138
+ rb_raise(rb_eTypeError, "not a Gst::InstallPluginsContext");
139
+ }
140
+ Data_Get_Struct(object, GstInstallPluginsContext, instance);
141
+ return instance;
142
+ }
143
+
144
+ static VALUE
145
+ context_initialize(VALUE self)
146
+ {
147
+ GstInstallPluginsContext *context;
148
+
149
+ context = gst_install_plugins_context_new();
150
+ G_INITIALIZE(self, context);
151
+ return Qnil;
152
+ }
153
+
154
+ static VALUE
155
+ context_set_xid(VALUE self, VALUE xid)
156
+ {
157
+ GstInstallPluginsContext *context;
158
+
159
+ context = (GstInstallPluginsContext *)RVAL2GOBJ(self);
160
+ gst_install_plugins_context_set_xid(context, NUM2INT(xid));/*FIXME: segfault on ruby exit*/
161
+ return self;
162
+ }
163
+
164
+ void
165
+ Init_gst_install_plugins(void)
166
+ {
167
+ mGstInstallPlugins = rb_define_module_under(mGst, "InstallPlugins");
168
+ rb_iv_set(mGstInstallPlugins, "async_blocks", rb_ary_new());
169
+
170
+ rb_cGstInstallPluginsReturn = G_DEF_CLASS(GST_TYPE_INSTALL_PLUGINS_RETURN,
171
+ "InstallPluginsReturn", mGst);
172
+ rb_define_method(rb_cGstInstallPluginsReturn, "name", return_get_name,
173
+ 0);
174
+
175
+ rb_define_singleton_method(mGstInstallPlugins, "supported?", supported, 0);
176
+ rb_define_singleton_method(mGstInstallPlugins, "progress?", progress, 0);
177
+ rb_define_singleton_method(mGstInstallPlugins, "async", async, -1);
178
+ rb_define_singleton_method(mGstInstallPlugins, "sync", sync, -1);
179
+
180
+ context_table.type = GST_TYPE_INSTALL_PLUGINS_CONTEXT;
181
+ context_table.instance2robj = context2robj;
182
+ context_table.robj2instance = robj2context;
183
+ RG_DEF_CONVERSION(&context_table);
184
+ rb_cGstInstallPluginsContext = G_DEF_CLASS(GST_TYPE_INSTALL_PLUGINS_CONTEXT,
185
+ "InstallPluginsContext", mGst);
186
+ rb_define_method(rb_cGstInstallPluginsContext, "initialize",
187
+ context_initialize, 0);
188
+ rb_define_method(rb_cGstInstallPluginsContext, "set_xid",
189
+ context_set_xid, 1);
190
+ G_DEF_SETTERS(rb_cGstInstallPluginsContext);
191
+ }
192
+ #endif /* HAVE_GST_PBUTILS */
@@ -127,7 +127,11 @@ instance2robj(gpointer instance)
127
127
  klass = rb_cGstMessageApplication;
128
128
  break;
129
129
  case GST_MESSAGE_ELEMENT:
130
- klass = rb_cGstMessageElement;
130
+ if (gst_is_missing_plugin_message(message)) {
131
+ klass = rb_cGstMissingMessage;
132
+ } else {
133
+ klass = rb_cGstMessageElement;
134
+ }
131
135
  break;
132
136
  case GST_MESSAGE_SEGMENT_START:
133
137
  klass = rb_cGstMessageSegmentStart;
@@ -21,7 +21,6 @@
21
21
  */
22
22
 
23
23
  #include "rbgst.h"
24
- #include "rbgprivate.h"
25
24
 
26
25
  #define SELF(self) (RVAL2GST_OBJ(self))
27
26
 
@@ -80,6 +80,10 @@ Init_gst_classes (void)
80
80
  extern void Init_gst_mediatype (void);
81
81
  #endif
82
82
 
83
+ #ifdef HAVE_GST_PBUTILS
84
+ extern void Init_gst_install_plugins (void);
85
+ #endif
86
+
83
87
  Init_gst_bin ();
84
88
  Init_gst_bus();
85
89
  Init_gst_caps ();
@@ -126,6 +130,10 @@ Init_gst_classes (void)
126
130
  #ifdef HAVE_MEDIA_INFO
127
131
  Init_gst_mediatype ();
128
132
  #endif
133
+
134
+ #ifdef HAVE_GST_PBUTILS
135
+ Init_gst_install_plugins ();
136
+ #endif
129
137
  }
130
138
 
131
139
  /*
@@ -127,7 +127,7 @@ static VALUE
127
127
  rb_gst_format_is_equal (VALUE self, VALUE other_format)
128
128
  {
129
129
  GstFormat *f1, *f2;
130
- gchar *n1, *n2;
130
+ const gchar *n1, *n2;
131
131
 
132
132
  if (NIL_P (other_format))
133
133
  return Qfalse;
@@ -127,7 +127,7 @@ static VALUE
127
127
  rb_gst_querytype_is_equal (VALUE self, VALUE other_query)
128
128
  {
129
129
  GstQueryType *q1, *q2;
130
- gchar *n1, *n2;
130
+ const gchar *n1, *n2;
131
131
 
132
132
  if (NIL_P (other_query))
133
133
  return Qfalse;
data/test/run-test.rb CHANGED
@@ -15,8 +15,8 @@ require 'glib-test-init'
15
15
  $LOAD_PATH.unshift(File.join(glib_dir, "ext", "glib2"))
16
16
  $LOAD_PATH.unshift(File.join(glib_dir, "lib"))
17
17
 
18
- $LOAD_PATH.unshift(File.join(base_dir, "src"))
19
- $LOAD_PATH.unshift(File.join(base_dir, "src", "lib"))
18
+ $LOAD_PATH.unshift(File.join(base_dir, "ext", "gstreamer"))
19
+ $LOAD_PATH.unshift(File.join(base_dir, "lib"))
20
20
  require "gst"
21
21
 
22
22
  $LOAD_PATH.unshift(File.join(base_dir, "test"))
@@ -0,0 +1,18 @@
1
+ class TestInstallPlugins < Test::Unit::TestCase
2
+ def test_create_return
3
+ assert_nothing_raised do
4
+ Gst::InstallPluginsReturn.new(Gst::InstallPluginsReturn::SUCCESS)
5
+ end
6
+ end
7
+
8
+ def test_return_name
9
+ ret = Gst::InstallPluginsReturn.new(Gst::InstallPluginsReturn::SUCCESS)
10
+ assert_equal("success", ret.name)
11
+ end
12
+
13
+ def test_create_context
14
+ assert_nothing_raised do
15
+ Gst::InstallPluginsContext.new
16
+ end
17
+ end
18
+ end
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: 377
4
+ hash: 359
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
- - 7
10
- version: 0.90.7
9
+ - 8
10
+ version: 0.90.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-02 00:00:00 +09:00
18
+ date: 2011-03-04 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 377
29
+ hash: 359
30
30
  segments:
31
31
  - 0
32
32
  - 90
33
- - 7
34
- version: 0.90.7
33
+ - 8
34
+ version: 0.90.8
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: Ruby/GStreamer is a Ruby binding for GStreamer.
@@ -49,7 +49,6 @@ files:
49
49
  - extconf.rb
50
50
  - lib/gst.rb
51
51
  - ext/gstreamer/rbgstxml.c
52
- - ext/gstreamer/ruby-gstreamer.pc
53
52
  - ext/gstreamer/rbgsttagsetter.c
54
53
  - ext/gstreamer/rbgstindex.c
55
54
  - ext/gstreamer/rbgst-message.c
@@ -65,13 +64,13 @@ files:
65
64
  - ext/gstreamer/rbgst.h
66
65
  - ext/gstreamer/rbgst.c
67
66
  - ext/gstreamer/rbgstregistry.c
68
- - ext/gstreamer/Makefile
69
67
  - ext/gstreamer/rbgstparse.c
70
68
  - ext/gstreamer/rbgst-static-pad-template.c
71
69
  - ext/gstreamer/rbgst-structure.c
72
70
  - ext/gstreamer/rbgst-system-clock.c
73
71
  - ext/gstreamer/rbgst-type-find-factory.c
74
72
  - ext/gstreamer/extconf.rb
73
+ - ext/gstreamer/rbgst-install-plugins.c
75
74
  - ext/gstreamer/rbgst-plugin.c
76
75
  - ext/gstreamer/rbgst-static-caps.c
77
76
  - ext/gstreamer/rbgst-bus.c
@@ -111,6 +110,7 @@ files:
111
110
  - test/test_object.rb
112
111
  - test/test_pad.rb
113
112
  - test/test_element_factory.rb
113
+ - test/test_install-plugins.rb
114
114
  - test/gst-test-utils.rb
115
115
  - test/test_plugin.rb
116
116
  - test/test_index_factory.rb
@@ -1,162 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = /home/kou/work/ruby/ruby-gnome2/gstreamer/ext/gstreamer
7
- topdir = /usr/lib/ruby/1.8/x86_64-linux
8
- hdrdir = $(topdir)
9
- VPATH = $(srcdir):$(topdir):$(hdrdir)
10
- exec_prefix = $(prefix)
11
- prefix = $(DESTDIR)/usr
12
- sharedstatedir = $(prefix)/com
13
- mandir = $(prefix)/share/man
14
- psdir = $(docdir)
15
- oldincludedir = $(DESTDIR)/usr/include
16
- localedir = $(datarootdir)/locale
17
- bindir = $(exec_prefix)/bin
18
- libexecdir = $(prefix)/lib/ruby1.8
19
- sitedir = $(DESTDIR)/usr/local/lib/site_ruby
20
- htmldir = $(docdir)
21
- vendorarchdir = $(vendorlibdir)/$(sitearch)
22
- includedir = $(prefix)/include
23
- infodir = $(prefix)/share/info
24
- vendorlibdir = $(vendordir)/$(ruby_version)
25
- sysconfdir = $(DESTDIR)/etc
26
- libdir = $(exec_prefix)/lib
27
- sbindir = $(exec_prefix)/sbin
28
- rubylibdir = $(libdir)/ruby/$(ruby_version)
29
- docdir = $(datarootdir)/doc/$(PACKAGE)
30
- dvidir = $(docdir)
31
- vendordir = $(libdir)/ruby/vendor_ruby
32
- datarootdir = $(prefix)/share
33
- pdfdir = $(docdir)
34
- archdir = $(rubylibdir)/$(arch)
35
- sitearchdir = $(sitelibdir)/$(sitearch)
36
- datadir = $(datarootdir)
37
- localstatedir = $(DESTDIR)/var
38
- sitelibdir = $(sitedir)/$(ruby_version)
39
-
40
- CC = gcc
41
- LIBRUBY = $(LIBRUBY_SO)
42
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
43
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
44
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
45
-
46
- RUBY_EXTCONF_H =
47
- CFLAGS = -fPIC -fno-strict-aliasing -g -g -O2 -fPIC $(cflags) -Wall -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -DHAVE_GST_OVERLAY -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -DHAVE_GST_PBUTILS
48
- INCFLAGS = -I. -I/home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2 -I/home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2 -I/home/kou/work/ruby/ruby-gnome2/glib2/ext/glib2 -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/ruby-gnome2/gstreamer/ext/gstreamer
49
- DEFS =
50
- CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_UNISTD_H -DHAVE_GST_INTERFACES_XOVERLAY_H -DRUBY_GST_COMPILATION
51
- CXXFLAGS = $(CFLAGS)
52
- ldflags = -L. -rdynamic -Wl,-export-dynamic -pthread -pthread -pthread
53
- dldflags =
54
- archflag =
55
- DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
56
- LDSHARED = $(CC) -shared
57
- AR = ar
58
- EXEEXT =
59
-
60
- RUBY_INSTALL_NAME = ruby1.8
61
- RUBY_SO_NAME = ruby1.8
62
- arch = x86_64-linux
63
- sitearch = x86_64-linux
64
- ruby_version = 1.8
65
- ruby = /usr/bin/ruby1.8
66
- RUBY = $(ruby)
67
- RM = rm -f
68
- MAKEDIRS = mkdir -p
69
- INSTALL = /usr/bin/install -c
70
- INSTALL_PROG = $(INSTALL) -m 0755
71
- INSTALL_DATA = $(INSTALL) -m 644
72
- COPY = cp
73
-
74
- #### End of system configuration section. ####
75
-
76
- preload =
77
-
78
- libpath = . $(libdir)
79
- LIBPATH = -L. -L$(libdir)
80
- DEFFILE =
81
-
82
- CLEANFILES = mkmf.log
83
- DISTCLEANFILES =
84
-
85
- extout =
86
- extout_prefix =
87
- target_prefix =
88
- LOCAL_LIBS =
89
- LIBS = $(LIBRUBYARG_SHARED) -lgstinterfaces-0.10 -lgstreamer-0.10 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lxml2 -lgstreamer-0.10 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lxml2 -lgstpbutils-0.10 -lgstreamer-0.10 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lgmodule-2.0 -lxml2 -lpthread -lrt -ldl -lcrypt -lm -lc
90
- SRCS = rbgstxml.c rbgsttagsetter.c rbgstindex.c rbgst-message.c rbgst-clock.c rbgst-pad.c rbgstquerytype.c rbgstformat.c rbgst-seek.c rbgst-index-factory.c misc.c rbgst-event.c rbgst-pad-template.c rbgst.c rbgstregistry.c rbgstparse.c rbgst-static-pad-template.c rbgst-structure.c rbgst-system-clock.c rbgst-type-find-factory.c rbgst-plugin.c rbgst-static-caps.c rbgst-bus.c rbgst-mini-object.c rbgst-object.c rbgst-private.c rbgst-element-factory.c rbgstclockentry.c rbgst-bin.c rbgst-ghost-pad.c rbgstindexentry.c rbgst-plugin-feature.c rbgst-pipeline.c rbgst-child-proxy.c rbgsttag.c rbgst-buffer.c rbgst-query.c rbgst-x-overlay.c rbgst-caps.c rbgst-element.c rbgst-value.c
91
- OBJS = rbgstxml.o rbgsttagsetter.o rbgstindex.o rbgst-message.o rbgst-clock.o rbgst-pad.o rbgstquerytype.o rbgstformat.o rbgst-seek.o rbgst-index-factory.o misc.o rbgst-event.o rbgst-pad-template.o rbgst.o rbgstregistry.o rbgstparse.o rbgst-static-pad-template.o rbgst-structure.o rbgst-system-clock.o rbgst-type-find-factory.o rbgst-plugin.o rbgst-static-caps.o rbgst-bus.o rbgst-mini-object.o rbgst-object.o rbgst-private.o rbgst-element-factory.o rbgstclockentry.o rbgst-bin.o rbgst-ghost-pad.o rbgstindexentry.o rbgst-plugin-feature.o rbgst-pipeline.o rbgst-child-proxy.o rbgsttag.o rbgst-buffer.o rbgst-query.o rbgst-x-overlay.o rbgst-caps.o rbgst-element.o rbgst-value.o
92
- TARGET = gst
93
- DLLIB = $(TARGET).so
94
- EXTSTATIC =
95
- STATIC_LIB =
96
-
97
- BINDIR = $(bindir)
98
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
99
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
100
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
101
-
102
- TARGET_SO = $(DLLIB)
103
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
104
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
105
-
106
- all: $(DLLIB)
107
- static: $(STATIC_LIB)
108
-
109
- clean:
110
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
111
-
112
- distclean: clean
113
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
114
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
115
-
116
- realclean: distclean
117
- install: install-so install-rb
118
-
119
- install-so: $(RUBYARCHDIR)
120
- install-so: $(RUBYARCHDIR)/$(DLLIB)
121
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
122
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
123
- install-rb: pre-install-rb install-rb-default
124
- install-rb-default: pre-install-rb-default
125
- pre-install-rb: Makefile
126
- pre-install-rb-default: Makefile
127
- $(RUBYARCHDIR):
128
- $(MAKEDIRS) $@
129
-
130
- site-install: site-install-so site-install-rb
131
- site-install-so: install-so
132
- site-install-rb: install-rb
133
-
134
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
135
-
136
- .cc.o:
137
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
138
-
139
- .cxx.o:
140
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
141
-
142
- .cpp.o:
143
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
144
-
145
- .C.o:
146
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
147
-
148
- .c.o:
149
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
150
-
151
- $(DLLIB): $(OBJS) Makefile
152
- @-$(RM) $@
153
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
154
-
155
-
156
-
157
- ###
158
- install:
159
- if test -n "$(pkgconfigdir)"; then \
160
- $(MAKEDIRS) $(pkgconfigdir); \
161
- $(INSTALL_DATA) ../ruby-gstreamer.pc $(pkgconfigdir); \
162
- fi
@@ -1,3 +0,0 @@
1
- Name: Ruby/GStreamer
2
- Description: Ruby bindings for Streaming media framework
3
- Version: 0.90.6