Browse Source

Add cardinal package

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 2 years ago
parent
commit
93fcf2230f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
12 changed files with 24872 additions and 0 deletions
  1. +1
    -0
      sources/plugins/cardinal/debian/cardinal-data.install
  2. +1
    -0
      sources/plugins/cardinal/debian/cardinal-lv2.install
  3. +1
    -0
      sources/plugins/cardinal/debian/cardinal-vst2.install
  4. +1
    -0
      sources/plugins/cardinal/debian/cardinal-vst3.install
  5. +1
    -0
      sources/plugins/cardinal/debian/cardinal.install
  6. +5
    -0
      sources/plugins/cardinal/debian/changelog
  7. +137
    -0
      sources/plugins/cardinal/debian/control
  8. +24680
    -0
      sources/plugins/cardinal/debian/patches/01_vendored-libs.patch
  9. +18
    -0
      sources/plugins/cardinal/debian/patches/02_workaround-compiler-bug.patch
  10. +2
    -0
      sources/plugins/cardinal/debian/patches/series
  11. +24
    -0
      sources/plugins/cardinal/debian/rules
  12. +1
    -0
      sources/plugins/cardinal/debian/source/format

+ 1
- 0
sources/plugins/cardinal/debian/cardinal-data.install View File

@@ -0,0 +1 @@
/usr/share

+ 1
- 0
sources/plugins/cardinal/debian/cardinal-lv2.install View File

@@ -0,0 +1 @@
/usr/lib/lv2

+ 1
- 0
sources/plugins/cardinal/debian/cardinal-vst2.install View File

@@ -0,0 +1 @@
/usr/lib/vst

+ 1
- 0
sources/plugins/cardinal/debian/cardinal-vst3.install View File

@@ -0,0 +1 @@
/usr/lib/vst3

+ 1
- 0
sources/plugins/cardinal/debian/cardinal.install View File

@@ -0,0 +1 @@
/usr/bin

+ 5
- 0
sources/plugins/cardinal/debian/changelog View File

@@ -0,0 +1,5 @@
cardinal (5:22.07-1kxstudio2) focal; urgency=medium

* Initial package

-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100

+ 137
- 0
sources/plugins/cardinal/debian/control View File

@@ -0,0 +1,137 @@
Source: cardinal
Section: sound
Priority: optional
Maintainer: falkTX <falktx@falktx.com>
Build-Depends: debhelper-compat (= 13),
kxstudio-audio-plugin-tester,
debhelper (>= 9~),
libdbus-1-dev,
libgl1-mesa-dev | libgl-dev,
libmagic-dev,
libx11-dev,
libxcursor-dev,
libxext-dev,
libxrandr-dev,
cmake,
wget,
liblo-static,
libsndfile-static,
fftw3-static,
zlib-static,
python3
Homepage: https://github.com/DISTRHO/Cardinal
Standards-Version: 4.5.0
Rules-Requires-Root: no

Package: cardinal
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, cardinal-data
Provides: standalone-plugin
Recommends: carla | carla-git, mpv
Description: virtual modular synthesizer plugin
Free and open-source virtual modular synthesizer plugin,
available as JACK standalone and LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, macOS and Windows.
It is based on the popular VCV Rack but with a focus on being a fully self-contained plugin version.
.
Cardinal contains Rack, some 3rd-party modules and a few internal utilities all in a single binary.
All "Core" modules from Rack have been replaced by Cardinal equivalents, simplified to better work for an audio plugin.
.
Cardinal does not load external modules and does not connect to the official Rack library/store.
All VCV branding has been removed (to the best of authors knowledge) in order to avoid any trademark issues.
.
Cardinal provides 3 plugin variants - "main", Synth and FX.
They are all equivalent in performance and behaviour, with only the IO and metadata that changes.
FX and Synth variants both have 2 audio outputs, while "main" has 8.
All variants have MIDI input and output support.
.
This package provides the standalone application.

Package: cardinal-data
Architecture: all
Depends: ${misc:Depends}
Description: virtual modular synthesizer plugin
Free and open-source virtual modular synthesizer plugin,
available as JACK standalone and LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, macOS and Windows.
It is based on the popular VCV Rack but with a focus on being a fully self-contained plugin version.
.
Cardinal contains Rack, some 3rd-party modules and a few internal utilities all in a single binary.
All "Core" modules from Rack have been replaced by Cardinal equivalents, simplified to better work for an audio plugin.
.
Cardinal does not load external modules and does not connect to the official Rack library/store.
All VCV branding has been removed (to the best of authors knowledge) in order to avoid any trademark issues.
.
Cardinal provides 3 plugin variants - "main", Synth and FX.
They are all equivalent in performance and behaviour, with only the IO and metadata that changes.
FX and Synth variants both have 2 audio outputs, while "main" has 8.
All variants have MIDI input and output support.
.
This package provides the architecture independent resources, shared between all Cardinal packages.

Package: cardinal-lv2
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, cardinal-data
Provides: lv2-plugin
Recommends: carla | carla-git, mpv
Description: virtual modular synthesizer plugin
Free and open-source virtual modular synthesizer plugin,
available as JACK standalone and LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, macOS and Windows.
It is based on the popular VCV Rack but with a focus on being a fully self-contained plugin version.
.
Cardinal contains Rack, some 3rd-party modules and a few internal utilities all in a single binary.
All "Core" modules from Rack have been replaced by Cardinal equivalents, simplified to better work for an audio plugin.
.
Cardinal does not load external modules and does not connect to the official Rack library/store.
All VCV branding has been removed (to the best of authors knowledge) in order to avoid any trademark issues.
.
Cardinal provides 3 plugin variants - "main", Synth and FX.
They are all equivalent in performance and behaviour, with only the IO and metadata that changes.
FX and Synth variants both have 2 audio outputs, while "main" has 8.
All variants have MIDI input and output support.
.
This package provides the LV2 plugin.

Package: cardinal-vst2
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, cardinal-data
Provides: vst-plugin
Recommends: carla | carla-git, mpv
Description: virtual modular synthesizer plugin
Free and open-source virtual modular synthesizer plugin,
available as JACK standalone and LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, macOS and Windows.
It is based on the popular VCV Rack but with a focus on being a fully self-contained plugin version.
.
Cardinal contains Rack, some 3rd-party modules and a few internal utilities all in a single binary.
All "Core" modules from Rack have been replaced by Cardinal equivalents, simplified to better work for an audio plugin.
.
Cardinal does not load external modules and does not connect to the official Rack library/store.
All VCV branding has been removed (to the best of authors knowledge) in order to avoid any trademark issues.
.
Cardinal provides 3 plugin variants - "main", Synth and FX.
They are all equivalent in performance and behaviour, with only the IO and metadata that changes.
FX and Synth variants both have 2 audio outputs, while "main" has 8.
All variants have MIDI input and output support.
.
This package provides the VST2 plugin.

Package: cardinal-vst3
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, cardinal-data
Provides: vst3-plugin
Recommends: carla | carla-git, mpv
Description: virtual modular synthesizer plugin
Free and open-source virtual modular synthesizer plugin,
available as JACK standalone and LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, macOS and Windows.
It is based on the popular VCV Rack but with a focus on being a fully self-contained plugin version.
.
Cardinal contains Rack, some 3rd-party modules and a few internal utilities all in a single binary.
All "Core" modules from Rack have been replaced by Cardinal equivalents, simplified to better work for an audio plugin.
.
Cardinal does not load external modules and does not connect to the official Rack library/store.
All VCV branding has been removed (to the best of authors knowledge) in order to avoid any trademark issues.
.
Cardinal provides 3 plugin variants - "main", Synth and FX.
They are all equivalent in performance and behaviour, with only the IO and metadata that changes.
FX and Synth variants both have 2 audio outputs, while "main" has 8.
All variants have MIDI input and output support.
.
This package provides the VST3 plugin. Please note the VST3 version is considered experimental.

+ 24680
- 0
sources/plugins/cardinal/debian/patches/01_vendored-libs.patch
File diff suppressed because it is too large
View File


+ 18
- 0
sources/plugins/cardinal/debian/patches/02_workaround-compiler-bug.patch View File

@@ -0,0 +1,18 @@
--- cardinal-22.03.orig/plugins/Bidoo/src/ZINC.cpp
+++ cardinal-22.03/plugins/Bidoo/src/ZINC.cpp
@@ -123,6 +123,7 @@ struct ZINC : BidooModule {
const float slewMax = 500.0f;
const float shapeScale = 0.1f;
+ __attribute__((optimize(1)))
ZINC() {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
@@ -145,6 +146,7 @@ struct ZINC : BidooModule {
}
}
+ __attribute__((optimize(1)))
void process(const ProcessArgs &args) override {
float inM = inputs[IN_MOD].getVoltage() / 5.0f;
float inC = inputs[IN_CARR].getVoltage() / 5.0f;

+ 2
- 0
sources/plugins/cardinal/debian/patches/series View File

@@ -0,0 +1,2 @@
01_vendored-libs.patch
02_workaround-compiler-bug.patch

+ 24
- 0
sources/plugins/cardinal/debian/rules View File

@@ -0,0 +1,24 @@
#!/usr/bin/make -f

KXSTUDIO_NO_LTO = y
include /usr/share/dpkg/kxstudio-audio-plugin.mk

ifeq ($(DEB_HOST_ARCH),armhf)
export CFLAGS += -mno-unaligned-access
export CXXFLAGS += -mno-unaligned-access
endif

%:
dh $@

override_dh_auto_clean:
rm -rf src/Rack/dep/zstd-1.4.5/build/VS2008
rm -rf src/Rack/dep/zstd-1.4.5/build/VS2010
rm -rf src/Rack/dep/zstd-1.4.5/build/VS_scripts

override_dh_auto_build:
dh_auto_build -- PREFIX=/usr CIBUILD=true NOOPT=true

override_dh_auto_install:
dh_auto_install -- PREFIX=/usr CIBUILD=true NOOPT=true DESTDIR=$(CURDIR)/debian/tmp/
# $(call kxstudio_audio_plugin_test)

+ 1
- 0
sources/plugins/cardinal/debian/source/format View File

@@ -0,0 +1 @@
3.0 (quilt)

Loading…
Cancel
Save