audio/carla: Update 2.2.0 -> 2.3.0

This commit is contained in:
Yuri Victorovich 2021-05-24 16:42:32 -07:00
parent 72bd8ca42c
commit 9334b0c746
4 changed files with 61 additions and 10 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= Carla
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.0
PORTREVISION= 6
DISTVERSION= 2.3.0
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@ -19,16 +18,17 @@ CONFLICTS_BUILD= rtaudio-* rtmidi-*
USES= compiler:c++11-lib desktop-file-utils gl gmake gnome localbase \
pkgconfig pyqt:5 python:3.4+ qt:5 shared-mime-info shebangfix \
tar:bz2 xorg
USE_GITHUB= yes
GH_ACCOUNT= falkTX
USE_PYQT= core_run gui_run sip svg_run widgets_run xml_build # "sip" should be "sip_build", but "import PyQt5.QtCore" wants "sip". See bug#225040
USE_GNOME= gtk20 gtk30
USE_QT= core gui widgets buildtools_build
USE_GL= gl
USE_XORG= x11
USE_LDCONFIG= ${PREFIX}/lib/carla
SHEBANG_FILES= data/carla-single data/carla-bridge-lv2-modgui source/native-plugins/resources/* source/frontend/*
USE_GITHUB= yes
GH_ACCOUNT= falkTX
MAKE_ARGS= HAVE_QT4=false \
EXTERNAL_PLUGINS=false \
# Give the Makefile the proper versioned binaries of PyQt
@ -59,6 +59,7 @@ post-install:
s|^PYTHON=.*|PYTHON=${PYTHON_CMD}|; \
s|#!/bin/bash|#!/bin/sh|' \
${STAGEDIR}${PREFIX}/bin/carla*
${RMDIR} ${STAGEDIR}${PREFIX}/share/carla/resources/translations
devel-features: patch
@${ECHO} "Developer command: show build features"

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1601438699
SHA256 (falkTX-Carla-v2.2.0_GH0.tar.gz) = 4bf08511257db88979eccc002f10c153ff2a14f5143291c2be39cadd69ce10e1
SIZE (falkTX-Carla-v2.2.0_GH0.tar.gz) = 9844747
TIMESTAMP = 1621894202
SHA256 (falkTX-Carla-v2.3.0_GH0.tar.gz) = 27def29cc408d5c74926e8d0ef3a77fd76fee1e4f2797f840e999e6376a5be03
SIZE (falkTX-Carla-v2.3.0_GH0.tar.gz) = 10014487

View File

@ -0,0 +1,46 @@
--- source/modules/AppConfig.h.orig 2021-03-21 01:16:46 UTC
+++ source/modules/AppConfig.h
@@ -29,13 +29,15 @@
# define APPCONFIG_OS_MAC
#elif defined(__linux__) || defined(__linux)
# define APPCONFIG_OS_LINUX
+#elif defined(__FreeBSD__)
+# define APPCONFIG_OS_FREEBSD
#else
# error Unsupported platform!
#endif
#if defined(APPCONFIG_OS_WIN32) || defined(APPCONFIG_OS_WIN64)
# define APPCONFIG_OS_WIN
-#elif defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_MAC)
+#elif defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_FREEBSD) || defined(APPCONFIG_OS_MAC)
# define APPCONFIG_OS_UNIX
#endif
@@ -81,7 +83,7 @@
#define JUCE_STRING_UTF_TYPE 8
#define JUCE_USE_VFORK 1
-#ifdef APPCONFIG_OS_LINUX
+#if defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_FREEBSD)
# define JUCE_DISABLE_NATIVE_FILECHOOSERS 1
# define JUCE_MODAL_LOOPS_PERMITTED 0
// # define JUCE_AUDIOPROCESSOR_NO_GUI 1
@@ -145,7 +147,7 @@
/** Config: JUCE_JACK
Enables JACK audio devices (Linux only).
*/
-#ifdef APPCONFIG_OS_LINUX
+#if defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_FREEBSD)
#define JUCE_JACK 1
#define JUCE_JACK_CLIENT_NAME "Carla"
#else
@@ -227,7 +229,7 @@
@see VSTPluginFormat, VST3PluginFormat, AudioPluginFormat, AudioPluginFormatManager, JUCE_PLUGINHOST_VST, JUCE_PLUGINHOST_AU
*/
-#if defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_MAC) || defined(APPCONFIG_OS_WIN)
+#if defined(APPCONFIG_OS_LINUX) || defined(APPCONFIG_OS_FREEBSD) || defined(APPCONFIG_OS_MAC) || defined(APPCONFIG_OS_WIN)
# define JUCE_PLUGINHOST_VST3 1
#else
# define JUCE_PLUGINHOST_VST3 0

View File

@ -27,6 +27,7 @@ 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_host-plugin.so
lib/carla/libcarla_native-plugin.so
lib/carla/libcarla_standalone2.so
lib/carla/libcarla_utils.so
@ -53,6 +54,7 @@ lib/lv2/carla.lv2/carlapatchbay64.ttl
lib/lv2/carla.lv2/carlapatchbaycv.ttl
lib/lv2/carla.lv2/carlarack.ttl
lib/lv2/carla.lv2/lfo.ttl
lib/lv2/carla.lv2/libcarla_host-plugin.so
lib/lv2/carla.lv2/libcarla_native-plugin.so
lib/lv2/carla.lv2/libcarla_utils.so
lib/lv2/carla.lv2/manifest.ttl
@ -83,10 +85,12 @@ lib/vst/carla.vst/carla-bridge-lv2.so
lib/vst/carla.vst/carla-bridge-native
lib/vst/carla.vst/carla-discovery-native
lib/vst/carla.vst/jack
lib/vst/carla.vst/libcarla_host-plugin.so
lib/vst/carla.vst/libcarla_native-plugin.so
lib/vst/carla.vst/libcarla_utils.so
lib/vst/carla.vst/resources
lib/vst/carla.vst/styles
libdata/pkgconfig/carla-host-plugin.pc
libdata/pkgconfig/carla-native-plugin.pc
libdata/pkgconfig/carla-standalone.pc
libdata/pkgconfig/carla-utils.pc
@ -106,9 +110,9 @@ share/carla/carla_app.py
share/carla/carla_backend.py
share/carla/carla_backend_qt.py
share/carla/carla_backend_qtweb.py
share/carla/carla_control.py
share/carla/carla_database.py
share/carla/carla_host.py
share/carla/carla_host_control.py
share/carla/carla_modgui.py
share/carla/carla_settings.py
share/carla/carla_shared.py
@ -141,9 +145,9 @@ 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_control.py
share/carla/resources/carla_database.py
share/carla/resources/carla_host.py
share/carla/resources/carla_host_control.py
share/carla/resources/carla_settings.py
share/carla/resources/carla_shared.py
share/carla/resources/carla_skin.py