supercollider: initial add 3.10.0

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-12-03 00:38:03 +01:00
parent 2869e95800
commit 7d1a094729
3 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
From bbcd068659ced596402dedc78f49fabfab6470bd Mon Sep 17 00:00:00 2001
From: David Runge <dave@sleepmap.de>
Date: Sat, 29 Sep 2018 17:14:18 +0200
Subject: [PATCH] server/supernova/utilities/time_tag.hpp: Adding static_cast
to long for time_duration offset in microseconds to satisfy boost >= 1.67.0.
Upstream-Status: Applied [1]
[1] https://github.com/supercollider/supercollider/commit/bbcd068659ced596402dedc78f49fabfab6470bd
---
server/supernova/utilities/time_tag.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/supernova/utilities/time_tag.hpp b/server/supernova/utilities/time_tag.hpp
index 33b1effd8..3d0f21dba 100644
--- a/server/supernova/utilities/time_tag.hpp
+++ b/server/supernova/utilities/time_tag.hpp
@@ -229,7 +229,7 @@ public:
#ifdef BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
time_duration offset = seconds(get_secs() - ntp_offset) + nanoseconds(get_nanoseconds());
#else
- time_duration offset = seconds(get_secs() - ntp_offset) + microseconds(get_nanoseconds()/1000);
+ time_duration offset = seconds(get_secs() - ntp_offset) + microseconds(static_cast<long>(get_nanoseconds()/1000));
#endif
return ptime(base, offset);
}
--
2.14.4

View File

@@ -0,0 +1,57 @@
SUMMARY = "Programming language for audio synthesis and algorithmic composition"
HOMEPAGE = "http://supercollider.github.io/"
LICENSE = "GPL-3.0"
SRC_URI = " \
gitsm://github.com/supercollider/supercollider.git \
file://0001-server-supernova-utilities-time_tag.hpp-Adding-stati.patch \
"
SRCREV = "a3b8ac73001f315ad01b29b81a97fbf7d03b709f"
PV = "3.10.0"
S = "${WORKDIR}/git/"
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit cmake_qt5 distro_features_check mime
REQUIRED_DISTRO_FEATURES = "x11"
DEPENDS += " \
qttools-native qttools \
qtbase \
qtwebengine \
qtsvg \
fftw \
jack \
libsndfile1 \
alsa-lib \
libxt \
"
SIMD_OPTIONS ??= " \
-DSSE=OFF \
-DSSE2=OFF \
"
EXTRA_OECMAKE = "\
-DCMAKE_BUILD_TYPE="Release" \
-DBUILD_TESTING=OFF \
-DENABLE_TESTSUITE=OFF \
-DNATIVE=OFF \
${SIMD_OPTIONS} \
-DSC_EL=OFF \
"
PACKAGES =+ "${PN}-gedit-plugin"
FILES_${PN} += " \
${datadir}/gtksourceview-3.0 \
${datadir}/mime \
${datadir}/SuperCollider \
${libdir}/SuperCollider/plugins/*.so \
"
INSANE_SKIP_${PN} = "useless-rpaths"
FILES_${PN}-gedit-plugin = " \
${libdir}/gedit \
"

View File

@@ -120,6 +120,7 @@ RDEPENDS_${PN} += " \
\
soundtouch \
stk \
supercollider \
timidity++ \
triceratops-lv2 \
vamp-plugin-sdk \