[SCM] supercollider/master: Do not build/provide supernova on sparc/powerpc (fixes #728573)

danstowell-guest at users.alioth.debian.org danstowell-guest at users.alioth.debian.org
Sun Nov 24 12:42:48 UTC 2013


The following commit has been merged in the master branch:
commit ca0fa854199bdf7ea48c2464776fba4d006cb827
Author: Dan Stowell <danstowell at users.sourceforge.net>
Date:   Sun Nov 24 11:43:42 2013 +0000

    Do not build/provide supernova on sparc/powerpc (fixes #728573)

diff --git a/debian/control b/debian/control
index dbc1f14..e8532f4 100644
--- a/debian/control
+++ b/debian/control
@@ -112,7 +112,7 @@ Description: integrated development environment for supercollider audio system
  working with SuperCollider code.
 
 Package: supercollider-supernova
-Architecture: any
+Architecture: any-i386 any-amd64 armel armhf ia64 mips mipsel s390 s390x
 Depends: ${shlibs:Depends}, ${misc:Depends}, jackd
 Description: real time audio synthesis server (multiprocessor version)
  SuperCollider is an environment and programming language for real time
diff --git a/debian/rules b/debian/rules
index 9fc26f1..f76ebbb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,18 @@ DEB_INSTALL_MANPAGES_supercollider-language  = debian/sclang.1
 DEB_INSTALL_MANPAGES_supercollider-vim     = debian/scvim.1 debian/sclangpipe_app.1
 DEB_INSTALL_MANPAGES_supercollider-ide     = debian/scide.1
 
-DEB_CMAKE_EXTRA_FLAGS = -DDSO_VISIBILITY=on -DSUPERNOVA=on -DSC_EL_BYTECOMPILE=off -DSYSTEM_BOOST=on -DENABLE_TESTSUITE=off -DLIBSCSYNTH=on -DSYSTEM_YAMLCPP=on
+# supernova (alternative to scsynth) uses fancy simd things which fail to build on sparc/powerpc
+ifeq ("$(DEB_HOST_ARCH_CPU)","sparc")
+	DEB_BUILD_SUPERNOVA=off
+else
+	ifeq ("$(DEB_HOST_ARCH_CPU)","powerpc")
+		DEB_BUILD_SUPERNOVA=off
+	else
+		DEB_BUILD_SUPERNOVA=on
+	endif
+endif
+
+DEB_CMAKE_EXTRA_FLAGS = -DDSO_VISIBILITY=on -DSC_EL_BYTECOMPILE=off -DSYSTEM_BOOST=on -DENABLE_TESTSUITE=off -DLIBSCSYNTH=on -DSYSTEM_YAMLCPP=on -DSUPERNOVA="$(DEB_BUILD_SUPERNOVA)"
 
 # Exclude external libs from the source package if unused on linux or using system-supplied
 DEB_UPSTREAM_REPACKAGE_EXCLUDES = \

-- 
supercollider packaging



More information about the pkg-multimedia-commits mailing list