[SCM] csound/master: Use the ninja cmake backend for some build speed
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Thu Aug 24 01:03:23 UTC 2017
The following commit has been merged in the master branch:
commit b5ada154a2e3bca85511ec3fb81f23b7a55595ba
Author: Felipe Sateler <fsateler at debian.org>
Date: Wed Aug 23 21:57:59 2017 -0300
Use the ninja cmake backend for some build speed
diff --git a/debian/control b/debian/control
index 492fda7..59c432c 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 9),
python,
devscripts,
cmake,
+ ninja-build,
libsndfile1-dev,
libasound2-dev [linux-any],
libjack-dev,
diff --git a/debian/rules b/debian/rules
index d611003..6bfda6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -127,7 +127,7 @@ else
endif
%:
- dh $@ --with python2,linktree,buildinfo --parallel
+ dh $@ --with python2,linktree,buildinfo --parallel --buildsystem=ninja --builddirectory=obj-$(DEB_HOST_MULTIARCH)
PACKAGE_DATE = $(shell env --ignore-environment TZ=UTC LANG=C date -d@$(SOURCE_DATE_EPOCH) +%F)
PYVERSION = $(shell pyversions -vd)
@@ -139,7 +139,7 @@ override_dh_auto_configure:
-e 's, at DATE@,$(PACKAGE_DATE),' -e 's, at PYVERSION@,$(PYVERSION),' \
debian/Custom.cmake > \
Custom.cmake
- dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
+ dh_auto_configure --buildsystem=cmake -- -G Ninja $(DEB_CMAKE_EXTRA_FLAGS)
override_dh_auto_build-arch:
dh_auto_build
--
csound packaging
More information about the pkg-multimedia-commits
mailing list