summaryrefslogtreecommitdiff
path: root/debian.upstream
diff options
context:
space:
mode:
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-23 18:45:09 +0000
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-23 18:45:09 +0000
commitb2986daed45ab170df8c5fe0edce2d2eaea4dee6 (patch)
tree4787d7306fdf698a777d94c3c1ca4486d3269cf8 /debian.upstream
parent33d5cf8be2edbc3f469b3d4e0f3c8eccaeba66ee (diff)
Generate upstream packages through make deb.upstream.
Diffstat (limited to 'debian.upstream')
-rw-r--r--debian.upstream/Makefile.am42
-rw-r--r--debian.upstream/changelog.in5
-rw-r--r--debian.upstream/compat1
-rw-r--r--debian.upstream/control.in66
-rw-r--r--debian.upstream/copyright34
-rw-r--r--debian.upstream/gstreamer-vaapi-doc.install.in1
-rw-r--r--debian.upstream/gstreamer-vaapi.install.in1
-rw-r--r--debian.upstream/libgstvaapi-dev.install.in3
-rw-r--r--debian.upstream/libgstvaapi-x11.install.in1
-rw-r--r--debian.upstream/libgstvaapi.install.in1
-rwxr-xr-xdebian.upstream/rules29
11 files changed, 184 insertions, 0 deletions
diff --git a/debian.upstream/Makefile.am b/debian.upstream/Makefile.am
new file mode 100644
index 00000000..93b9514d
--- /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 00000000..4ecfad0e
--- /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 <gbeauchesne@splitted-desktop.com> @TODAY@
diff --git a/debian.upstream/compat b/debian.upstream/compat
new file mode 100644
index 00000000..7ed6ff82
--- /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 00000000..ca4bd120
--- /dev/null
+++ b/debian.upstream/control.in
@@ -0,0 +1,66 @@
+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.
diff --git a/debian.upstream/copyright b/debian.upstream/copyright
new file mode 100644
index 00000000..94da1e12
--- /dev/null
+++ b/debian.upstream/copyright
@@ -0,0 +1,34 @@
+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.
diff --git a/debian.upstream/gstreamer-vaapi-doc.install.in b/debian.upstream/gstreamer-vaapi-doc.install.in
new file mode 100644
index 00000000..ff84ca17
--- /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 00000000..76b63bdf
--- /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 00000000..a940c527
--- /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 00000000..8754fb84
--- /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 00000000..e585a6b3
--- /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 00000000..0ec96be6
--- /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)