wayland: add packaging files.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 24 Jul 2012 13:43:44 +0000 (15:43 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 25 Jul 2012 13:31:42 +0000 (15:31 +0200)
configure.ac
debian.upstream/Makefile.am
debian.upstream/control.in
debian.upstream/libgstvaapi-wayland.install.in [new file with mode: 0644]
pkgconfig/Makefile.am
pkgconfig/gstreamer-vaapi-wayland.pc.in [new file with mode: 0644]

index 86c4f7b..f6b07d5 100644 (file)
@@ -454,6 +454,8 @@ debian.upstream/libgstvaapi.install.in
     debian.upstream/libgstvaapi-dev.install
     debian.upstream/libgstvaapi-glx-$GST_VAAPI_MAJOR_VERSION.install:\
 debian.upstream/libgstvaapi-glx.install.in
+    debian.upstream/libgstvaapi-wayland-$GST_VAAPI_MAJOR_VERSION.install:\
+debian.upstream/libgstvaapi-wayland.install.in
     debian.upstream/libgstvaapi-x11-$GST_VAAPI_MAJOR_VERSION.install:\
 debian.upstream/libgstvaapi-x11.install.in
     docs/Makefile
@@ -473,6 +475,8 @@ debian.upstream/libgstvaapi-x11.install.in
 pkgconfig/gstreamer-vaapi.pc.in
     pkgconfig/gstreamer-vaapi-glx-$GST_MAJORMINOR.pc:\
 pkgconfig/gstreamer-vaapi-glx.pc.in
+    pkgconfig/gstreamer-vaapi-wayland-$GST_MAJORMINOR.pc:\
+pkgconfig/gstreamer-vaapi-wayland.pc.in
     pkgconfig/gstreamer-vaapi-x11-$GST_MAJORMINOR.pc:\
 pkgconfig/gstreamer-vaapi-x11.pc.in
     tests/Makefile
index 8bb59be..cf3bc3e 100644 (file)
@@ -25,6 +25,8 @@ DEBIANFILES = \
        libgstvaapi-x11-$(GST_VAAPI_MAJOR_VERSION).install      \
        libgstvaapi-glx.install.in                              \
        libgstvaapi-glx-$(GST_VAAPI_MAJOR_VERSION).install      \
+       libgstvaapi-wayland.install.in                          \
+       libgstvaapi-wayland-$(GST_VAAPI_MAJOR_VERSION).install  \
        rules                                                   \
        $(NULL)
 
@@ -37,6 +39,7 @@ DEBIANGENFILES = \
        libgstvaapi-dev.install                                 \
        libgstvaapi-x11-$(GST_VAAPI_MAJOR_VERSION).install      \
        libgstvaapi-glx-$(GST_VAAPI_MAJOR_VERSION).install      \
+       libgstvaapi-wayland-$(GST_VAAPI_MAJOR_VERSION).install  \
        $(NULL)
 
 EXTRA_DIST = \
index 5f23160..bd812ab 100644 (file)
@@ -67,6 +67,15 @@ Description: GStreamer libraries from the "vaapi" set
  .
  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.
+
 Package: libgstvaapi-dev
 Architecture: any
 Section: libdevel
diff --git a/debian.upstream/libgstvaapi-wayland.install.in b/debian.upstream/libgstvaapi-wayland.install.in
new file mode 100644 (file)
index 0000000..e1740b5
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libgstvaapi-wayland-@GST_MAJORMINOR@.so.*
index dd1012a..7d67413 100644 (file)
@@ -5,23 +5,23 @@ endif
 if USE_GLX
 pcfiles_in += gstreamer-vaapi-glx.pc.in
 endif
+if USE_WAYLAND
+pcfiles_in += gstreamer-vaapi-wayland.pc.in
+endif
 
 pcfiles = $(pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)
 
 all_pcfiles_in  = gstreamer-vaapi.pc.in
 all_pcfiles_in += gstreamer-vaapi-x11.pc.in
 all_pcfiles_in += gstreamer-vaapi-glx.pc.in
+all_pcfiles_in += gstreamer-vaapi-wayland.pc.in
 
 all_pcfiles = $(all_pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)
 
 pkgconfigdir = @pkgconfigdir@
 pkgconfig_DATA = $(pcfiles)
 
-EXTRA_DIST =                           \
-       gstreamer-vaapi.pc.in           \
-       gstreamer-vaapi-glx.pc.in       \
-       gstreamer-vaapi-x11.pc.in       \
-       $(NULL)
+EXTRA_DIST = $(all_pcfiles_in)
 
 DISTCLEANFILES = $(all_pcfiles)
 
diff --git a/pkgconfig/gstreamer-vaapi-wayland.pc.in b/pkgconfig/gstreamer-vaapi-wayland.pc.in
new file mode 100644 (file)
index 0000000..07f1da0
--- /dev/null
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
+pluginsdir=@libdir@/gstreamer-@GST_MAJORMINOR@
+
+Name: GStreamer VA-API (Wayland) Plugins Libraries
+Description: Streaming media framework, VA-API (Wayland) plugins libraries
+Requires: gstreamer-vaapi-@GST_MAJORMINOR@ libva-wayland
+Version: @VERSION@
+Libs: -L${libdir} -lgstvaapi-wayland-@GST_MAJORMINOR@
+Cflags: -I${includedir}