25beeff079
Changes: http://www.boost.org/users/history/version_1_66_0.html PR: 223922 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D13279
63 lines
2.2 KiB
Makefile
63 lines
2.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= supercollider
|
|
PORTVERSION= 3.8.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://github.com/supercollider/supercollider/releases/download/Version-${PORTVERSION}/
|
|
DISTNAME= SuperCollider-${PORTVERSION}-Source-linux
|
|
|
|
MAINTAINER= brittlehaus@gmail.com
|
|
COMMENT= Programming language for real time audio synthesis
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/intrusive/unordered_set.hpp:devel/boost-libs
|
|
LIB_DEPENDS= libavahi-client.so:net/avahi-app \
|
|
libavahi-common.so:net/avahi-app \
|
|
libjack.so:audio/jack \
|
|
libsndfile.so:audio/libsndfile \
|
|
libfftw3f.so:math/fftw3-float
|
|
|
|
USES= cmake:outsource iconv localbase pkgconfig readline \
|
|
shared-mime-info tar:bzip2
|
|
USE_QT5= buildtools_build concurrent core gui linguisttools location \
|
|
network opengl printsupport qmake_build qml quick sensors \
|
|
sql webkit widgets
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/SuperCollider-Source
|
|
|
|
CMAKE_ENV= PKG_CONFIG_PATH=${LOCALBASE}/libdata/pkgconfig
|
|
CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE}/lib/qt5 \
|
|
-DLIBUSB_1_INCLUDE_DIR=/usr/include \
|
|
-DLIBUSB_1_LIBRARY=/usr/lib/libusb.so \
|
|
-DLIBSCSYNTH=ON
|
|
|
|
DESKTOP_ENTRIES="SuperCollider IDE" "" "${LOCALBASE}/share/pixmaps/sc_ide.svg" \
|
|
"scide" "" ${FALSE}
|
|
|
|
OPTIONS_DEFINE= HELP SUPERNOVA
|
|
OPTIONS_DEFAULT= HELP SUPERNOVA
|
|
# SUPERNOVA option BROKEN_FreeBSD_10: No viable conversion from 'boost::lockfree::detail::tagged_ptr<nova::freelist::freelist_node>'
|
|
OPTIONS_EXCLUDE_FreeBSD_10= SUPERNOVA
|
|
OPTIONS_SUB= yes
|
|
|
|
HELP_DESC= Install on-line help text
|
|
SUPERNOVA_DESC= Build with supernova as optional audio synthesis server
|
|
|
|
HELP_CMAKE_BOOL= INSTALL_HELP
|
|
SUPERNOVA_CMAKE_BOOL= SUPERNOVA
|
|
SUPERNOVA_USE= XORG=x11
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|MATCHES "Linux" AND|MATCHES "FreeBSD" AND|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
@${REINPLACE_CMD} -e 's|if(DL)|if(TRUE)|; s|target_link_libraries(libsupernova $${DL})|#|' \
|
|
${WRKSRC}/server/supernova/CMakeLists.txt
|
|
@${REINPLACE_CMD} -e 's|CMAKE_SYSTEM_NAME MATCHES "Linux"|CMAKE_SYSTEM_NAME MATCHES "FreeBSD"|' \
|
|
${WRKSRC}/server/plugins/CMakeLists.txt
|
|
@${REINPLACE_CMD} -e 's|__linux__|__FreeBSD__|' ${WRKSRC}/server/supernova/server/main.cpp
|
|
|
|
.include <bsd.port.mk>
|