X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=ff70afd77f0316fe468af1553a9af51fe3e27506;hb=180cac3ff20c3a365c7f75f95b87a25229b1f1a4;hp=2561b71dd2e62ef4c274640744a17b9895c96afa;hpb=6a5943002ec9c852ebc9fbbd341955893ecf4769;p=videolink.git diff --git a/debian/rules b/debian/rules index 2561b71..ff70afd 100755 --- a/debian/rules +++ b/debian/rules @@ -10,9 +10,13 @@ binary-arch : build make DESTDIR=debian/videolink prefix=/usr install dh_strip dh_shlibdeps - 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 ; \ else \ MOZ_VERSION=$$(dpkg-query -W --showformat='$${version}' mozilla-browser | sed 's/+b[0-9]*$$//') \ && echo "mozilla:Depends=mozilla-browser (>= $$MOZ_VERSION), mozilla-browser (<< $${MOZ_VERSION}+b99)" >> debian/videolink.substvars ; \