New port: audio/carla: Audio LV2 plugin host for Jack and PulseAudio

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13172
This commit is contained in:
Yuri Victorovich 2017-11-29 21:48:34 +00:00
parent aa2eb5cba4
commit 2f1bf1c54f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455152
5 changed files with 241 additions and 0 deletions

View file

@ -65,6 +65,7 @@
SUBDIR += cantata
SUBDIR += caps-lv2
SUBDIR += caps-plugins
SUBDIR += carla
SUBDIR += cava
SUBDIR += ccaudio2
SUBDIR += cd-console

56
audio/carla/Makefile Normal file
View file

@ -0,0 +1,56 @@
# $FreeBSD$
PORTNAME= Carla
DISTVERSION= 1.9.7b-279
DISTVERSIONSUFFIX= -g3758c005
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 pyqt:5 python:3 shared-mime-info tar:bz2
USE_GITHUB= yes
GH_ACCOUNT= falkTX
USE_PYQT= core_run gui_run svg_run widgets_run sip_build xml_build
USE_GNOME= gtk20 gtk30
USE_QT5= core gui widgets buildtools_build
USE_XORG= x11
USE_LDCONFIG= ${PREFIX}/lib/carla
MAKE_ARGS= BSD=true \
HAVE_QT4=false \
EXTERNAL_PLUGINS=false
OPTIONS_DEFINE= FFMPEG FLUIDSYNTH LINUXSAMPLER
OPTIONS_DEFAULT= FFMPEG FLUIDSYNTH JACK LINUXSAMPLER
OPTIONS_MULTI= BACKEND
OPTIONS_MULTI_BACKEND= JACK PULSEAUDIO
BACKEND_DESC= Audio backend
LINUXSAMPLER_DESC= Use LinuxSampler: a software audio sampler
FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg
FFMPEG_MAKE_ARGS_OFF= HAVE_FFMPEG=false
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
FLUIDSYNTH_MAKE_ARGS_OFF= HAVE_FLUIDSYNTH=false
LINUXSAMPLER_LIB_DEPENDS= liblinuxsampler.so:audio/linuxsampler
LINUXSAMPLER_MAKE_ARGS_OFF= HAVE_LINUXSAMPLER=false
JACK_RUN_DEPENDS= ${LOCALBASE}/lib/libjack.so:audio/jack
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio
PULSEAUDIO_MAKE_ARGS_OFF= HAVE_PULSEAUDIO=false
post-install:
@${REINPLACE_CMD} -i '' -e 's|^PYTHON=.*|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 <bsd.port.mk>

3
audio/carla/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1511517338
SHA256 (falkTX-Carla-1.9.7b-279-g3758c005_GH0.tar.gz) = eeab5c0f28401eb00c184cb882eba49b487772f8648cc5fc9ce24ead22be397f
SIZE (falkTX-Carla-1.9.7b-279-g3758c005_GH0.tar.gz) = 9770723

15
audio/carla/pkg-descr Normal file
View file

@ -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

166
audio/carla/pkg-plist Normal file
View file

@ -0,0 +1,166 @@
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
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
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