From bd5526f9527f38d152012ce861a091713b095a6b Mon Sep 17 00:00:00 2001
From: frq93147 <frq93147@frq93147-vm3.lme.st.com>
Date: Wed, 3 Apr 2013 18:08:00 +0200
Subject: [PATCH] armhf-cross

---
 gstreamer1.0-1.0.1/debian/control                  |    2 +-
 gstreamer1.0-1.0.1/debian/gir1.2-gstreamer.install |    2 +-
 gstreamer1.0-1.0.1/debian/libgstreamer-dev.install |    1 -
 gstreamer1.0-1.0.1/debian/rules                    |    6 +++---
 4 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/gstreamer1.0-1.0.1/debian/control b/gstreamer1.0-1.0.1/debian/control
index d8d726b..8fb3050 100644
--- a/gstreamer1.0-1.0.1/debian/control
+++ b/gstreamer1.0-1.0.1/debian/control
@@ -131,7 +131,7 @@ Section: utils
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          pkg-config,
-         libgstreamer1.0-0 (>= 0.11.94)
+         libgstreamer1.0-0 (>= 1.0.1)
 Suggests: gstreamer1.0-plugins-base
 Description: Tools for use with GStreamer
  GStreamer is a streaming media framework, based on graphs of filters
diff --git a/gstreamer1.0-1.0.1/debian/gir1.2-gstreamer.install b/gstreamer1.0-1.0.1/debian/gir1.2-gstreamer.install
index 9803e33..8b13789 100644
--- a/gstreamer1.0-1.0.1/debian/gir1.2-gstreamer.install
+++ b/gstreamer1.0-1.0.1/debian/gir1.2-gstreamer.install
@@ -1 +1 @@
-debian/tmp/usr/lib/*/girepository-* usr/lib
+
diff --git a/gstreamer1.0-1.0.1/debian/libgstreamer-dev.install b/gstreamer1.0-1.0.1/debian/libgstreamer-dev.install
index 1f7959f..d6d0b15 100644
--- a/gstreamer1.0-1.0.1/debian/libgstreamer-dev.install
+++ b/gstreamer1.0-1.0.1/debian/libgstreamer-dev.install
@@ -2,7 +2,6 @@ debian/tmp/usr/include
 debian/tmp/usr/lib/*/*.so
 debian/tmp/usr/lib/*/pkgconfig
 debian/tmp/usr/share/aclocal
-debian/tmp/usr/share/gir-*
 debian/tmp/usr/bin/gst-codec-info-@GST_ABI@
 debian/dh_gstscancodecs usr/bin
 debian/tmp/usr/share/man/man1/dh_gstscancodecs.1
diff --git a/gstreamer1.0-1.0.1/debian/rules b/gstreamer1.0-1.0.1/debian/rules
index 4485fb8..5b05949 100755
--- a/gstreamer1.0-1.0.1/debian/rules
+++ b/gstreamer1.0-1.0.1/debian/rules
@@ -207,7 +207,7 @@ indep_conf_flags = \
 # only build the docs if gtk-doc-tools is installed, i.e. binary-indep is
 # called
 ifeq ($(shell test "`dpkg -l gtk-doc-tools | grep ^ii`" && echo binary-indep),binary-indep)
-indep_conf_flags += --enable-gtk-doc --enable-docbook
+indep_conf_flags += 
 endif
 
 DEB_CONFIGURE_EXTRA_FLAGS := $(common_conf_flags) $(indep_conf_flags)
@@ -236,7 +236,7 @@ DEB_SHLIBDEPS_INCLUDE += debian/$(gst_lib)/usr/lib/$(DEB_HOST_MULTIARCH)
 common-binary-fixup-arch::
 	mkdir -p $(CURDIR)/fake-home
 	HOME=$(CURDIR)/fake-home \
-	dh_girepository -pgir1.2-gstreamer-$(gst_abi)
+#	dh_girepository -pgir1.2-gstreamer-$(gst_abi)
 	rm -rf $(CURDIR)/fake-home
 	-rm -f debian/shlibs.local
 	cat debian/*/DEBIAN/shlibs | \
@@ -248,7 +248,7 @@ common-binary-predeb-arch::
 	-rm -f debian/shlibs.local
 
 install/$(gst_lib_dev)::
-	gcc -o debian/tmp/usr/bin/gst-codec-info-1.0 debian/gst-codec-info.c $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) `pkg-config --libs --cflags glib-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0` debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgstreamer-1.0.so -Idebian/tmp/usr/include/gstreamer-1.0
+	$(DEB_HOST_MULTIARCH)-gcc -o debian/tmp/usr/bin/gst-codec-info-1.0 debian/gst-codec-info.c $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) `pkg-config --libs --cflags glib-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0` debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgstreamer-1.0.so -Idebian/tmp/usr/include/gstreamer-1.0
 	perldoc -o man debian/dh_gstscancodecs > debian/tmp/usr/share/man/man1/dh_gstscancodecs.1
 
 .PHONY: maint
-- 
1.7.9.5

