d/rules: Don't enable ffmpeg when experimental builds are copied to Ubuntu
authorSimon McVittie <smcv@debian.org>
Thu, 2 Sep 2021 08:16:26 +0000 (09:16 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 2 Sep 2021 08:16:26 +0000 (09:16 +0100)
debian/rules

index 45b3ff74e71eccb378d50200e3344128f8bf359b..7022ce49199867591962036367c956fd16f234ba 100755 (executable)
@@ -54,7 +54,7 @@ dh_subst_files = $(patsubst %.in,%,$(wildcard $(addprefix debian/, $(addsuffix *
 
 # Upstream consider the ffmpeg backend to be experimental, let's not
 # inflict that on suites other than experimental.
-ifeq (,$(filter-out experimental UNRELEASED,$(DEB_DISTRIBUTION)))
+ifeq (,$(filter-out Debian/experimental %/UNRELEASED,$(DEB_VENDOR)/$(DEB_DISTRIBUTION)))
 $(info Enabling ffmpeg because this is an experimental or UNRELEASED build)
 media_ffmpeg = enabled
 else