summaryrefslogtreecommitdiff
path: root/debian.upstream
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-28 17:38:17 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-28 17:54:50 +0200
commitdd915c15c83f46a9eec376ac35fd3f816477ab10 (patch)
tree8d8d0c5c756b68929d11937fbffb2f49d7c2e600 /debian.upstream
parenta6a1ea09a35aa4874394ba36f3500b431cb8f511 (diff)
debian: fix conditional build of packages.
Make it still possible to build package even if one of the build dependencies for a specific video backend is not available.
Diffstat (limited to 'debian.upstream')
-rw-r--r--debian.upstream/control.in76
1 files changed, 41 insertions, 35 deletions
diff --git a/debian.upstream/control.in b/debian.upstream/control.in
index 960f72eb..c40d5b07 100644
--- a/debian.upstream/control.in
+++ b/debian.upstream/control.in
@@ -7,6 +7,10 @@ Build-Depends: debhelper (>= 5),
libglib2.0-dev (>= @GLIB_VERSION_REQUIRED@),
libgstreamer@GST_MAJORMINOR@-dev (>= @GST_VERSION_REQUIRED@),
libgstreamer-plugins-base@GST_MAJORMINOR@-dev (>= @GST_PLUGINS_BASE_VERSION_REQUIRED@),
+@USE_DRM_TRUE@ libdrm-dev, libudev-dev,
+@USE_X11_TRUE@ libx11-dev, libxrandr-dev,
+@USE_GLX_TRUE@ libgl-dev,
+@USE_WAYLAND_TRUE@ libwayland-dev,
libva-dev (>= @LIBVA_PACKAGE_VERSION@)
Build-Depends-Indep: gtk-doc-tools (>= @GTKDOC_VERSION@)
Standards-Version: 3.7.2
@@ -49,49 +53,51 @@ Description: GStreamer libraries from the "vaapi" set
.
This package contains common libraries for the "vaapi" set.
-Package: libgstvaapi-drm-@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 headless libraries for the "vaapi" set.
+@USE_DRM_TRUE@Package: libgstvaapi-drm-@GST_VAAPI_MAJOR_VERSION@
+@USE_DRM_TRUE@Section: libs
+@USE_DRM_TRUE@Architecture: any
+@USE_DRM_TRUE@Depends: ${shlibs:Depends}, ${misc:Depends}
+@USE_DRM_TRUE@Description: GStreamer libraries from the "vaapi" set
+@USE_DRM_TRUE@ VA-API support libraries for GStreamer.
+@USE_DRM_TRUE@ .
+@USE_DRM_TRUE@ This package contains headless 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.
+@USE_X11_TRUE@Package: libgstvaapi-x11-@GST_VAAPI_MAJOR_VERSION@
+@USE_X11_TRUE@Section: libs
+@USE_X11_TRUE@Architecture: any
+@USE_X11_TRUE@Depends: ${shlibs:Depends}, ${misc:Depends}
+@USE_X11_TRUE@Description: GStreamer libraries from the "vaapi" set
+@USE_X11_TRUE@ VA-API support libraries for GStreamer.
+@USE_X11_TRUE@ .
+@USE_X11_TRUE@ This package contains x11 libraries for the "vaapi" set.
-Package: libgstvaapi-glx-@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 glx libraries for the "vaapi" set.
+@USE_GLX_TRUE@Package: libgstvaapi-glx-@GST_VAAPI_MAJOR_VERSION@
+@USE_GLX_TRUE@Section: libs
+@USE_GLX_TRUE@Architecture: any
+@USE_GLX_TRUE@Depends: ${shlibs:Depends}, ${misc:Depends}
+@USE_GLX_TRUE@Description: GStreamer libraries from the "vaapi" set
+@USE_GLX_TRUE@ VA-API support libraries for GStreamer.
+@USE_GLX_TRUE@ .
+@USE_GLX_TRUE@ This package contains glx libraries for the "vaapi" set.
-Package: libgstvaapi-wayland-@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 Wayland libraries for the "vaapi" set.
+@USE_WAYLAND_TRUE@Package: libgstvaapi-wayland-@GST_VAAPI_MAJOR_VERSION@
+@USE_WAYLAND_TRUE@Section: libs
+@USE_WAYLAND_TRUE@Architecture: any
+@USE_WAYLAND_TRUE@Depends: ${shlibs:Depends}, ${misc:Depends}
+@USE_WAYLAND_TRUE@Description: GStreamer libraries from the "vaapi" set
+@USE_WAYLAND_TRUE@ VA-API support libraries for GStreamer.
+@USE_WAYLAND_TRUE@ .
+@USE_WAYLAND_TRUE@ This package contains Wayland libraries for the "vaapi" set.
Package: libgstvaapi-dev
Architecture: any
Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends},
- libgstvaapi@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version}),
- libgstvaapi-x11-@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version}),
- libgstvaapi-glx-@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version})
+@USE_DRM_TRUE@ libgstvaapi-drm-@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version}),
+@USE_X11_TRUE@ libgstvaapi-x11-@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version}),
+@USE_GLX_TRUE@ libgstvaapi-glx-@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version}),
+@USE_WAYLAND_TRUE@ libgstvaapi-wayland-@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version}),
+ libgstvaapi@GST_VAAPI_MAJOR_VERSION@ (= ${Source-Version})
Description: GStreamer development files for libraries from the "vaapi" set
GStreamer/VA-API development files.
.