summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/gwenview-i18n
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/applications/gwenview-i18n')
-rwxr-xr-xubuntu/precise/applications/gwenview-i18n/debian/rules3
-rw-r--r--ubuntu/precise/applications/gwenview-i18n/debian/source/options4
2 files changed, 5 insertions, 2 deletions
diff --git a/ubuntu/precise/applications/gwenview-i18n/debian/rules b/ubuntu/precise/applications/gwenview-i18n/debian/rules
index ef4e97ec1..3070a9c9d 100755
--- a/ubuntu/precise/applications/gwenview-i18n/debian/rules
+++ b/ubuntu/precise/applications/gwenview-i18n/debian/rules
@@ -9,6 +9,9 @@ include /usr/share/cdbs/1/rules/utils.mk
-include debian/debiandirs
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_INSTALL_DOCS_ALL :=
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
diff --git a/ubuntu/precise/applications/gwenview-i18n/debian/source/options b/ubuntu/precise/applications/gwenview-i18n/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/precise/applications/gwenview-i18n/debian/source/options
+++ b/ubuntu/precise/applications/gwenview-i18n/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences