Skip to content

Commit

Permalink
audio/supercollider: update to 3.13.03
Browse files Browse the repository at this point in the history
 - fix handling of webengine dependency and SSE use
 - fix recent build failures due to boost update

Changelog: https://github.com/supercollider/supercollider/releases/tag/Version-3.13.0

PR:		277722
  • Loading branch information
Neal Nelson authored and clausecker committed May 13, 2024
1 parent 0838cb8 commit ba66126
Show file tree
Hide file tree
Showing 13 changed files with 85 additions and 241 deletions.
27 changes: 12 additions & 15 deletions audio/supercollider/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
PORTNAME= supercollider
DISTVERSION= 3.11.2
PORTREVISION= 7
DISTVERSION= 3.13.0
CATEGORIES= audio
MASTER_SITES= https://github.com/supercollider/supercollider/releases/download/Version-${PORTVERSION}/
DISTNAME= SuperCollider-${PORTVERSION}-Source

PATCH_SITES= https://github.com/supercollider/supercollider/commit/
PATCHFILES= b9dd70c4c8d61c93d7a70645e0bd18fa76e6834e.patch:-p1

MAINTAINER= ports@nicandneal.net
COMMENT= Programming language for real time audio synthesis
WWW= https://supercollider.github.io
Expand All @@ -23,19 +19,25 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \

USES= cmake compiler:c++11-lang iconv localbase pkgconfig \
qt:5 readline shared-mime-info tar:bzip2 xorg
USE_QT_amd64= webengine
USE_QT_i386= webengine
USE_QT= buildtools:build concurrent core declarative gui linguisttools location \
network opengl printsupport qmake:build sensors \
sql widgets websockets webchannel svg
sql widgets websockets webchannel svg ${USE_QT_${ARCH}}
USE_XORG= x11
USE_LDCONFIG= yes

CMAKE_ARGS_nox86= -DSSE:BOOL=FALSE \
-DSSE2:BOOL=FALSE \
-DSC_USE_QTWEBENGINE:BOOL=FALSE
CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE}/lib/qt5 \
-DLIBUSB_1_INCLUDE_DIR=/usr/include \
-DLIBUSB_1_LIBRARY=/usr/lib/libusb.so \
-DLIBSCSYNTH=ON \
-DSYSTEM_BOOST=ON \
-DSYSTEM_YAMLCPP=ON \
-DSC_ABLETON_LINK=OFF
-DSC_ABLETON_LINK=OFF \
${ARCH:Namd64:Ni386:C/.*/${CMAKE_ARGS_nox86}/}

DESKTOP_ENTRIES="SuperCollider IDE" "" "${LOCALBASE}/share/pixmaps/sc_ide.svg" \
"scide" "" false
Expand All @@ -53,12 +55,7 @@ AVAHI_CMAKE_BOOL_OFF= NO_AVAHI
HELP_CMAKE_BOOL= INSTALL_HELP
SUPERNOVA_CMAKE_BOOL= SUPERNOVA

.include <bsd.port.pre.mk>

.if ! ${ARCH} == amd64 && ! ${ARCH} == i386
CMAKE_ARGS+= -DSSE:BOOL=FALSE -DSSE2:BOOL=FALSE -DSC_USE_QTWEBENGINE:BOOL=FALSE
.else
USE_QT+= webengine
.endif
post-patch:
${CP} ${WRKSRC}/external_libraries/boost/boost/filesystem/string_file.hpp ${WRKSRC}/include/common

.include <bsd.port.post.mk>
.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions audio/supercollider/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1672258513
SHA256 (SuperCollider-3.11.2-Source.tar.bz2) = c22c32c6bc482671d4fb8f51672df712d97a6a6277235c4da2312910303a0506
SIZE (SuperCollider-3.11.2-Source.tar.bz2) = 18130954
TIMESTAMP = 1708353834
SHA256 (SuperCollider-3.13.0-Source.tar.bz2) = 0fc5dba5baeae37f9069ad28885aa405c6a25309e3886cbe111bd3b7c05531ce
SIZE (SuperCollider-3.13.0-Source.tar.bz2) = 18685091
SHA256 (b9dd70c4c8d61c93d7a70645e0bd18fa76e6834e.patch) = 49d15a62a467143412850595c11a910e70e5ff1e20d7d0608940f8ffa9ce586f
SIZE (b9dd70c4c8d61c93d7a70645e0bd18fa76e6834e.patch) = 9133
22 changes: 0 additions & 22 deletions audio/supercollider/files/patch-common_SC__Apple.hpp

This file was deleted.

68 changes: 0 additions & 68 deletions audio/supercollider/files/patch-common_SC__Apple.mm

This file was deleted.

37 changes: 0 additions & 37 deletions audio/supercollider/files/patch-common_SC__AppleEventLoop.hpp

This file was deleted.

19 changes: 0 additions & 19 deletions audio/supercollider/files/patch-common_SC__EventLoop.hpp

This file was deleted.

This file was deleted.

11 changes: 11 additions & 0 deletions audio/supercollider/files/patch-lang_LangSource_PyrLexer.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- lang/LangSource/PyrLexer.cpp.orig 2024-03-15 10:40:00 UTC
+++ lang/LangSource/PyrLexer.cpp
@@ -38,7 +38,7 @@

#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
-#include <boost/filesystem/string_file.hpp>
+#include "string_file.hpp"

#include "PyrParseNode.h"
#include "Bison/lang11d_tab.h"
17 changes: 0 additions & 17 deletions audio/supercollider/files/patch-server_scsynth_CMakeLists.txt

This file was deleted.

11 changes: 11 additions & 0 deletions audio/supercollider/files/patch-server_scsynth_SC__GraphDef.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- server/scsynth/SC_GraphDef.cpp.orig 2024-03-15 10:33:57 UTC
+++ server/scsynth/SC_GraphDef.cpp
@@ -46,7 +46,7 @@
#include <string>

#include <boost/filesystem/operations.hpp> // recursive_directory_iterator
-#include <boost/filesystem/string_file.hpp> // load_string_file
+#include "string_file.hpp" // load_string_file

namespace bfs = boost::filesystem;

18 changes: 0 additions & 18 deletions audio/supercollider/files/patch-server_supernova_CMakeLists.txt

This file was deleted.

This file was deleted.

0 comments on commit ba66126

Please sign in to comment.