AUTOMAKE_OPTIONS = foreign
-SUBDIRS = debian gst-libs pkgconfig sys tests docs
+SUBDIRS = debian.upstream gst-libs pkgconfig sys tests docs
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \
configure depcomp install-sh ltmain.sh \
Makefile.in missing config.h.in gtk-doc.make
-deb: dist
- -mkdir -p debian-build
- cd debian-build && \
- tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz && \
- cd $(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot -uc -us
+DEB_BUILDDIR = debian.build
+
+deb:
+ dpkg-buildpackage -rfakeroot -uc -us
+
+deb.upstream: dist
+ -mkdir -p $(DEB_BUILDDIR)
+ cd $(DEB_BUILDDIR) && \
+ tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz && \
+ cd $(PACKAGE)-$(VERSION) && \
+ $(LN_S) debian.upstream debian && \
+ $(MAKE) deb -f Makefile.am
AC_OUTPUT([
Makefile
- debian/Makefile
- debian/changelog
- debian/control
- debian/gstreamer$GST_MAJORMINOR-vaapi.install:\
-debian/gstreamer-vaapi.install.in
- debian/gstreamer$GST_MAJORMINOR-vaapi-doc.install:\
-debian/gstreamer-vaapi-doc.install.in
- debian/libgstvaapi$GST_VAAPI_MAJOR_VERSION.install:\
-debian/libgstvaapi.install.in
- debian/libgstvaapi$GST_VAAPI_MAJOR_VERSION-dev.install:\
-debian/libgstvaapi-dev.install.in
- debian/libgstvaapi-x11-$GST_VAAPI_MAJOR_VERSION.install:\
-debian/libgstvaapi-x11.install.in
+ debian.upstream/Makefile
+ debian.upstream/changelog
+ debian.upstream/control
+ debian.upstream/gstreamer$GST_MAJORMINOR-vaapi.install:\
+debian.upstream/gstreamer-vaapi.install.in
+ debian.upstream/gstreamer$GST_MAJORMINOR-vaapi-doc.install:\
+debian.upstream/gstreamer-vaapi-doc.install.in
+ debian.upstream/libgstvaapi$GST_VAAPI_MAJOR_VERSION.install:\
+debian.upstream/libgstvaapi.install.in
+ debian.upstream/libgstvaapi$GST_VAAPI_MAJOR_VERSION-dev.install:\
+debian.upstream/libgstvaapi-dev.install.in
+ debian.upstream/libgstvaapi-x11-$GST_VAAPI_MAJOR_VERSION.install:\
+debian.upstream/libgstvaapi-x11.install.in
docs/Makefile
docs/reference/Makefile
docs/reference/libs/Makefile
--- /dev/null
+DOCS = \
+ AUTHORS \
+ COPYING \
+ NEWS \
+ README \
+ $(NULL)
+
+DEBIANFILES = \
+ changelog \
+ changelog.in \
+ compat \
+ control \
+ control.in \
+ copyright \
+ gstreamer-vaapi.install.in \
+ gstreamer$(GST_MAJORMINOR)-vaapi.install \
+ gstreamer-vaapi-doc.install.in \
+ gstreamer$(GST_MAJORMINOR)-vaapi-doc.install \
+ libgstvaapi.install.in \
+ libgstvaapi$(GST_VAAPI_MAJOR_VERSION).install \
+ libgstvaapi-dev.install.in \
+ libgstvaapi$(GST_VAAPI_MAJOR_VERSION)-dev.install \
+ libgstvaapi-x11.install.in \
+ libgstvaapi-x11-$(GST_VAAPI_MAJOR_VERSION).install \
+ rules \
+ $(NULL)
+
+DEBIANGENFILES = \
+ control \
+ changelog \
+ gstreamer$(GST_MAJORMINOR)-vaapi.install \
+ gstreamer$(GST_MAJORMINOR)-vaapi-doc.install \
+ libgstvaapi$(GST_VAAPI_MAJOR_VERSION).install \
+ libgstvaapi$(GST_VAAPI_MAJOR_VERSION)-dev.install \
+ libgstvaapi-x11-$(GST_VAAPI_MAJOR_VERSION).install \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(DEBIANFILES)
+
+# Extra clean files so that maintainer-clean removes *everything*
+MAINTAINERCLEANFILES = Makefile.in $(DEBIANGENFILES)
--- /dev/null
+gstreamer@GST_MAJORMINOR@-vaapi (@PACKAGE_VERSION@-1) unstable; urgency=low
+
+ * Autogenerated package, see NEWS file for ChangeLog.
+
+ -- Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> @TODAY@
--- /dev/null
+Source: gstreamer@GST_MAJORMINOR@-vaapi
+Section: libs
+Priority: optional
+Maintainer: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
+Build-Depends: debhelper (>= 5),
+ cdbs,
+ libglib2.0-dev,
+ libgstreamer@GST_MAJORMINOR@-dev (>= @GST_VERSION_REQUIRED@),
+ libgstreamer-plugins-base@GST_MAJORMINOR@-dev (>= @GST_PLUGINS_BASE_VERSION_REQUIRED@),
+ libva-dev (>= @LIBVA_SDS_PACKAGE_VERSION@)
+Build-Depends-Indep: gtk-doc-tools (>= @GTKDOC_VERSION@)
+Standards-Version: 3.7.2
+
+Package: gstreamer@GST_MAJORMINOR@-vaapi
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: gstreamer@GST_MAJORMINOR@-vaapi-doc
+Description: VA-API plugins for GStreamer
+ This package contains GStreamer plugins for VA-API support:
+ - `vaapiconvert': converts from YUV pixels to VA surfaces
+ - `vaapisink': a VA-API based video sink
+
+Package: gstreamer@GST_MAJORMINOR@-vaapi-doc
+Architecture: all
+Section: doc
+Recommends: libgstvaapi@GST_VAAPI_MAJOR_VERSION@-dev (= ${source:Version})
+Description: GStreamer VA-API documentation and manuals
+ This packages contains documentation for libraries and elements.
+
+Package: gstreamer@GST_MAJORMINOR@-vaapi-dbg
+Section: libdevel
+Architecture: any
+Depends: gstreamer@GST_MAJORMINOR@-vaapi (= ${Source-Version})
+Description: VA-API plugins for GStreamer
+ VA-API support plugins for GStreamer.
+ .
+ This package contains the debug files.
+
+Package: libgstvaapi@GST_VAAPI_MAJOR_VERSION@
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GStreamer libraries from the "vaapi" set
+ VA-API support libraries for GStreamer.
+ .
+ This package contains common libraries for the "vaapi" set.
+
+Package: libgstvaapi-x11-@GST_VAAPI_MAJOR_VERSION@
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GStreamer libraries from the "vaapi" set
+ VA-API support libraries for GStreamer.
+ .
+ This package contains x11 libraries for the "vaapi" set.
+
+Package: libgstvaapi@GST_VAAPI_MAJOR_VERSION@-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GStreamer development files for libraries from the "vaapi" set
+ GStreamer/VA-API development files.
+ .
+ This package contains development files for GStreamer libraries for
+ the "vaapi" set.
--- /dev/null
+This package is maintained by:
+Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
+
+
+License:
+
+ Copyright (C) 2009, Splitted-Desktop Systems.
+ All rights reserved.
+
+ Redistribution. Redistribution and use in binary form, without
+ modification, are permitted provided that the following conditions are
+ met:
+
+ * Redistributions must reproduce the above copyright notice and the
+ following disclaimer in the documentation and/or other materials
+ provided with the distribution.
+ * Neither the name of Splitted-Desktop Systems nor the names of its
+ suppliers may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ * No reverse engineering, decompilation, or disassembly of this software
+ is permitted.
+
+ DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+ BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
--- /dev/null
+debian/tmp/usr/share/doc/gstreamer@GST_MAJORMINOR@-vaapi
--- /dev/null
+debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so*
--- /dev/null
+debian/tmp/usr/lib/libgstvaapi*.so
+debian/tmp/usr/lib/pkgconfig/gstreamer-vaapi*.pc
+debian/tmp/usr/include/gstreamer-@GST_MAJORMINOR@/gst/vaapi/*.h
--- /dev/null
+debian/tmp/usr/lib/libgstvaapi-x11-@GST_MAJORMINOR@.so.*
--- /dev/null
+debian/tmp/usr/lib/libgstvaapi-@GST_MAJORMINOR@.so.*
--- /dev/null
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/utils.mk
+
+gst_pkgname = $(shell dpkg-parsechangelog | grep ^Source: | cut -d' ' -f2)
+
+# Allow SMP build
+ifeq ($(DEBIAN_BUILD_NCPUS),)
+ DEBIAN_BUILD_NCPUS = $(shell /usr/bin/getconf _NPROCESSORS_ONLN)
+endif
+ifneq ($(DEBIAN_BUILD_NCPUS),)
+ EXTRA_MAKE_FLAGS += -j$(DEBIAN_BUILD_NCPUS)
+endif
+MAKE += $(EXTRA_MAKE_FLAGS)
+
+# Allow HTML documentation build
+indep_conf_flags = \
+ --with-html-dir=\$${prefix}/share/doc/$(gst_pkgname)
+
+# 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
+endif
+
+DEB_CONFIGURE_EXTRA_FLAGS += $(indep_conf_flags)
+++ /dev/null
-DOCS = \
- AUTHORS \
- COPYING \
- NEWS \
- README \
- $(NULL)
-
-DEBIANFILES = \
- changelog \
- changelog.in \
- compat \
- control \
- control.in \
- copyright \
- gstreamer-vaapi.install.in \
- gstreamer$(GST_MAJORMINOR)-vaapi.install \
- gstreamer-vaapi-doc.install.in \
- gstreamer$(GST_MAJORMINOR)-vaapi-doc.install \
- libgstvaapi.install.in \
- libgstvaapi$(GST_VAAPI_MAJOR_VERSION).install \
- libgstvaapi-dev.install.in \
- libgstvaapi$(GST_VAAPI_MAJOR_VERSION)-dev.install \
- libgstvaapi-x11.install.in \
- libgstvaapi-x11-$(GST_VAAPI_MAJOR_VERSION).install \
- rules \
- $(NULL)
-
-DEBIANGENFILES = \
- control \
- changelog \
- gstreamer$(GST_MAJORMINOR)-vaapi.install \
- gstreamer$(GST_MAJORMINOR)-vaapi-doc.install \
- libgstvaapi$(GST_VAAPI_MAJOR_VERSION).install \
- libgstvaapi$(GST_VAAPI_MAJOR_VERSION)-dev.install \
- libgstvaapi-x11-$(GST_VAAPI_MAJOR_VERSION).install \
- $(NULL)
-
-EXTRA_DIST = \
- $(DEBIANFILES)
-
-# Extra clean files so that maintainer-clean removes *everything*
-MAINTAINERCLEANFILES = Makefile.in $(DEBIANGENFILES)
+++ /dev/null
-gstreamer@GST_MAJORMINOR@-vaapi (@PACKAGE_VERSION@-1) unstable; urgency=low
-
- * Autogenerated package, see NEWS file for ChangeLog.
-
- -- Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> @TODAY@
+++ /dev/null
-Source: gstreamer@GST_MAJORMINOR@-vaapi
-Section: libs
-Priority: optional
-Maintainer: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
-Build-Depends: debhelper (>= 5),
- cdbs,
- libglib2.0-dev,
- libgstreamer@GST_MAJORMINOR@-dev (>= @GST_VERSION_REQUIRED@),
- libgstreamer-plugins-base@GST_MAJORMINOR@-dev (>= @GST_PLUGINS_BASE_VERSION_REQUIRED@),
- libva-dev (>= @LIBVA_SDS_PACKAGE_VERSION@)
-Build-Depends-Indep: gtk-doc-tools (>= @GTKDOC_VERSION@)
-Standards-Version: 3.7.2
-
-Package: gstreamer@GST_MAJORMINOR@-vaapi
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Suggests: gstreamer@GST_MAJORMINOR@-vaapi-doc
-Description: VA-API plugins for GStreamer
- This package contains GStreamer plugins for VA-API support:
- - `vaapiconvert': converts from YUV pixels to VA surfaces
- - `vaapisink': a VA-API based video sink
-
-Package: gstreamer@GST_MAJORMINOR@-vaapi-doc
-Architecture: all
-Section: doc
-Recommends: libgstvaapi@GST_VAAPI_MAJOR_VERSION@-dev (= ${source:Version})
-Description: GStreamer VA-API documentation and manuals
- This packages contains documentation for libraries and elements.
-
-Package: gstreamer@GST_MAJORMINOR@-vaapi-dbg
-Section: libdevel
-Architecture: any
-Depends: gstreamer@GST_MAJORMINOR@-vaapi (= ${Source-Version})
-Description: VA-API plugins for GStreamer
- VA-API support plugins for GStreamer.
- .
- This package contains the debug files.
-
-Package: libgstvaapi@GST_VAAPI_MAJOR_VERSION@
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: GStreamer libraries from the "vaapi" set
- VA-API support libraries for GStreamer.
- .
- This package contains common libraries for the "vaapi" set.
-
-Package: libgstvaapi-x11-@GST_VAAPI_MAJOR_VERSION@
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: GStreamer libraries from the "vaapi" set
- VA-API support libraries for GStreamer.
- .
- This package contains x11 libraries for the "vaapi" set.
-
-Package: libgstvaapi@GST_VAAPI_MAJOR_VERSION@-dev
-Architecture: any
-Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: GStreamer development files for libraries from the "vaapi" set
- GStreamer/VA-API development files.
- .
- This package contains development files for GStreamer libraries for
- the "vaapi" set.
+++ /dev/null
-This package is maintained by:
-Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
-
-
-License:
-
- Copyright (C) 2009, Splitted-Desktop Systems.
- All rights reserved.
-
- Redistribution. Redistribution and use in binary form, without
- modification, are permitted provided that the following conditions are
- met:
-
- * Redistributions must reproduce the above copyright notice and the
- following disclaimer in the documentation and/or other materials
- provided with the distribution.
- * Neither the name of Splitted-Desktop Systems nor the names of its
- suppliers may be used to endorse or promote products derived from
- this software without specific prior written permission.
- * No reverse engineering, decompilation, or disassembly of this software
- is permitted.
-
- DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
- CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
- BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
- TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGE.
+++ /dev/null
-debian/tmp/usr/share/doc/gstreamer@GST_MAJORMINOR@-vaapi
+++ /dev/null
-debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so*
+++ /dev/null
-debian/tmp/usr/lib/libgstvaapi*.so
-debian/tmp/usr/lib/pkgconfig/gstreamer-vaapi*.pc
-debian/tmp/usr/include/gstreamer-@GST_MAJORMINOR@/gst/vaapi/*.h
+++ /dev/null
-debian/tmp/usr/lib/libgstvaapi-x11-@GST_MAJORMINOR@.so.*
+++ /dev/null
-debian/tmp/usr/lib/libgstvaapi-@GST_MAJORMINOR@.so.*
+++ /dev/null
-#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-include /usr/share/cdbs/1/rules/utils.mk
-
-gst_pkgname = $(shell dpkg-parsechangelog | grep ^Source: | cut -d' ' -f2)
-
-# Allow SMP build
-ifeq ($(DEBIAN_BUILD_NCPUS),)
- DEBIAN_BUILD_NCPUS = $(shell /usr/bin/getconf _NPROCESSORS_ONLN)
-endif
-ifneq ($(DEBIAN_BUILD_NCPUS),)
- EXTRA_MAKE_FLAGS += -j$(DEBIAN_BUILD_NCPUS)
-endif
-MAKE += $(EXTRA_MAKE_FLAGS)
-
-# Allow HTML documentation build
-indep_conf_flags = \
- --with-html-dir=\$${prefix}/share/doc/$(gst_pkgname)
-
-# 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
-endif
-
-DEB_CONFIGURE_EXTRA_FLAGS += $(indep_conf_flags)