summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules13
1 files changed, 1 insertions, 12 deletions
diff --git a/debian/rules b/debian/rules
index df44d00c..85002f80 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,14 +17,7 @@ QT5_DEPS = libqt5svg5
QT5_RECOMMENDS = libqt5multimedia5-plugins
CONTROL_IN_SED_CMD =
-ifneq ($(filter focal jammy,$(DEB_DISTRIBUTION)),)
-CONTROL_IN_SED_CMD := $(CONTROL_IN_SED_CMD)s/@QT_BUILD_DEPS@/$(QT5_BUILD_DEPS)/;s/@QT_DEPS@/$(QT5_DEPS)/;s/@QT_RECOMMENDS@/$(QT5_RECOMMENDS)/;s/, qt/,\\n qt/g;
-else
CONTROL_IN_SED_CMD := $(CONTROL_IN_SED_CMD)s/@QT_BUILD_DEPS@/$(QT6_BUILD_DEPS)/;s/@QT_DEPS@/$(QT6_DEPS)/;s/@QT_RECOMMENDS@/$(QT6_RECOMMENDS)/;s/, qt/,\\n qt/g;
-endif
-ifneq ($(filter focal,$(DEB_DISTRIBUTION)),)
-CONTROL_IN_SED_CMD := $(CONTROL_IN_SED_CMD)s/^ *libbcg729-dev/\# libbcg729-dev/;s/^ *libnghttp3-dev/\# libnghttp3-dev/;
-endif
# This has to be exported to make some magic below work.
@@ -99,16 +92,12 @@ endif
override_dh_clean:
dh_clean -- debian/control
# regenerate debian/control
-ifneq ($(filter noble unstable testing trixie UNRELEASED,$(DEB_DISTRIBUTION)),)
- sed "$(CONTROL_IN_SED_CMD)" debian/control.t64.in > debian/control
-else
sed "$(CONTROL_IN_SED_CMD)" debian/control.in > debian/control
- # also revert t64-related changes in backports
+ # also revert t64-related changes in backports
for f in debian/lib*t64*; do \
[ -f $$f ] || continue; \
sed -i 's/\([0-9]\)t64/\1/g' $$f; \
echo $$f | sed 's/t64//' | xargs mv $$f; \
done
-endif
# ignore #653916
@echo 'blhc: ignore-line-regexp: .*CMakeCXXCompilerABI.cpp .*'