Add debian packaging.

This commit is contained in:
gb 2010-03-16 13:53:54 +00:00
parent 4a041f42c1
commit 39d5a2f361
10 changed files with 157 additions and 0 deletions

39
debian/Makefile.am vendored Normal file
View file

@ -0,0 +1,39 @@
DOCS = \
AUTHORS \
COPYING \
NEWS \
README \
$(NULL)
DEBIANFILES = \
changelog \
changelog.in \
compat \
control \
control.in \
copyright \
gstreamer-vaapi.install.in \
gstreamer$(GST_MAJORMINOR)-vaapi.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 \
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)

5
debian/changelog.in vendored Normal file
View file

@ -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@

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
5

57
debian/control.in vendored Normal file
View file

@ -0,0 +1,57 @@
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,
libgstreamer-plugins-base@GST_MAJORMINOR@-dev,
libva-dev (>= @LIBVA_SDS_PACKAGE_VERSION@)
Standards-Version: 3.7.2
Package: gstreamer@GST_MAJORMINOR@-vaapi
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
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-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.

34
debian/copyright vendored Normal file
View file

@ -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.

1
debian/gstreamer-vaapi.install.in vendored Normal file
View file

@ -0,0 +1 @@
debian/tmp/usr/lib/gstreamer-@GST_MAJORMINOR@/libgstvaapi*.so*

3
debian/libgstvaapi-dev.install.in vendored Normal file
View file

@ -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

1
debian/libgstvaapi-x11.install.in vendored Normal file
View file

@ -0,0 +1 @@
debian/tmp/usr/lib/libgstvaapi-x11-@GST_MAJORMINOR@.so.*

1
debian/libgstvaapi.install.in vendored Normal file
View file

@ -0,0 +1 @@
debian/tmp/usr/lib/libgstvaapi-@GST_MAJORMINOR@.so.*

15
debian/rules vendored Executable file
View file

@ -0,0 +1,15 @@
#!/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
# 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)