- if pkg-config --exists xulrunner-gtkmozembed; then \
- MOZ_VERSION=$$(dpkg-query -W --showformat='$${version}' xulrunner | sed 's/+b[0-9]*$$//') \
- && echo "mozilla:Depends=xulrunner (>= $$MOZ_VERSION), xulrunner (<< $${MOZ_VERSION}a)" >> debian/videolink.substvars ; \
+ # VideoLink relies on some un-frozen APIs which may break
+ # between releases and even with backported security patches.
+ # The libxul packages have sonames and a shlibs file so we
+ # should get correct dependencies automatically, but this is
+ # not the case for mozilla-browser.
+ if dpkg-query -W libxul-dev >&/dev/null; then \
+ echo "mozilla:Depends=" >> debian/videolink.substvars ; \