Enable building drivers for libvdpau1.
authorMaarten Lankhorst <dev@mblankhorst.nl>
Thu, 20 Feb 2014 19:10:17 +0000 (20:10 +0100)
committerMaarten Lankhorst <dev@mblankhorst.nl>
Thu, 20 Feb 2014 19:10:17 +0000 (20:10 +0100)
debian/changelog
debian/control
debian/libvdpau1-drivers-mesa.install.in [new file with mode: 0644]
debian/rules

index 9d7b37f..f344f79 100644 (file)
@@ -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
 
index da62960..daad9e8 100644 (file)
@@ -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 (file)
index 0000000..50c703c
--- /dev/null
@@ -0,0 +1 @@
+dri/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/*.so* usr/lib/${DEB_HOST_MULTIARCH}/vdpau/
index d20bc1f..e8a3bfa 100755 (executable)
@@ -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) \