Set source package name to imx-gst-plugins-base, remove Debian reference

Change-Id: I8a4e9150dafbfad68310e784d120188a7af7e0f5
diff --git a/debian/build-deps.in b/debian/build-deps.in
deleted file mode 100644
index 2f2b7f6..0000000
--- a/debian/build-deps.in
+++ /dev/null
@@ -1,33 +0,0 @@
-@GST_LIB_DEV_DEP@
-@GST_EXTRA_BUILD_DEPENDS@
-autotools-dev
-automake (>= 1.14)
-autoconf (>= 2.69)
-libtool (>= 2.2.6)
-dh-autoreconf
-autopoint (>= 0.17)
-cdbs (>= 0.4.93~)
-debhelper (>= 9)
-gnome-pkg-tools (>= 0.7)
-gtk-doc-tools (>= 1.12)
-pkg-config (>= 0.11.0)
-libxv-dev (>= 6.8.2.dfsg.1-3)
-libxt-dev (>= 6.8.2.dfsg.1-3)
-libvorbis-dev (>= 1.0.0-2)
-libcdparanoia-dev (>= 3.10.2) [!hurd-i386]
-liborc-0.4-dev (>= 1:0.4.24)
-libpango1.0-dev (>= 1.16.0)
-libtheora-dev (>= 1.1)
-libglib2.0-dev (>= 2.40)
-zlib1g-dev (>= 1:1.1.4)
-libvisual-0.4-dev (>= 0.4.0)
-dpkg-dev (>= 1.15.1)
-iso-codes
-libglib2.0-doc
-libgirepository1.0-dev (>= 0.9.12-4~)
-gobject-introspection (>= 0.9.12-4~)
-gir1.2-glib-2.0
-gir1.2-freedesktop
-gir1.2-gstreamer-@GST_ABI@
-zlib1g-dev
-libopus-dev (>= 0.9.4)
diff --git a/debian/changelog b/debian/changelog
index 33a4562..b40e3f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-gst-plugins-base1.0 (1.12.2+imx-0) unstable; urgency=medium
+imx-gst-plugins-base (1.12.2+imx-0) unstable; urgency=medium
 
   * Initial release
 
diff --git a/debian/control b/debian/control
index ada2ce8..3bc4890 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: gst-plugins-base1.0
+Source: imx-gst-plugins-base
 Section: libs
 Priority: optional
 Maintainer: AIY Projects <support-aiyprojects@google.com>
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644
index 811da7d..0000000
--- a/debian/control.in
+++ /dev/null
@@ -1,197 +0,0 @@
-Source: gst-plugins-base@GST_ABI@
-Section: libs
-Priority: optional
-Maintainer: AIY Projects <support-aiyprojects@google.com>
-Build-Depends: libgstreamer1.0-dev (>= 1.12.0), libasound2-dev (>= 0.9.0) [linux-any] , libgudev-1.0-dev (>= 143) [linux-any], autotools-dev, automake (>= 1.14), autoconf (>= 2.69), libtool (>= 2.2.6), dh-autoreconf, autopoint (>= 0.17), cdbs (>= 0.4.93~), debhelper (>= 10), gnome-pkg-tools (>= 0.7), gtk-doc-tools (>= 1.12), pkg-config (>= 0.11.0), libxv-dev (>= 6.8.2.dfsg.1-3), libxt-dev (>= 6.8.2.dfsg.1-3), libvorbis-dev (>= 1.0.0-2), libcdparanoia-dev (>= 3.10.2) [!hurd-i386], liborc-0.4-dev (>= 1:0.4.24), libpango1.0-dev (>= 1.16.0), libtheora-dev (>= 1.1), libglib2.0-dev (>= 2.40), zlib1g-dev (>= 1:1.1.4), libvisual-0.4-dev (>= 0.4.0), dpkg-dev (>= 1.15.1), iso-codes, libglib2.0-doc, libgirepository1.0-dev (>= 0.9.12-4~), gobject-introspection (>= 0.9.12-4~), gir1.2-glib-2.0, gir1.2-freedesktop, gir1.2-gstreamer-1.0, zlib1g-dev, libopus-dev (>= 0.9.4)
-Standards-Version: 3.9.3
-Homepage: http://gstreamer.freedesktop.org/modules/gst-plugins-base.html
-
-Package: @GST_PKGNAME@-plugins-base-apps
-Architecture: any
-Section: utils
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${perl:Depends},
-         @GST_PKGNAME@-tools
-Description: GStreamer helper programs from the "base" set
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- This package contains helper programs from the "base" set, an essential
- exemplary set of elements.
-
-Package: @GST_PLUGINS_BASE_LIB@
-Architecture: any
-Multi-Arch: same
-Section: libs
-Pre-Depends: ${misc:Pre-Depends}
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         iso-codes
-Breaks: totem-gstreamer (<= 2.17.92-0ubuntu1),
-        gstreamer1.0-plugins-bad (<< 1.7.1)
-Recommends: @GST_PKGNAME@-plugins-base
-Suggests: libvisual-0.4-plugins
-Description: GStreamer libraries from the "base" set
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- This package contains libraries from the "base" set, an essential
- exemplary set of elements.
-
-Package: @GST_PLUGINS_BASE_LIB_DEV@
-Architecture: any
-Section: libdevel
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         @GST_PLUGINS_BASE_LIB@ (= ${binary:Version}),
-         libc6-dev | libc-dev,
-         pkg-config,
-         @GST_LIB_DEV_DEP@,
-         libglib2.0-dev,
-         libxml2-dev,
-         gir1.2-gst-plugins-base-@GST_ABI@ (= ${binary:Version})
-Description: GStreamer development files for libraries from the "base" set
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- This package contains development files for GStreamer libraries from
- the "base" set, an essential exemplary set of elements.
-
-Package: @GST_PKGNAME@-alsa
-Architecture: linux-any
-Multi-Arch: same
-Section: libs
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         @GST_PLUGINS_BASE_LIB@ (>= @GST_VERSION@)
-Suggests: alsa-utils (>= 0.9.0)
-XB-GStreamer-Version: ${gstreamer:Version}
-XB-GStreamer-Elements: ${gstreamer:Elements}
-XB-GStreamer-URI-Sources: ${gstreamer:URISources}
-XB-GStreamer-URI-Sinks: ${gstreamer:URISinks}
-XB-GStreamer-Encoders: ${gstreamer:Encoders}
-XB-GStreamer-Decoders: ${gstreamer:Decoders}
-Provides: ${gstreamer:Provides}
-Description: GStreamer plugin for ALSA
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- This package contains the GStreamer plugin for the ALSA library.  ALSA
- is the Advanced Linux Sound Architecture.
-
-Package: @GST_PKGNAME@-plugins-base
-Architecture: any
-Multi-Arch: same
-Section: libs
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         @GST_PLUGINS_BASE_LIB@ (>= @GST_VERSION@)
-Breaks: gstreamer1.0-plugins-bad (<< 1.11.90)
-Replaces: gstreamer1.0-plugins-bad (<< 1.11.90)
-Suggests: gvfs
-XB-GStreamer-Version: ${gstreamer:Version}
-XB-GStreamer-Elements: ${gstreamer:Elements}
-XB-GStreamer-URI-Sources: ${gstreamer:URISources}
-XB-GStreamer-URI-Sinks: ${gstreamer:URISinks}
-XB-GStreamer-Encoders: ${gstreamer:Encoders}
-XB-GStreamer-Decoders: ${gstreamer:Decoders}
-Provides: ${gstreamer:Provides}
-Description: GStreamer plugins from the "base" set
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- This package contains the GStreamer plugins from the "base" set, an
- essential exemplary set of elements.
-
-Package: @GST_PKGNAME@-plugins-base-dbg
-Architecture: any
-Multi-Arch: same
-Section: debug
-Priority: extra
-Depends: @GST_PKGNAME@-alsa (= ${binary:Version}) [linux-any],
-         @GST_PKGNAME@-plugins-base (= ${binary:Version}),
-         @GST_PKGNAME@-x (= ${binary:Version}),
-         @GST_PLUGINS_BASE_LIB@ (= ${binary:Version}),
-         ${misc:Depends}
-Breaks: gstreamer1.0-plugins-bad-dbg (<< 1.11.90)
-Replaces: gstreamer1.0-plugins-bad-dbg (<< 1.11.90)
-Description: GStreamer plugins from the "base" set
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- This package contains unstripped shared libraries. It is provided primarily
- to provide a backtrace with names in a debugger, this makes it somewhat
- easier to interpret core dumps. The libraries are installed in
- /usr/lib/debug and are automatically used by gdb.
-
-Package: @GST_PKGNAME@-x
-Architecture: any
-Multi-Arch: same
-Section: libs
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         @GST_PLUGINS_BASE_LIB@ (>= @GST_VERSION@)
-XB-GStreamer-Version: ${gstreamer:Version}
-XB-GStreamer-Elements: ${gstreamer:Elements}
-XB-GStreamer-URI-Sources: ${gstreamer:URISources}
-XB-GStreamer-URI-Sinks: ${gstreamer:URISinks}
-XB-GStreamer-Encoders: ${gstreamer:Encoders}
-XB-GStreamer-Decoders: ${gstreamer:Decoders}
-Provides: ${gstreamer:Provides}
-Description: GStreamer plugins for X11 and Pango
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- This package contains the GStreamer plugins for X11 video output, both
- for standard Xlib support and for the Xv extension, as well as the
- plugin for Pango-based text rendering and overlay.
-
-Package: gir1.2-gst-plugins-base-@GST_ABI@
-Section: introspection
-Architecture: any
-Depends: ${gir:Depends},
-         ${shlibs:Depends},
-         ${misc:Depends}
-Description: GObject introspection data for the GStreamer Plugins Base library
- This package contains introspection data for the GStreamer Plugins Base library.
- .
- GStreamer is a streaming media framework, based on graphs of filters
- which operate on media data.  Applications using this library can do
- anything from real-time sound processing to playing videos, and just
- about anything else media-related.  Its plugin-based architecture means
- that new data types or processing capabilities can be added simply by
- installing new plug-ins.
- .
- It can be used by packages using the GIRepository format to generate
- dynamic bindings.
-
-
diff --git a/debian/rules b/debian/rules
index 06e1496..30358e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,19 +69,7 @@
 # Let's decide the package name and url depending on the distribution
 DISTRO = "$(shell dpkg-vendor --query vendor)"
 
-GST_PACKAGE_NAME := "GStreamer Base Plugins (unknown Debian derivative)"
-GST_PACKAGE_ORIGIN="http://packages.qa.debian.org/gst-plugins-base$(gst_abi)"
-
-ifeq ($(DISTRO),"Debian")
-GST_PACKAGE_NAME := "GStreamer Base Plugins (Debian)"
-GST_PACKAGE_ORIGIN="http://packages.qa.debian.org/gst-plugins-base$(gst_abi)"
-endif
-
-ifeq ($(DISTRO),"Ubuntu")
-GST_PACKAGE_NAME := "GStreamer Base Plugins (Ubuntu)"
-GST_PACKAGE_ORIGIN="https://launchpad.net/distros/ubuntu/+source/gst-plugins-base$(gst_abi)"
-endif
-
+GST_PACKAGE_NAME := "GStreamer Base Plugins"
 
 # setup links for packages
 pre-build::
@@ -114,22 +102,6 @@
 
 maint: debian/control
 
-debian/build-deps: debian/build-deps.in debian/rules
-	cat $< >$@
-
-debian/control:: debian/control.in debian/build-deps debian/mk.control debian/rules debian/changelog force
-	perl debian/mk.control | sed \
-		-e 's/@GST_VERSION@/$(gst_version)/g' \
-		-e 's/@GST_ABI@/$(gst_abi)/g' \
-		-e 's/@GST_PKGNAME@/$(gst_pkgname)/g' \
-		-e 's/@GST_LIB@/$(gst_lib)/g' \
-		-e 's/@GST_LIB_DEV@/$(gst_lib_dev)/g' \
-		-e 's/@GST_LIB_DEV_DEP@/$(gst_lib_dev_dep)/g' \
-		-e 's/@GST_PLUGINS_BASE_LIB@/$(gst_plugins_base_lib)/g' \
-		-e 's/@GST_PLUGINS_BASE_LIB_DEV@/$(gst_plugins_base_lib_dev)/g' \
-		-e 's/@GST_EXTRA_BUILD_DEPENDS@/$(gst_extra_build_depends)/g' \
-		>$@
-
 DEB_CONFIGURE_EXTRA_FLAGS += \
 	--disable-failing-tests \
 	--disable-examples \
@@ -139,7 +111,6 @@
 	--enable-experimental \
 	--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 	--with-package-name=$(GST_PACKAGE_NAME) \
-	--with-package-origin=$(GST_PACKAGE_ORIGIN) \
 	--with-install-plugins-helper="/usr/bin/gstreamer-codec-install"
 
 # only build the docs if gtk-doc-tools is installed, i.e. binary-indep is called