[SCM] csound/master: Build and run tests
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Wed Jun 21 01:31:33 UTC 2017
The following commit has been merged in the master branch:
commit 6619a4486c34a04721b9478f1ce099648f43fa34
Author: Felipe Sateler <fsateler at debian.org>
Date: Tue Jun 20 20:43:24 2017 -0400
Build and run tests
But don't install the static library
diff --git a/debian/control b/debian/control
index 3a5d7f8..6fc1b6f 100644
--- a/debian/control
+++ b/debian/control
@@ -37,7 +37,8 @@ Build-Depends: debhelper (>= 9),
flex,
libportsmf-dev,
libeigen3-dev,
- dh-python
+ dh-python,
+ libcunit1-dev
Build-Depends-Indep: doxygen,
graphviz,
libjs-jquery,
diff --git a/debian/rules b/debian/rules
index 4a6c369..81a11d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ DEB_CMAKE_EXTRA_FLAGS = \
-DUSE_DOUBLE=ON \
-DUSE_GETTEXT=ON \
-DUSE_GIT_COMMIT=OFF \
- -DBUILD_STATIC_LIBRARY=OFF \
+ -DBUILD_STATIC_LIBRARY=ON \
-DUSE_OPEN_MP=ON \
-DUSE_LRINT=ON \
-DBUILD_UTILITIES=ON \
@@ -34,7 +34,7 @@ DEB_CMAKE_EXTRA_FLAGS = \
-DREQUIRE_PTHREADS=ON \
-DBUILD_MULTI_CORE=ON \
-DBUILD_CATALOG=OFF \
- -DBUILD_TESTS=OFF \
+ -DBUILD_TESTS=ON \
-DUSE_COMPILER_OPTIMIZATIONS=OFF \
ifneq "$(filter amd64 i386, $(DEB_HOST_ARCH_CPU))" ""
@@ -151,11 +151,15 @@ override_dh_auto_clean:
dh_auto_clean
rm -f Custom.cmake
rm -rf doc/doxygen
+ rm -f tests/c/debug.orc tests/c/debug.sco
+ rm -f tests/c/*.wav
override_dh_auto_install: override_dh_auto_install-indep override_dh_auto_install-arch
do_dh_auto_install:
dh_auto_install
+ # don't install the static library
+ rm $(CURDIR)/debian/tmp/usr/lib/libcsound64.a
override_dh_auto_install-indep: do_dh_auto_install
mkdir -p $(CURDIR)/debian/tmp/usr/share/csound/hrtf
--
csound packaging
More information about the pkg-multimedia-commits
mailing list