From: gb Date: Tue, 23 Mar 2010 18:45:09 +0000 (+0000) Subject: Generate upstream packages through make deb.upstream. X-Git-Tag: 1.19.3~503^2~3630 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2986daed45ab170df8c5fe0edce2d2eaea4dee6;p=platform%2Fupstream%2Fgstreamer.git Generate upstream packages through make deb.upstream. --- diff --git a/Makefile.am b/Makefile.am index 51370db28d..adaf6740b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ 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 = \ @@ -8,8 +8,15 @@ 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 diff --git a/configure.ac b/configure.ac index 247bdf84cd..5d1cdfc9da 100644 --- a/configure.ac +++ b/configure.ac @@ -190,19 +190,19 @@ AC_SUBST(pkgconfigdir) 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 diff --git a/debian.upstream/Makefile.am b/debian.upstream/Makefile.am new file mode 100644 index 0000000000..93b9514d5d --- /dev/null +++ b/debian.upstream/Makefile.am @@ -0,0 +1,42 @@ +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) diff --git a/debian.upstream/changelog.in b/debian.upstream/changelog.in new file mode 100644 index 0000000000..4ecfad0e9c --- /dev/null +++ b/debian.upstream/changelog.in @@ -0,0 +1,5 @@ +gstreamer@GST_MAJORMINOR@-vaapi (@PACKAGE_VERSION@-1) unstable; urgency=low + + * Autogenerated package, see NEWS file for ChangeLog. + + -- Gwenole Beauchesne @TODAY@ diff --git a/debian.upstream/compat b/debian.upstream/compat new file mode 100644 index 0000000000..7ed6ff82de --- /dev/null +++ b/debian.upstream/compat @@ -0,0 +1 @@ +5 diff --git a/debian.upstream/control.in b/debian.upstream/control.in new file mode 100644 index 0000000000..ca4bd120eb --- /dev/null +++ b/debian.upstream/control.in @@ -0,0 +1,66 @@ +Source: gstreamer@GST_MAJORMINOR@-vaapi +Section: libs +Priority: optional +Maintainer: Gwenole Beauchesne +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. diff --git a/debian.upstream/copyright b/debian.upstream/copyright new file mode 100644 index 0000000000..94da1e1218 --- /dev/null +++ b/debian.upstream/copyright @@ -0,0 +1,34 @@ +This package is maintained by: +Gwenole Beauchesne + + +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. diff --git a/debian.upstream/gstreamer-vaapi-doc.install.in b/debian.upstream/gstreamer-vaapi-doc.install.in new file mode 100644 index 0000000000..ff84ca1736 --- /dev/null +++ b/debian.upstream/gstreamer-vaapi-doc.install.in @@ -0,0 +1 @@ +debian/tmp/usr/share/doc/gstreamer@GST_MAJORMINOR@-vaapi diff --git a/debian.upstream/gstreamer-vaapi.install.in b/debian.upstream/gstreamer-vaapi.install.in new file mode 100644 index 0000000000..76b63bdfa5 --- /dev/null +++ b/debian.upstream/gstreamer-vaapi.install.in @@ -0,0 +1 @@ +debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so* diff --git a/debian.upstream/libgstvaapi-dev.install.in b/debian.upstream/libgstvaapi-dev.install.in new file mode 100644 index 0000000000..a940c52778 --- /dev/null +++ b/debian.upstream/libgstvaapi-dev.install.in @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/libgstvaapi*.so +debian/tmp/usr/lib/pkgconfig/gstreamer-vaapi*.pc +debian/tmp/usr/include/gstreamer-@GST_MAJORMINOR@/gst/vaapi/*.h diff --git a/debian.upstream/libgstvaapi-x11.install.in b/debian.upstream/libgstvaapi-x11.install.in new file mode 100644 index 0000000000..8754fb8456 --- /dev/null +++ b/debian.upstream/libgstvaapi-x11.install.in @@ -0,0 +1 @@ +debian/tmp/usr/lib/libgstvaapi-x11-@GST_MAJORMINOR@.so.* diff --git a/debian.upstream/libgstvaapi.install.in b/debian.upstream/libgstvaapi.install.in new file mode 100644 index 0000000000..e585a6b302 --- /dev/null +++ b/debian.upstream/libgstvaapi.install.in @@ -0,0 +1 @@ +debian/tmp/usr/lib/libgstvaapi-@GST_MAJORMINOR@.so.* diff --git a/debian.upstream/rules b/debian.upstream/rules new file mode 100755 index 0000000000..0ec96be6ec --- /dev/null +++ b/debian.upstream/rules @@ -0,0 +1,29 @@ +#!/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) diff --git a/debian/Makefile.am b/debian/Makefile.am deleted file mode 100644 index 93b9514d5d..0000000000 --- a/debian/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -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) diff --git a/debian/changelog.in b/debian/changelog.in deleted file mode 100644 index 4ecfad0e9c..0000000000 --- a/debian/changelog.in +++ /dev/null @@ -1,5 +0,0 @@ -gstreamer@GST_MAJORMINOR@-vaapi (@PACKAGE_VERSION@-1) unstable; urgency=low - - * Autogenerated package, see NEWS file for ChangeLog. - - -- Gwenole Beauchesne @TODAY@ diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff82de..0000000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control.in b/debian/control.in deleted file mode 100644 index ca4bd120eb..0000000000 --- a/debian/control.in +++ /dev/null @@ -1,66 +0,0 @@ -Source: gstreamer@GST_MAJORMINOR@-vaapi -Section: libs -Priority: optional -Maintainer: Gwenole Beauchesne -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. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 94da1e1218..0000000000 --- a/debian/copyright +++ /dev/null @@ -1,34 +0,0 @@ -This package is maintained by: -Gwenole Beauchesne - - -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. diff --git a/debian/gstreamer-vaapi-doc.install.in b/debian/gstreamer-vaapi-doc.install.in deleted file mode 100644 index ff84ca1736..0000000000 --- a/debian/gstreamer-vaapi-doc.install.in +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/share/doc/gstreamer@GST_MAJORMINOR@-vaapi diff --git a/debian/gstreamer-vaapi.install.in b/debian/gstreamer-vaapi.install.in deleted file mode 100644 index 76b63bdfa5..0000000000 --- a/debian/gstreamer-vaapi.install.in +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so* diff --git a/debian/libgstvaapi-dev.install.in b/debian/libgstvaapi-dev.install.in deleted file mode 100644 index a940c52778..0000000000 --- a/debian/libgstvaapi-dev.install.in +++ /dev/null @@ -1,3 +0,0 @@ -debian/tmp/usr/lib/libgstvaapi*.so -debian/tmp/usr/lib/pkgconfig/gstreamer-vaapi*.pc -debian/tmp/usr/include/gstreamer-@GST_MAJORMINOR@/gst/vaapi/*.h diff --git a/debian/libgstvaapi-x11.install.in b/debian/libgstvaapi-x11.install.in deleted file mode 100644 index 8754fb8456..0000000000 --- a/debian/libgstvaapi-x11.install.in +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/lib/libgstvaapi-x11-@GST_MAJORMINOR@.so.* diff --git a/debian/libgstvaapi.install.in b/debian/libgstvaapi.install.in deleted file mode 100644 index e585a6b302..0000000000 --- a/debian/libgstvaapi.install.in +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/lib/libgstvaapi-@GST_MAJORMINOR@.so.* diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 0ec96be6ec..0000000000 --- a/debian/rules +++ /dev/null @@ -1,29 +0,0 @@ -#!/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)