gst-plugins-base: fix build by disabling testchannels example
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 2 Oct 2011 19:13:57 +0000 (21:13 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 2 Oct 2011 19:13:57 +0000 (21:13 +0200)
Testchannels doesn't build because it forgets to link with libgstinterfaces.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/gst-plugins-base/gst-plugins-base-0.10.35-disable-testchannels-example.patch [new file with mode: 0644]

diff --git a/package/multimedia/gst-plugins-base/gst-plugins-base-0.10.35-disable-testchannels-example.patch b/package/multimedia/gst-plugins-base/gst-plugins-base-0.10.35-disable-testchannels-example.patch
new file mode 100644 (file)
index 0000000..e991c4e
--- /dev/null
@@ -0,0 +1,26 @@
+[PATCH] disable testchannels example
+
+The testchannels example doesn't build because it forgets to link with
+libgstinterfaces. Unfortunately testchannels gets built even though
+--disable-examples is used, so instead disable it in Makefile.in
+(package doesn't autoreconf cleanly, so don't edit Makefile.am)
+
+Problem is fixed upstream in 0.11 branch (940291dd38be66fa).
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ gst-libs/gst/audio/Makefile.in |    1 -
+ 1 file changed, 1 deletion(-)
+
+Index: gst-plugins-base-0.10.35/gst-libs/gst/audio/Makefile.in
+===================================================================
+--- gst-plugins-base-0.10.35.orig/gst-libs/gst/audio/Makefile.in
++++ gst-plugins-base-0.10.35/gst-libs/gst/audio/Makefile.in
+@@ -45,7 +45,6 @@
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-noinst_PROGRAMS = testchannels$(EXEEXT)
+ DIST_COMMON = $(libgstaudio_@GST_MAJORMINOR@include_HEADERS) \
+       $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(top_srcdir)/common/gst-glib-gen.mak TODO