diff options
author | root <root@localhost.localdomain> | 2007-06-19 16:09:11 -0700 |
---|---|---|
committer | root <root@localhost.localdomain> | 2007-06-19 16:09:11 -0700 |
commit | 3f722958b1dd45e1ad8d50663836579553297fdd (patch) | |
tree | 80957d1debacae96ee54be25f5037cf1880fe49f /debian |
Initial commit of libva
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.Debian | 7 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 34 | ||||
-rw-r--r-- | debian/copyright | 44 | ||||
-rw-r--r-- | debian/dirs | 2 | ||||
-rw-r--r-- | debian/docs | 0 | ||||
-rw-r--r-- | debian/files | 2 | ||||
-rw-r--r-- | debian/libva-dev.dirs | 2 | ||||
-rw-r--r-- | debian/libva-dev.install | 6 | ||||
-rw-r--r-- | debian/libva-dev.substvars | 1 | ||||
-rw-r--r-- | debian/libva1.dirs | 1 | ||||
-rw-r--r-- | debian/libva1.install | 1 | ||||
-rw-r--r-- | debian/libva1.substvars | 1 | ||||
-rwxr-xr-x | debian/rules | 114 |
15 files changed, 222 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..d10d702 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,7 @@ +libva for Debian +---------------- + +This library implements the Video Acceleration (VA) API for Linux. +It will load a hardware dependendent video acceleration driver. + + -- Waldo Bastian <waldo.bastian@intel.com> Mon, 18 Jun 2007 21:35:31 -0700 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b834347 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +libva (0.18-1) unstable; urgency=low + + * Initial release of libva + + -- Waldo Bastian <waldo.bastian@intel.com> Mon, 18 Jun 2007 21:35:31 -0700 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3a415bd --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: libva +Priority: extra +Maintainer: Waldo Bastian <waldo.bastian@intel.com> +Build-Depends: debhelper (>= 5), + autotools-dev, + libdrm-dev (>= 2.3.0), + mesa-common-dev, + x11proto-gl-dev, + pkg-config +Standards-Version: 3.7.2 +Section: libs + +Package: libva-dev +Section: libdevel +Architecture: any +Depends: libva1 (= ${binary:Version}), + libdrm-dev (>= 2.3.0), + pkg-config +Description: Video Acceleration (VA) API for Linux -- development files + The libva library implements the Video Acceleration (VA) API for Linux. + The library loads a hardware dependendent driver. + . + This package provides the development environment for libva. + +Package: libva1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libdrm2 (>= 2.3.0) +Description: Video Acceleration (VA) API for Linux -- runtime + The libva library implements the Video Acceleration (VA) API for Linux. + The library loads a hardware dependendent driver. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..38b60ef --- /dev/null +++ b/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Waldo Bastian <waldo.bastian@intel.com> on +Mon, 18 Jun 2007 21:35:31 -0700. + +It was downloaded from <url://example.com> + +Upstream Author(s): + + Waldo Bastian <waldo.bastian@intel.com> + Jonathan Bian <jonathan.bian@intel.com> + +Copyright: + + (C) Copyright IBM Corporation 2004 + Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. + Copyright 2000 VA Linux Systems, Inc. + Copyright 2007 Intel Corportation + +License: + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sub license, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice (including the + next paragraph) shall be included in all copies or substantial portions + of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR + ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +The Debian packaging is (C) 2007, Intel Corporation and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/docs diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..b47d914 --- /dev/null +++ b/debian/files @@ -0,0 +1,2 @@ +libva-dev_0.18-1_i386.deb libdevel extra +libva1_0.18-1_i386.deb libs extra diff --git a/debian/libva-dev.dirs b/debian/libva-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/libva-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/libva-dev.install b/debian/libva-dev.install new file mode 100644 index 0000000..d2e402c --- /dev/null +++ b/debian/libva-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/include/va.h +debian/tmp/usr/include/va_x11.h +debian/tmp/usr/lib/dummy_drv_video.* +debian/tmp/usr/lib/libva.la +debian/tmp/usr/lib/libva.so +debian/tmp/usr/lib/pkgconfig/libva.pc diff --git a/debian/libva-dev.substvars b/debian/libva-dev.substvars new file mode 100644 index 0000000..ca71235 --- /dev/null +++ b/debian/libva-dev.substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.5-5) diff --git a/debian/libva1.dirs b/debian/libva1.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/libva1.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/libva1.install b/debian/libva1.install new file mode 100644 index 0000000..bad195c --- /dev/null +++ b/debian/libva1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libva.so.* diff --git a/debian/libva1.substvars b/debian/libva1.substvars new file mode 100644 index 0000000..b165906 --- /dev/null +++ b/debian/libva1.substvars @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.5-5), libx11-6, libxext6 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..60fbc95 --- /dev/null +++ b/debian/rules @@ -0,0 +1,114 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# shared library versions, option 1 +#version=2.0.5 +#major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +version=`ls src/.libs/lib*.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install |