Index: audio/carla/Makefile =================================================================== --- /dev/null +++ audio/carla/Makefile @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= Carla +DISTVERSION= 1.9.7 +CATEGORIES= audio + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Audio LV2 plugin host for Jack and PulseAudio + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/doc/GPL.txt + +LIB_DEPENDS= liblo.so:audio/liblo \ + libsndfile.so:audio/libsndfile +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyliblo>0:audio/py-pyliblo + +USES= compiler:c++11-lib desktop-file-utils gmake localbase pkgconfig python:3 pyqt:5 shared-mime-info shebangfix tar:bz2 +USE_GITHUB= yes +GH_ACCOUNT= falkTX +GH_TAGNAME= a472b6d +USE_PYQT= core svg_run gui_run widgets_run +USE_QT5= core gui widgets +USE_GNOME= gtk20 gtk30 +USE_XORG= x11 +USE_LDCONFIG= ${PREFIX}/lib/carla + +MAKE_ARGS= BSD=true \ + HAVE_QT5=true \ + HAVE_QT4=false \ + MOC_QT5=${LOCALBASE}/lib/qt5/bin/moc \ + RCC_QT5=${LOCALBASE}/lib/qt5/bin/rcc \ + EXTERNAL_PLUGINS=false + +OPTIONS_DEFINE= FFMPEG FLUIDSYNTH LINUXSAMPLER JACK PULSEAUDIO +LINUXSAMPLER_DESC= Use LinuxSampler + +FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg +FFMPEG_MAKE_ARGS_OFF= HAVE_FFMPEG=false +FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth +LINUXSAMPLER_LIB_DEPENDS= liblinuxsampler.so:audio/linuxsampler +JACK_RUN_DEPENDS= ${LOCALBASE}/lib/libjack.so:audio/jack +PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio + +post-install: + @${REINPLACE_CMD} -e 's|%%PYTHON%%|${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/carla + +devel-features: patch + @${ECHO} "Developer command: show build features" + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} features + +.include Index: audio/carla/distinfo =================================================================== --- /dev/null +++ audio/carla/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1511304593 +SHA256 (falkTX-Carla-1.9.7-a472b6d_GH0.tar.gz) = d791fe70312345b8c724585d153cf9a53ed2e90acda12e697ea5a54dd4de58ee +SIZE (falkTX-Carla-1.9.7-a472b6d_GH0.tar.gz) = 9767920 Index: audio/carla/files/patch-Makefile =================================================================== --- /dev/null +++ audio/carla/files/patch-Makefile @@ -0,0 +1,61 @@ +--- Makefile.orig 2017-11-21 20:47:09 UTC ++++ Makefile +@@ -402,7 +402,7 @@ endif + $(DESTDIR)$(BINDIR) + + # Adjust PREFIX value in script files (non-gui) +- sed -e 's?X-PREFIX-X?$(PREFIX)?' -i \ ++ sed -e 's?X-PREFIX-X?$(PREFIX)?' -i '' \ + $(DESTDIR)$(BINDIR)/carla-single + + # Install backend libs +@@ -429,15 +429,15 @@ endif + $(DESTDIR)$(LIBDIR)/pkgconfig + + # Adjust PREFIX, LIBDIR and INCLUDEDIR in pkg-config files +- sed -e 's?X-PREFIX-X?$(PREFIX)?' -i \ ++ sed -e 's?X-PREFIX-X?$(PREFIX)?' -i '' \ + $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \ + $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc + +- sed -e 's?X-LIBDIR-X?$(LIBDIR)?' -i \ ++ sed -e 's?X-LIBDIR-X?$(LIBDIR)?' -i '' \ + $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \ + $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc + +- sed -e 's?X-INCLUDEDIR-X?$(INCLUDEDIR)?' -i \ ++ sed -e 's?X-INCLUDEDIR-X?$(INCLUDEDIR)?' -i '' \ + $(DESTDIR)$(LIBDIR)/pkgconfig/carla-standalone.pc \ + $(DESTDIR)$(LIBDIR)/pkgconfig/carla-utils.pc + +@@ -488,7 +488,7 @@ ifeq ($(HAVE_PYQT),true) + $(DESTDIR)$(BINDIR) + + # Adjust PREFIX value in script files (gui) +- sed -e 's?X-PREFIX-X?$(PREFIX)?' -i \ ++ sed -e 's?X-PREFIX-X?$(PREFIX)?' -i '' \ + $(DESTDIR)$(BINDIR)/carla \ + $(DESTDIR)$(BINDIR)/carla-database \ + $(DESTDIR)$(BINDIR)/carla-jack-multi \ +@@ -502,7 +502,7 @@ ifeq ($(HAVE_LIBLO),true) + data/carla-control \ + $(DESTDIR)$(BINDIR) + +- sed -e 's?X-PREFIX-X?$(PREFIX)?' -i \ ++ sed -e 's?X-PREFIX-X?$(PREFIX)?' -i '' \ + $(DESTDIR)$(BINDIR)/carla-control + endif + +@@ -518,10 +518,10 @@ endif + $(DESTDIR)$(DATADIR)/carla + + # Adjust LIBDIR and DATADIR value in python code +- sed -e 's?X_LIBDIR_X = None?X_LIBDIR_X = "$(LIBDIR)"?' -i \ ++ sed -e 's?X_LIBDIR_X = None?X_LIBDIR_X = "$(LIBDIR)"?' -i '' \ + $(DESTDIR)$(DATADIR)/carla/carla_shared.py + +- sed -e 's?X_DATADIR_X = None?X_DATADIR_X = "$(DATADIR)"?' -i \ ++ sed -e 's?X_DATADIR_X = None?X_DATADIR_X = "$(DATADIR)"?' -i '' \ + $(DESTDIR)$(DATADIR)/carla/carla_shared.py + + # Install resources (gui) Index: audio/carla/files/patch-data_carla =================================================================== --- /dev/null +++ audio/carla/files/patch-data_carla @@ -0,0 +1,14 @@ +--- data/carla.orig 2017-11-21 16:30:13 UTC ++++ data/carla +@@ -1,10 +1,6 @@ + #!/bin/sh + +-if [ -f /usr/bin/python3 ]; then +- PYTHON=/usr/bin/python3 +-else +- PYTHON=python +-fi ++PYTHON=%%PYTHON%% + + if [ "$1" = "--gdb" ]; then + PYTHON="gdb --args $PYTHON" Index: audio/carla/pkg-descr =================================================================== --- /dev/null +++ audio/carla/pkg-descr @@ -0,0 +1,15 @@ +Carla is a fully-featured audio plugin host, with support for many audio drivers +and plugin formats. + +Features: +* LADSPA, DSSI, LV2 and VST plugin formats +* GIG, SF2 and SFZ sound banks +* Internal audio and midi file player +* Automation of plugin parameters via MIDI CC +* Full OSC control +* Rack and Patchbay engine modes, plus Single and Multi-Client if using JACK +* Native audio drivers (ALSA, DirectSound, CoreAudio) + and low-latency (ASIO and JACK) +* Transport sync with JACK or Ableton Link + +WWW: https://github.com/falkTX/Carla Index: audio/carla/pkg-plist =================================================================== --- /dev/null +++ audio/carla/pkg-plist @@ -0,0 +1,177 @@ +bin/carla +bin/carla-control +bin/carla-database +bin/carla-jack-multi +bin/carla-jack-single +bin/carla-patchbay +bin/carla-rack +bin/carla-settings +bin/carla-single +include/carla/CarlaBackend.h +include/carla/CarlaEngine.hpp +include/carla/CarlaHost.h +include/carla/CarlaNative.h +include/carla/CarlaPlugin.hpp +include/carla/CarlaUtils.h +include/carla/includes/CarlaDefines.h +include/carla/includes/CarlaMIDI.h +include/carla/utils/CarlaExternalUI.hpp +include/carla/utils/CarlaJuceUtils.hpp +include/carla/utils/CarlaMathUtils.hpp +include/carla/utils/CarlaMutex.hpp +include/carla/utils/CarlaPipeUtils.cpp +include/carla/utils/CarlaPipeUtils.hpp +include/carla/utils/CarlaString.hpp +include/carla/utils/CarlaUtils.hpp +lib/carla/carla-bridge-lv2-gtk2 +lib/carla/carla-bridge-lv2-gtk3 +lib/carla/carla-bridge-lv2-qt5 +lib/carla/carla-bridge-lv2-x11 +lib/carla/carla-bridge-lv2.so +lib/carla/carla-bridge-native +lib/carla/carla-discovery-native +lib/carla/libcarla_standalone2.so +lib/carla/libcarla_utils.so +lib/carla/styles/carlastyle.json +lib/carla/styles/carlastyle.so +lib/lv2/carla.lv2/bigmeter.ttl +lib/lv2/carla.lv2/carla-bridge-lv2-gtk2 +lib/lv2/carla.lv2/carla-bridge-lv2-gtk3 +lib/lv2/carla.lv2/carla-bridge-lv2-qt5 +lib/lv2/carla.lv2/carla-bridge-lv2-x11 +lib/lv2/carla.lv2/carla-bridge-lv2.so +lib/lv2/carla.lv2/carla-bridge-native +lib/lv2/carla.lv2/carla-discovery-native +lib/lv2/carla.lv2/carla.so +lib/lv2/carla.lv2/carlapatchbay.ttl +lib/lv2/carla.lv2/carlapatchbay16.ttl +lib/lv2/carla.lv2/carlapatchbay32.ttl +lib/lv2/carla.lv2/carlapatchbay3s.ttl +lib/lv2/carla.lv2/carlarack.ttl +lib/lv2/carla.lv2/lfo.ttl +lib/lv2/carla.lv2/libcarla_utils.so +lib/lv2/carla.lv2/manifest.ttl +lib/lv2/carla.lv2/midichanfilter.ttl +lib/lv2/carla.lv2/midigain.ttl +lib/lv2/carla.lv2/midijoin.ttl +lib/lv2/carla.lv2/midipattern.ttl +lib/lv2/carla.lv2/midisplit.ttl +lib/lv2/carla.lv2/midithrough.ttl +lib/lv2/carla.lv2/miditranspose.ttl +lib/lv2/carla.lv2/notes.ttl +lib/lv2/carla.lv2/resources +lib/lv2/carla.lv2/styles +lib/python3/dist-packages/carla_backend.py +lib/python3/dist-packages/carla_utils.py +libdata/pkgconfig/carla-standalone.pc +libdata/pkgconfig/carla-utils.pc +share/applications/carla-control.desktop +share/applications/carla.desktop +share/carla/canvaspreviewframe.py +share/carla/carla +share/carla/carla-control +share/carla/carla-jack-multi +share/carla/carla-jack-single +share/carla/carla-patchbay +share/carla/carla-rack +share/carla/carla_app.py +share/carla/carla_backend.py +share/carla/carla_backend_qt.py +share/carla/carla_config.py +share/carla/carla_control.py +share/carla/carla_database.py +share/carla/carla_host.py +share/carla/carla_settings.py +share/carla/carla_shared.py +share/carla/carla_skin.py +share/carla/carla_utils.py +share/carla/carla_widgets.py +share/carla/digitalpeakmeter.py +share/carla/draggablegraphicsview.py +share/carla/externalui.py +share/carla/ladspa_rdf.py +share/carla/ledbutton.py +share/carla/paramspinbox.py +share/carla/patchcanvas.py +share/carla/patchcanvas_theme.py +share/carla/pianoroll.py +share/carla/pixmapbutton.py +share/carla/pixmapdial.py +share/carla/pixmapkeyboard.py +share/carla/racklistwidget.py +share/carla/resources/bigmeter-ui +share/carla/resources/canvaspreviewframe.py +share/carla/resources/carla-plugin +share/carla/resources/carla-plugin-patchbay +share/carla/resources/carla_app.py +share/carla/resources/carla_backend.py +share/carla/resources/carla_backend_qt.py +share/carla/resources/carla_config.py +share/carla/resources/carla_control.py +share/carla/resources/carla_database.py +share/carla/resources/carla_host.py +share/carla/resources/carla_settings.py +share/carla/resources/carla_shared.py +share/carla/resources/carla_skin.py +share/carla/resources/carla_utils.py +share/carla/resources/carla_widgets.py +share/carla/resources/digitalpeakmeter.py +share/carla/resources/draggablegraphicsview.py +share/carla/resources/externalui.py +share/carla/resources/ledbutton.py +share/carla/resources/midipattern-ui +share/carla/resources/notes-ui +share/carla/resources/paramspinbox.py +share/carla/resources/patchcanvas.py +share/carla/resources/patchcanvas_theme.py +share/carla/resources/pianoroll.py +share/carla/resources/pixmapbutton.py +share/carla/resources/pixmapdial.py +share/carla/resources/pixmapkeyboard.py +share/carla/resources/racklistwidget.py +share/carla/resources/resources_rc.py +share/carla/resources/ui_carla_about.py +share/carla/resources/ui_carla_add_jack.py +share/carla/resources/ui_carla_database.py +share/carla/resources/ui_carla_edit.py +share/carla/resources/ui_carla_host.py +share/carla/resources/ui_carla_parameter.py +share/carla/resources/ui_carla_plugin_calf.py +share/carla/resources/ui_carla_plugin_classic.py +share/carla/resources/ui_carla_plugin_compact.py +share/carla/resources/ui_carla_plugin_default.py +share/carla/resources/ui_carla_plugin_presets.py +share/carla/resources/ui_carla_refresh.py +share/carla/resources/ui_carla_settings.py +share/carla/resources/ui_carla_settings_driver.py +share/carla/resources/ui_inputdialog_value.py +share/carla/resources/ui_midipattern.py +share/carla/resources_rc.py +share/carla/ui_carla_about.py +share/carla/ui_carla_add_jack.py +share/carla/ui_carla_database.py +share/carla/ui_carla_edit.py +share/carla/ui_carla_host.py +share/carla/ui_carla_parameter.py +share/carla/ui_carla_plugin_calf.py +share/carla/ui_carla_plugin_classic.py +share/carla/ui_carla_plugin_compact.py +share/carla/ui_carla_plugin_default.py +share/carla/ui_carla_plugin_presets.py +share/carla/ui_carla_refresh.py +share/carla/ui_carla_settings.py +share/carla/ui_carla_settings_driver.py +share/carla/ui_inputdialog_value.py +share/carla/ui_midipattern.py +share/icons/hicolor/128x128/apps/carla-control.png +share/icons/hicolor/128x128/apps/carla.png +share/icons/hicolor/16x16/apps/carla-control.png +share/icons/hicolor/16x16/apps/carla.png +share/icons/hicolor/256x256/apps/carla-control.png +share/icons/hicolor/256x256/apps/carla.png +share/icons/hicolor/48x48/apps/carla-control.png +share/icons/hicolor/48x48/apps/carla.png +share/icons/hicolor/scalable/apps/carla-control.svg +share/icons/hicolor/scalable/apps/carla.svg +share/mime/packages/carla.xml +@dir lib/carla/jack