[SCM] sonic-visualiser/master: provide a HOME-directory for running the tests
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Tue Oct 3 20:37:26 UTC 2017
The following commit has been merged in the master branch:
commit ff7c3f9fa21bc9156ca0be6b64373f1bb45243e7
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date: Tue Oct 3 22:22:07 2017 +0200
provide a HOME-directory for running the tests
diff --git a/debian/rules b/debian/rules
index 559ff61..db52bf7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
#export DH_VERBOSE = 1
export LC_ALL=C.UTF-8
+export HOME=$(CURDIR)/tmp
+
upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p')
dfsg_version = $(upstream_version)~repack1
pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
@@ -22,6 +24,7 @@ export QT_SELECT := qt5
dh $@
override_dh_auto_build:
+ mkdir -p $(CURDIR)/tmp
cp $(CURDIR)/debian/missing-sources/piper.capnp \
$(CURDIR)/piper-cpp/vamp-capnp
capnp compile -o c++ $(CURDIR)/piper-cpp/vamp-capnp/piper.capnp
@@ -32,6 +35,7 @@ override_dh_auto_clean:
rm -f $(CURDIR)/piper-cpp/vamp-capnp/piper.capnp
rm -f $(CURDIR)/piper-cpp/vamp-capnp/piper.capnp.c++
rm -f $(CURDIR)/piper-cpp/vamp-capnp/piper.capnp.h
+ rm -rf $(CURDIR)/tmp
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=.
--
sonic-visualiser packaging
More information about the pkg-multimedia-commits
mailing list