Install the wayland sink on linux
diff --git a/debian/changelog b/debian/changelog
index b91029c..08f722e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@
 
   * debian/gbp.conf:
     + Fix branch names for experimental.
+  * debian/gstreamer-plugins-bad.install,
+    debian/rules:
+    + Install the wayland sink on linux.
 
  -- Emilio Pozuelo Monfort <pochu@debian.org>  Thu, 26 Jun 2014 18:00:27 +0200
 
diff --git a/debian/gstreamer-plugins-bad.install b/debian/gstreamer-plugins-bad.install
index e433637..5863c44 100644
--- a/debian/gstreamer-plugins-bad.install
+++ b/debian/gstreamer-plugins-bad.install
@@ -103,3 +103,4 @@
 @decklink@
 @fbdev@
 @uvch264@
+@waylandsink@
diff --git a/debian/libgstreamer-plugins-bad.install b/debian/libgstreamer-plugins-bad.install
index 7e3ed87..3b10713 100644
--- a/debian/libgstreamer-plugins-bad.install
+++ b/debian/libgstreamer-plugins-bad.install
@@ -7,3 +7,4 @@
 debian/tmp/usr/lib/*/libgstcodecparsers-@GST_ABI@.so.*
 debian/tmp/usr/lib/*/libgstmpegts-@GST_ABI@.so.*
 debian/tmp/usr/lib/*/libgsturidownloader-@GST_ABI@.so.*
+@wayland@
diff --git a/debian/rules b/debian/rules
index a3e0ffa..1981679 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,6 +58,7 @@
 gst_extra_build_depends += , libusb-1.0-0-dev [linux-any]
 gst_extra_build_depends += , libbluetooth-dev (<< 5) [linux-any]
 gst_extra_build_depends += , libsbc-dev (>= 1.1) [linux-any]
+gst_extra_build_depends += , libwayland-dev (>= 1.0) [linux-any]
 
 # The plugins are basically the same.
 # Link special names to a template file.
@@ -92,6 +93,8 @@
 uvch264 = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-$(gst_abi)/libgstuvch264.so
 bluez = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-$(gst_abi)/libgstbluez.so
 sbc = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-$(gst_abi)/libgstsbc.so
+waylandsink = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gstreamer-$(gst_abi)/libgstwaylandsink.so
+wayland = debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgstwayland-$(gst_abi).so.*
 endif
 
 ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
@@ -136,6 +139,7 @@
 			-e 's,@uvch264@,$(uvch264),g' \
 			-e 's,@bluez@,$(bluez),g' \
 			-e 's,@sbc@,$(sbc),g' \
+			-e 's,@waylandsink@,$(waylandsink),g' \
 			-e 's/@GST_ABI@/$(gst_abi)/g' \
 			debian/gstreamer-$$p.install \
 			> debian/$(gst_pkgname)-$$p.install; \
@@ -146,7 +150,8 @@
 			> debian/$(gst_pkgname)-$$f; \
 	done
 
-	sed 's/@GST_ABI@/$(gst_abi)/g' debian/libgstreamer-plugins-bad.install \
+	sed -e 's/@GST_ABI@/$(gst_abi)/g' -e 's,@wayland@,$(wayland),g' \
+			debian/libgstreamer-plugins-bad.install \
 			> debian/libgstreamer-plugins-bad$(gst_deb_abi).install
 	sed 's/@GST_ABI@/$(gst_abi)/g' debian/libgstreamer-plugins-bad-dev.install \
 			> debian/libgstreamer-plugins-bad$(gst_abi)-dev.install