summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--debian/control13
-rw-r--r--debian/libvdpau1-drivers-mesa.install.in1
-rwxr-xr-xdebian/rules5
4 files changed, 19 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 9d7b37f..f344f79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
mesa (10.1.0~rc1-2) UNRELEASED; urgency=medium
* Add missing depends to keep lib(e)gl1-dev usable.
+ * Enable building drivers for libvdpau1.
-- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Thu, 20 Feb 2014 19:12:12 +0100
diff --git a/debian/control b/debian/control
index da62960..daad9e8 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends:
libxfixes-dev,
libxdamage-dev,
libxext-dev,
+ libvdpau-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf],
autoconf,
automake,
libtool,
@@ -750,4 +751,16 @@ Description: Mesa Off-screen rendering extension -- development files
.
For more information on OSmesa see the libosmesa6 package.
+Package: libvdpau1-drivers-mesa
+Section: libs
+Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf
+Depends:
+ libvdpau1,
+ ${shlib:Depends},
+ ${misc:Depends},
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Description: Mesa acceleration support for vdpau.
+ This package enables support for VDPAU for some gallium drivers.
+
# vim: tw=0
diff --git a/debian/libvdpau1-drivers-mesa.install.in b/debian/libvdpau1-drivers-mesa.install.in
new file mode 100644
index 0000000..50c703c
--- /dev/null
+++ b/debian/libvdpau1-drivers-mesa.install.in
@@ -0,0 +1 @@
+dri/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/*.so* usr/lib/${DEB_HOST_MULTIARCH}/vdpau/
diff --git a/debian/rules b/debian/rules
index d20bc1f..e8a3bfa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -96,6 +96,9 @@ else
ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf))
confflags_GALLIUM += --enable-gallium-llvm
confflags_GALLIUM += --with-llvm-shared-libs
+ confflags_GALLIUM += --enable-vdpau
+ else
+ confflags_GALLIUM += --disable-vdpau
endif
confflags_DIRECT_RENDERING = --enable-driglx-direct
@@ -115,7 +118,7 @@ confflags-dri = \
--enable-shared-glapi \
--enable-texture-float \
--enable-xa \
- --disable-xvmc --disable-vdpau \
+ --disable-xvmc \
$(confflags_DIRECT_RENDERING) \
$(confflags_EGL) \
$(confflags_GALLIUM) \