Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina-Ubuntu-PPA.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Panozzo <giovanni@panozzo.it>2020-12-07 16:59:03 +0300
committerGiovanni Panozzo <giovanni@panozzo.it>2020-12-07 16:59:03 +0300
commitd914e1195fd35f994ff5aaf70a0a2c960878ce6f (patch)
tree5c872c7675bdacc20d3ff96b8b26743a933b5b85
parentd2bd84aa9a219352e88d9ffe1f1ff2d33cb1b053 (diff)
Update rules: sync from debian
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules19
2 files changed, 25 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 1bf9b92..e9bd62a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+remmina (1.4.8-1+ppa1.3) UNRELEASED; urgency=medium
+
+ * Update debian/rules to match with Debian
+
+ -- Giovanni Panozzo <giovanni@panozzo.it> Mon, 07 Dec 2020 14:56:40 +0100
+
remmina (1.4.8-1+ppa1.2) unstable; urgency=medium
* Fixing dependencies
diff --git a/debian/rules b/debian/rules
index b3e2fb8..494a8cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,33 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/vendor.mk
+
# hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifeq ($(DEB_VENDOR),Debian)
+ SETNEWS = OFF
+else
+ SETNEWS = ON
+endif
+
%:
dh $@
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DWITH_KF5WALLET=ON \
+ -DWITH_KIOSK_SESSION=ON \
+ -DWITH_NEWS=$(SETNEWS)
+
override_dh_install:
dh_install
+ cd po; intltool-update --pot --verbose -g remmina
[ -d debian/remmina-common ] && \
find $(CURDIR)/debian/remmina-common -name "*remmina.desktop" -delete && \
find $(CURDIR)/debian/remmina-common -name "*remmina.1" -delete && \
find $(CURDIR)/debian/remmina-common -type d -empty -delete || true
+
+override_dh_clean:
+ -rm po/remmina.pot
+ dh_clean