summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/multimedia/k3b-i18n/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-10-07 11:02:49 +0200
committerSlávek Banko <[email protected]>2021-10-07 11:03:07 +0200
commitc529b41b5261520154fd6293d38fa7b9d94e5114 (patch)
tree2f363215c2212f5f0da7279d7f36d61e2825a6d8 /ubuntu/_base/applications/multimedia/k3b-i18n/debian/rules
parent3ce4aefdf77ac26d20ee8d73da8bae7fced479ba (diff)
downloadtde-packaging-c529b41b5261520154fd6293d38fa7b9d94e5114.tar.gz
tde-packaging-c529b41b5261520154fd6293d38fa7b9d94e5114.zip
DEB k3b-i18n: Switch to common TDE cdbs rules.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit e8e3bce92df0749a789c74b1085b8f006d478004)
Diffstat (limited to 'ubuntu/_base/applications/multimedia/k3b-i18n/debian/rules')
-rwxr-xr-xubuntu/_base/applications/multimedia/k3b-i18n/debian/rules11
1 files changed, 1 insertions, 10 deletions
diff --git a/ubuntu/_base/applications/multimedia/k3b-i18n/debian/rules b/ubuntu/_base/applications/multimedia/k3b-i18n/debian/rules
index 440fce6c1..6a65ab1bb 100755
--- a/ubuntu/_base/applications/multimedia/k3b-i18n/debian/rules
+++ b/ubuntu/_base/applications/multimedia/k3b-i18n/debian/rules
@@ -2,16 +2,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
-
-# The default gzip compressor has been changed in dpkg >= 1.17.0.
-deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \
- sed -e "s|.*version ||" -e "s| .*||" | \
- xargs -r dpkg --compare-versions 1.17.0 lt \
- && echo xz || echo gzip)
-ifeq ($(deb_default_compress),gzip)
-DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
- && echo xz || echo bzip2)
-endif
+include debian/cdbs/debian-tde.mk
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \