Source: libva
Priority: extra
Maintainer: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Build-Depends: automake,
               autotools-dev,
               cdbs,
               debhelper (>= 5),
               libdrm-dev (>= @LIBDRM_VERSION@),
@USE_X11_TRUE@               libx11-dev, libxext-dev, libxfixes-dev,
@USE_GLX_TRUE@               libgl-dev,
@USE_WAYLAND_TRUE@               libwayland-dev (>= @WAYLAND_API_VERSION@),
               libtool,
               pkg-config
Standards-Version: 3.7.2
Section: libs

Package: libva-dev
Section: libdevel
Architecture: any
Depends: libdrm-dev (>= @LIBDRM_VERSION@),
@USE_DRM_TRUE@         libva-drm@LIBVA_MAJOR_VERSION@,
@USE_X11_TRUE@         libva-x11-@LIBVA_MAJOR_VERSION@ (= ${binary:Version}), libx11-dev,
@USE_GLX_TRUE@         libva-glx@LIBVA_MAJOR_VERSION@ (= ${binary:Version}), libgl-dev,
@USE_EGL_TRUE@         libva-egl@LIBVA_MAJOR_VERSION@ (= ${binary:Version}),
@USE_WAYLAND_TRUE@         libva-wayland@LIBVA_MAJOR_VERSION@ (= ${binary:Version}), libwayland-dev (>= @WAYLAND_API_VERSION@),
         libva@LIBVA_MAJOR_VERSION@ (= ${binary:Version}),
         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: libva@LIBVA_MAJOR_VERSION@
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
Description: Video Acceleration (VA) API for Linux -- Core runtime
 The libva library implements the Video Acceleration (VA) API for Linux.
 The library loads a hardware dependendent driver.
 .
 This package contains the Core runtime library.

@USE_DRM_TRUE@Package: libva-drm@LIBVA_MAJOR_VERSION@
@USE_DRM_TRUE@Section: libs
@USE_DRM_TRUE@Architecture: any
@USE_DRM_TRUE@Depends: ${shlibs:Depends}
@USE_DRM_TRUE@Description: Video Acceleration (VA) API for Linux -- DRM runtime
@USE_DRM_TRUE@ The libva library implements the Video Acceleration (VA) API for Linux.
@USE_DRM_TRUE@ The library loads a hardware dependendent driver.
@USE_DRM_TRUE@ .
@USE_DRM_TRUE@ This package contains the VA/DRM runtime library.

@USE_X11_TRUE@Package: libva-x11-@LIBVA_MAJOR_VERSION@
@USE_X11_TRUE@Section: libs
@USE_X11_TRUE@Architecture: any
@USE_X11_TRUE@Depends: ${shlibs:Depends}
@USE_X11_TRUE@Description: Video Acceleration (VA) API for Linux -- X11 runtime
@USE_X11_TRUE@ The libva library implements the Video Acceleration (VA) API for Linux.
@USE_X11_TRUE@ The library loads a hardware dependendent driver.
@USE_X11_TRUE@ .
@USE_X11_TRUE@ This package contains the VA/X11 runtime library.

@USE_GLX_TRUE@Package: libva-glx@LIBVA_MAJOR_VERSION@
@USE_GLX_TRUE@Section: libs
@USE_GLX_TRUE@Architecture: any
@USE_GLX_TRUE@Depends: ${shlibs:Depends}
@USE_GLX_TRUE@Description: Video Acceleration (VA) API for Linux -- GLX runtime
@USE_GLX_TRUE@ The libva library implements the Video Acceleration (VA) API for Linux.
@USE_GLX_TRUE@ The library loads a hardware dependendent driver.
@USE_GLX_TRUE@ .
@USE_GLX_TRUE@ This package contains the VA/GLX runtime library.

@USE_EGL_TRUE@Package: libva-egl@LIBVA_MAJOR_VERSION@
@USE_EGL_TRUE@Section: libs
@USE_EGL_TRUE@Architecture: any
@USE_EGL_TRUE@Depends: ${shlibs:Depends}
@USE_EGL_TRUE@Description: Video Acceleration (VA) API for Linux -- EGL runtime
@USE_EGL_TRUE@ The libva library implements the Video Acceleration (VA) API for Linux.
@USE_EGL_TRUE@ The library loads a hardware dependendent driver.
@USE_EGL_TRUE@ .
@USE_EGL_TRUE@ This package contains the VA/EGL runtime library.

@USE_WAYLAND_TRUE@Package: libva-wayland@LIBVA_MAJOR_VERSION@
@USE_WAYLAND_TRUE@Section: libs
@USE_WAYLAND_TRUE@Architecture: any
@USE_WAYLAND_TRUE@Depends: ${shlibs:Depends}
@USE_WAYLAND_TRUE@Description: Video Acceleration (VA) API for Linux -- Wayland runtime
@USE_WAYLAND_TRUE@ The libva library implements the Video Acceleration (VA) API for Linux.
@USE_WAYLAND_TRUE@ The library loads a hardware dependendent driver.
@USE_WAYLAND_TRUE@ .
@USE_WAYLAND_TRUE@ This package contains the VA/Wayland runtime library.

Package: libva@LIBVA_MAJOR_VERSION@-dbg
Section: libdevel
Architecture: any
Depends: libva@LIBVA_MAJOR_VERSION@ (= ${Source-Version})
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.
 .
 This package contains the debug info files.

Package: vainfo
Architecture: any
Depends: libva@LIBVA_MAJOR_VERSION@ (= ${Source-Version})
Description: Video Acceleration (VA) API for Linux -- info program
 The libva library implements the Video Acceleration (VA) API for Linux.
 The library loads a hardware dependendent driver.
 .
 This package contains the `vainfo' program.
