View | Details | Raw Unified | Return to bug 190887
Collapse All | Expand All

(-)audio/csound6/Makefile (-27 / +37 lines)
Lines 2-10 Link Here
2
# $FreeBSD: head/audio/csound6/Makefile 339832 2014-01-15 22:29:38Z bapt $
2
# $FreeBSD: head/audio/csound6/Makefile 339832 2014-01-15 22:29:38Z bapt $
3
3
4
PORTNAME=	csound
4
PORTNAME=	csound
5
PORTVERSION=	6.02
5
PORTVERSION=	6.03.2
6
CATEGORIES=	audio lang
6
CATEGORIES=	audio lang
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}6/${PORTNAME:S/c/C/}${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}6/${PORTNAME:S/c/C/}${PORTVERSION:R}
8
PKGNAMESUFFIX=	6
8
PKGNAMESUFFIX=	6
9
DISTNAME=	${PORTNAME:S/c/C/}${PORTVERSION}
9
DISTNAME=	${PORTNAME:S/c/C/}${PORTVERSION}
10
DIST_SUBDIR=	csound
10
DIST_SUBDIR=	csound
Lines 20-45 Link Here
20
		gmm++>0:${PORTSDIR}/math/gmm++
20
		gmm++>0:${PORTSDIR}/math/gmm++
21
LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
21
LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
22
22
23
CONFLICTS=	csound-5.*
23
USES=		bison cmake
24
25
OPTIONS_DEFINE=	ALSA DSSI FLTK FLUIDSYNTH JACK LUA NLS OPENMP OSC PNG \
26
		PORTAUDIO PULSEAUDIO
27
OPTIONS_DEFAULT=FLTK OPENMP
28
OPTIONS_SUB=	yes
29
ALSA_DESC=	Build ALSA I/O module
30
DSSI_DESC=	Build DSSI/LADSPA host opcodes
31
FLTK_DESC=	Build FLTK plugin and GUI
32
FLUIDSYNTH_DESC=Building FluidSynth opcodes
33
JACK_DESC=	Build Jack I/O module and opcodes
34
LUA_DESC=	Build Lua Interface and opcodes
35
OSC_DESC=	Build OSC opcodes
36
PNG_DESC=	Build Image opcodes
37
PORTAUDIO_DESC=	Build PortAudio I/O module
38
PULSEAUDIO_DESC=Build PulseAudio I/O module
39
40
CONFLICTS_INSTALL=	outguess-*
41
42
USES=		bison cmake gettext
43
USE_PYTHON=	2
24
USE_PYTHON=	2
44
CMAKE_ARGS=	-DBUILD_CSOUNDVST:BOOL=OFF \
25
CMAKE_ARGS=	-DBUILD_CSOUNDVST:BOOL=OFF \
45
		-DBUILD_JAVA_INTERFACE:BOOL=OFF \
26
		-DBUILD_JAVA_INTERFACE:BOOL=OFF \
Lines 55-88 Link Here
55
36
56
SUB_FILES=	pkg-message
37
SUB_FILES=	pkg-message
57
38
39
CONFLICTS=		csound-5.*
40
CONFLICTS_INSTALL=	outguess-*
41
42
OPTIONS_DEFINE=		ALSA CURL DSSI FLTK FLUIDSYNTH JACK LUA NLS \
43
			OPENMP OSC PNG PORTAUDIO PULSEAUDIO
44
OPTIONS_DEFAULT=	FLTK OPENMP
45
OPTIONS_SUB=		yes
46
47
ALSA_DESC=		Build ALSA I/O module
58
ALSA_LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib
48
ALSA_LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib
59
ALSA_CMAKE_OFF=		-DUSE_ALSA:BOOL=OFF
49
ALSA_CMAKE_OFF=		-DUSE_ALSA:BOOL=OFF
50
CURL_LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
51
CURL_CMAKE_OFF=		-DUSE_CURL:BOOL=OFF
52
DSSI_DESC=		Build DSSI/LADSPA host opcodes
60
DSSI_BUILD_DEPENDS=	dssi>0:${PORTSDIR}/audio/dssi
53
DSSI_BUILD_DEPENDS=	dssi>0:${PORTSDIR}/audio/dssi
61
DSSI_RUN_DEPENDS=	dssi>0:${PORTSDIR}/audio/dssi
54
DSSI_RUN_DEPENDS=	dssi>0:${PORTSDIR}/audio/dssi
62
DSSI_CMAKE_OFF=		-DBUILD_DSSI_OPCODES:BOOL=OFF
55
DSSI_CMAKE_OFF=		-DBUILD_DSSI_OPCODES:BOOL=OFF
56
FLTK_DESC=		Build FLTK plugin and GUI
63
FLTK_LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
57
FLTK_LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
64
FLTK_CMAKE_ON=		-DBUILD_WINSOUND:BOOL=ON
58
FLTK_CMAKE_ON=		-DBUILD_WINSOUND:BOOL=ON
65
FLTK_CMAKE_OFF=		-DUSE_FLTK:BOOL=OFF
59
FLTK_CMAKE_OFF=		-DBUILD_CSOUND_AC:BOOL=OFF \
60
			-DBUILD_VIRTUAL_KEYBOARD:BOOL=OFF \
61
			-DUSE_FLTK:BOOL=OFF
62
FLUIDSYNTH_DESC=	Building FluidSynth opcodes
66
FLUIDSYNTH_LIB_DEPENDS=	libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
63
FLUIDSYNTH_LIB_DEPENDS=	libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
67
FLUIDSYNTH_CMAKE_OFF=	-DBUILD_FLUID_OPCODES:BOOL=OFF
64
FLUIDSYNTH_CMAKE_OFF=	-DBUILD_FLUID_OPCODES:BOOL=OFF
65
JACK_DESC=		Build Jack I/O module and opcodes
68
JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audio/jack
66
JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audio/jack
69
JACK_CMAKE_OFF=		-DBUILD_JACK_OPCODES:BOOL=OFF \
67
JACK_CMAKE_OFF=		-DBUILD_JACK_OPCODES:BOOL=OFF \
70
			-DUSE_JACK:BOOL=OFF
68
			-DUSE_JACK:BOOL=OFF
69
LUA_DESC=		Build Lua Interface and opcodes
71
LUA_LIB_DEPENDS=	libluajit-5.1.so:${PORTSDIR}/lang/luajit
70
LUA_LIB_DEPENDS=	libluajit-5.1.so:${PORTSDIR}/lang/luajit
72
LUA_CMAKE_OFF=		-DBUILD_CSOUND_AC_LUA_INTERFACE:BOOL=OFF \
71
LUA_CMAKE_OFF=		-DBUILD_CSOUND_AC_LUA_INTERFACE:BOOL=OFF \
73
			-DBUILD_LUA_INTERFACE:BOOL=OFF \
72
			-DBUILD_LUA_INTERFACE:BOOL=OFF \
74
			-DBUILD_LUA_OPCODES:BOOL=OFF
73
			-DBUILD_LUA_OPCODES:BOOL=OFF
75
NLS_USES=		gettext
74
NLS_USES=		gettext
76
NLS_CMAKE_OFF=		-DUSE_GETTEXT:BOOL=OFF
75
NLS_CMAKE_OFF=		-DGETTEXT_MSGFMT_EXECUTABLE="" \
76
			-DLIBINTL_HEADER:STRING="" \
77
			-DLIBINTL_LIBRARY:STRING="" \
78
			-DUSE_GETTEXT:BOOL=OFF
77
OPENMP_USES=		compiler:openmp
79
OPENMP_USES=		compiler:openmp
78
OPENMP_CMAKE_OFF=	-DUSE_OPEN_MP:BOOL=OFF
80
OPENMP_CMAKE_OFF=	-DUSE_OPEN_MP:BOOL=OFF
81
OSC_DESC=		Build OSC opcodes
79
OSC_LIB_DEPENDS=	liblo.so:${PORTSDIR}/audio/liblo
82
OSC_LIB_DEPENDS=	liblo.so:${PORTSDIR}/audio/liblo
80
OSC_CMAKE_OFF=		-DBUILD_OSC_OPCODES:BOOL=OFF
83
OSC_CMAKE_OFF=		-DBUILD_OSC_OPCODES:BOOL=OFF
84
PNG_DESC=		Build Image opcodes
81
PNG_LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
85
PNG_LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
82
PNG_CMAKE_OFF=		-DBUILD_IMAGE_OPCODES:BOOL=OFF
86
PNG_CMAKE_OFF=		-DBUILD_IMAGE_OPCODES:BOOL=OFF
87
PORTAUDIO_DESC=		Build PortAudio I/O module
83
PORTAUDIO_BUILD_DEPENDS=portaudio2>0:${PORTSDIR}/audio/portaudio2
88
PORTAUDIO_BUILD_DEPENDS=portaudio2>0:${PORTSDIR}/audio/portaudio2
84
PORTAUDIO_RUN_DEPENDS=	portaudio2>0:${PORTSDIR}/audio/portaudio2
89
PORTAUDIO_RUN_DEPENDS=	portaudio2>0:${PORTSDIR}/audio/portaudio2
90
PORTAUDIO_CMAKE_ON=	-DPORTAUDIO_INCLUDE_PATH:STRING="${LOCALBASE}/include/portaudio2" \
91
			-DPORTAUDIO_LIBRARY:STRING="${LOCALBASE}/lib/portaudio2/libportaudio.so"
85
PORTAUDIO_CMAKE_OFF=	-DUSE_PORTAUDIO:BOOL=OFF
92
PORTAUDIO_CMAKE_OFF=	-DUSE_PORTAUDIO:BOOL=OFF
93
PULSEAUDIO_DESC=	Build PulseAudio I/O module
86
PULSEAUDIO_LIB_DEPENDS=	libpulse-simple.so:${PORTSDIR}/audio/pulseaudio
94
PULSEAUDIO_LIB_DEPENDS=	libpulse-simple.so:${PORTSDIR}/audio/pulseaudio
87
PULSEAUDIO_CMAKE_OFF=	-DUSE_PULSEAUDIO:BOOL=OFF
95
PULSEAUDIO_CMAKE_OFF=	-DUSE_PULSEAUDIO:BOOL=OFF
88
96
Lines 127-134 Link Here
127
		${WRKSRC}/util1/CMakeLists.txt
135
		${WRKSRC}/util1/CMakeLists.txt
128
136
129
post-install:
137
post-install:
130
.for i in libCsoundAC.so libcsnd6.so libcsound64.so
138
	@${LN} -sf libcsnd6.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsnd6.so.6
131
	@${LN} -sf ${i}.6.0 ${STAGEDIR}${PREFIX}/lib/${i}.6
139
	@${LN} -sf libcsound64.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsound64.so.6
132
.endfor
140
.if ${PORT_OPTIONS:MFLTK}
141
	@${LN} -sf libCsoundAC.so.6.0 ${STAGEDIR}${PREFIX}/lib/libCsoundAC.so.6
142
.endif
133
143
134
.include <bsd.port.mk>
144
.include <bsd.port.mk>
(-)audio/csound6/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (csound/Csound6.02.tar.gz) = b964199642b1141d4e3253a86996c613c2420c4e2cc39cad347ad7115768c0a5
1
SHA256 (csound/Csound6.03.2.tar.gz) = f5f8364e0bc10aba473800e66176c08ac32b43ca69ad02dc9554bad54e91d170
2
SIZE (csound/Csound6.02.tar.gz) = 23459796
2
SIZE (csound/Csound6.03.2.tar.gz) = 24571513
(-)audio/csound6/files/patch-Top-csound.c (-6 / +6 lines)
Lines 4-11 Link Here
4
 #include "cs_par_dispatch.h"
4
 #include "cs_par_dispatch.h"
5
 #include "csound_orc_semantics.h"
5
 #include "csound_orc_semantics.h"
6
 
6
 
7
-#if defined(linux) || defined(__HAIKU__)
7
-#if defined(linux) || defined(__HAIKU__) || defined(EMSCRIPTEN)
8
+#if defined(linux) || defined(__HAIKU__) || defined(__FreeBSD__)
8
+#if defined(linux) || defined(__HAIKU__) || defined(__FreeBSD__) || defined(EMSCRIPTEN)
9
 #define PTHREAD_SPINLOCK_INITIALIZER 0
9
 #define PTHREAD_SPINLOCK_INITIALIZER 0
10
 #endif
10
 #endif
11
 
11
 
Lines 15-21 Link Here
15
 #if defined(USE_OPENMP)
15
 #if defined(USE_OPENMP)
16
 #include <omp.h>
16
 #include <omp.h>
17
 #endif /* USE_OPENMP */
17
 #endif /* USE_OPENMP */
18
@@ -899,7 +902,7 @@
18
@@ -919,7 +922,7 @@
19
 
19
 
20
 #if defined(ANDROID) || (!defined(LINUX) && !defined(SGI) && \
20
 #if defined(ANDROID) || (!defined(LINUX) && !defined(SGI) && \
21
                          !defined(__HAIKU__) && !defined(__BEOS__) && \
21
                          !defined(__HAIKU__) && !defined(__BEOS__) && \
Lines 24-30 Link Here
24
 static char *signal_to_string(int sig)
24
 static char *signal_to_string(int sig)
25
 {
25
 {
26
     switch(sig) {
26
     switch(sig) {
27
@@ -3172,7 +3175,7 @@
27
@@ -3420,7 +3423,7 @@
28
 /* ------------------------------------ */
28
 /* ------------------------------------ */
29
 
29
 
30
 #if defined(HAVE_RDTSC)
30
 #if defined(HAVE_RDTSC)
Lines 33-39 Link Here
33
 #undef HAVE_RDTSC
33
 #undef HAVE_RDTSC
34
 #endif
34
 #endif
35
 #endif
35
 #endif
36
@@ -3185,6 +3188,13 @@
36
@@ -3433,6 +3436,13 @@
37
 static int getTimeResolution(void)
37
 static int getTimeResolution(void)
38
 {
38
 {
39
 #if defined(HAVE_RDTSC)
39
 #if defined(HAVE_RDTSC)
Lines 47-53 Link Here
47
     FILE    *f;
47
     FILE    *f;
48
     char    buf[256];
48
     char    buf[256];
49
 
49
 
50
@@ -3220,9 +3230,14 @@
50
@@ -3468,9 +3478,14 @@
51
       }
51
       }
52
     }
52
     }
53
     fclose(f);
53
     fclose(f);
(-)audio/csound6/pkg-plist (-7 / +9 lines)
Lines 3-8 Link Here
3
bin/csanalyze
3
bin/csanalyze
4
bin/csb64enc
4
bin/csb64enc
5
bin/csbeats
5
bin/csbeats
6
bin/csdebugger
6
bin/csmixer
7
bin/csmixer
7
bin/csound
8
bin/csound
8
bin/cvanal
9
bin/cvanal
Lines 36-41 Link Here
36
include/csound/csPerfThread.hpp
37
include/csound/csPerfThread.hpp
37
include/csound/cs_par_structs.h
38
include/csound/cs_par_structs.h
38
include/csound/cscore.h
39
include/csound/cscore.h
40
include/csound/csdebug.h
39
include/csound/csdl.h
41
include/csound/csdl.h
40
include/csound/csound.h
42
include/csound/csound.h
41
include/csound/csound.hpp
43
include/csound/csound.hpp
Lines 45-51 Link Here
45
include/csound/csound_type_system.h
47
include/csound/csound_type_system.h
46
include/csound/cwindow.h
48
include/csound/cwindow.h
47
include/csound/filebuilding.h
49
include/csound/filebuilding.h
48
include/csound/float-version-double.h
50
@comment include/csound/float-version-double.h
49
include/csound/float-version.h
51
include/csound/float-version.h
50
include/csound/interlocks.h
52
include/csound/interlocks.h
51
include/csound/msg_attr.h
53
include/csound/msg_attr.h
Lines 87-97 Link Here
87
lib/csound/plugins-6.0/libstdutil.so
89
lib/csound/plugins-6.0/libstdutil.so
88
lib/csound/plugins-6.0/libsystem_call.so
90
lib/csound/plugins-6.0/libsystem_call.so
89
lib/csound/plugins-6.0/liburandom.so
91
lib/csound/plugins-6.0/liburandom.so
90
lib/csound/plugins-6.0/libvirtual.so
92
%%FLTK%%lib/csound/plugins-6.0/libvirtual.so
91
%%FLTK%%lib/csound/plugins-6.0/libwidgets.so
93
%%FLTK%%lib/csound/plugins-6.0/libwidgets.so
92
lib/libCsoundAC.so
94
%%FLTK%%lib/libCsoundAC.so
93
lib/libCsoundAC.so.6
95
%%FLTK%%lib/libCsoundAC.so.6
94
lib/libCsoundAC.so.6.0
96
%%FLTK%%lib/libCsoundAC.so.6.0
95
lib/libcsnd6.so
97
lib/libcsnd6.so
96
lib/libcsnd6.so.6
98
lib/libcsnd6.so.6
97
lib/libcsnd6.so.6.0
99
lib/libcsnd6.so.6.0
Lines 100-107 Link Here
100
lib/libcsound64.so.6.0
102
lib/libcsound64.so.6.0
101
%%LUA%%lib/luaCsnd6.so
103
%%LUA%%lib/luaCsnd6.so
102
%%LUA%%lib/luaCsoundAC.so
104
%%LUA%%lib/luaCsoundAC.so
103
%%PYTHON_SITELIBDIR%%/CsoundAC.py
105
%%FLTK%%%%PYTHON_SITELIBDIR%%/CsoundAC.py
104
%%PYTHON_SITELIBDIR%%/_CsoundAC.so
106
%%FLTK%%%%PYTHON_SITELIBDIR%%/_CsoundAC.so
105
%%PYTHON_SITELIBDIR%%/_csnd6.so
107
%%PYTHON_SITELIBDIR%%/_csnd6.so
106
%%PYTHON_SITELIBDIR%%/csnd6.py
108
%%PYTHON_SITELIBDIR%%/csnd6.py
107
%%NLS%%share/locale/de/LC_MESSAGES/csound6.mo
109
%%NLS%%share/locale/de/LC_MESSAGES/csound6.mo

Return to bug 190887