Add wayland-protocols to the build-dependencies as required for jessie
diff --git a/debian/changelog b/debian/changelog
index 8abe738..0a8a9d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gst-plugins-bad1.0 (1.10.0-2) UNRELEASED; urgency=medium
+
+  * debian/rules:
+    + Add wayland-protocols to the build-dependencies as required for jessie.
+      Nowadays it is automatically pulled in somehow. Patch by Marc Leeman.
+
+ -- Sebastian Dröge <slomo@debian.org>  Mon, 07 Nov 2016 16:01:20 +0200
+
 gst-plugins-bad1.0 (1.10.0-1) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff --git a/debian/control b/debian/control
index 57618ba..a8ce5e0 100644
--- a/debian/control
+++ b/debian/control
@@ -26,6 +26,7 @@
                libbluetooth-dev (>= 5) [linux-any],
                libsbc-dev (>= 1.1) [linux-any],
                libwayland-dev (>= 1.0) [linux-any],
+               wayland-protocols [linux-any],
                libgstreamer1.0-dev (>= 1.10.0),
                gstreamer1.0-doc,
                gstreamer1.0-plugins-base (>= 1.10.0),
diff --git a/debian/rules b/debian/rules
index 0737a7c..33358f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,6 +59,7 @@
 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]
+gst_extra_build_depends += , wayland-protocols [linux-any]
 
 # The plugins are basically the same.
 # Link special names to a template file.
@@ -161,7 +162,7 @@
 	done
 	sort $@ -o $@
 
-debian/control:: debian/control.in debian/build-deps debian/mk.control debian/rules
+debian/control: debian/control.in debian/build-deps debian/mk.control debian/rules
 	perl debian/mk.control | sed \
 		-e 's/@GST_VERSION@/$(gst_version)/g' \
 		-e 's/@GST_ABI@/$(gst_abi)/g' \