| @@ -1,3 +1,9 @@ | |||||
| cardinal (5:25.06-1kxstudio1) focal; urgency=medium | |||||
| * Update | |||||
| -- falkTX <falktx@falktx.com> Sat, 21 Jun 2025 16:52:11 +0200 | |||||
| cardinal (5:24.12+1-1kxstudio1) focal; urgency=medium | cardinal (5:24.12+1-1kxstudio1) focal; urgency=medium | ||||
| * Update | * Update | ||||
| @@ -1,4 +1,4 @@ | |||||
| vitling-crypt (6:0.3.0+1-1kxstudio1) focal; urgency=medium | |||||
| vitling-crypt (6:0.3.0+git2025-06-25-1kxstudio1) focal; urgency=medium | |||||
| * Initial package | * Initial package | ||||
| @@ -4,10 +4,10 @@ Priority: optional | |||||
| Maintainer: falkTX <falktx@falktx.com> | Maintainer: falkTX <falktx@falktx.com> | ||||
| Build-Depends: debhelper-compat (= 13), | Build-Depends: debhelper-compat (= 13), | ||||
| kxstudio-audio-plugin-tester (>= 13), | kxstudio-audio-plugin-tester (>= 13), | ||||
| distrho-juce6-dev (>= 6:6.0.7+git2022-06-22-62658da8-1kxstudio1) | |||||
| distrho-juce-6.1-dev | |||||
| Standards-Version: 4.5.0 | Standards-Version: 4.5.0 | ||||
| Homepage: https://www.vitling.xyz/plugins/ | Homepage: https://www.vitling.xyz/plugins/ | ||||
| XSC-KXStudio-VCS: https://github.com/DISTRHO-Ports/crypt/ | |||||
| XSC-KXStudio-VCS: https://github.com/DISTRHO-Ports/vitling-crypt/ | |||||
| Rules-Requires-Root: no | Rules-Requires-Root: no | ||||
| Package: vitling-crypt | Package: vitling-crypt | ||||
| @@ -0,0 +1,31 @@ | |||||
| --- vitling-crypt-0.3.0+git2025-06-25.orig/CMakeLists.txt | |||||
| +++ vitling-crypt-0.3.0+git2025-06-25/CMakeLists.txt | |||||
| @@ -19,7 +19,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CA | |||||
| project(CRYPT_SYNTH_PLUGIN VERSION 0.3.0) | |||||
| -find_package(JUCE REQUIRED) | |||||
| +find_package(JUCE-6.1.6 REQUIRED) | |||||
| juce_add_plugin(CryptSynthPlugin | |||||
| VERSION 0.3.0 # Set this if the plugin version is different to the project version | |||||
| --- vitling-crypt-0.3.0+git2025-06-25.orig/CryptPlugin.cpp | |||||
| +++ vitling-crypt-0.3.0+git2025-06-25/CryptPlugin.cpp | |||||
| @@ -128,7 +128,7 @@ public: | |||||
| fillWaveTable(); | |||||
| - envParams = {.attack = getParameterValue("attack"), .decay = 0.1, .sustain = 1.0, .release = getParameterValue("release")}; | |||||
| + envParams = {getParameterValue("attack"), 0.1, 1.0, getParameterValue("release")}; | |||||
| } | |||||
| ~SuperSawVoice() override = default; | |||||
| @@ -157,7 +157,7 @@ public: | |||||
| void startNote(int midiNoteNumber, float velocity, juce::SynthesiserSound *sound, int currentPitchWheelPosition) override { | |||||
| envelope.setSampleRate(getSampleRate()); | |||||
| - envParams = {.attack = getParameterValue("attack"), .decay = 0.1, .sustain = 1.0, .release = getParameterValue("release")}; | |||||
| + envParams = {getParameterValue("attack"), 0.1, 1.0, getParameterValue("release")}; | |||||
| envelope.setParameters(envParams); | |||||
| setFrequency(MidiMessage::getMidiNoteInHertz(midiNoteNumber), getParameterValue("spread"), true); | |||||
| @@ -0,0 +1 @@ | |||||
| 01_juce-6.1-usage.patch | |||||
| @@ -2,33 +2,20 @@ | |||||
| include /usr/share/dpkg/kxstudio-audio-plugin.mk | include /usr/share/dpkg/kxstudio-audio-plugin.mk | ||||
| ifeq ($(DEB_HOST_ARCH),armhf) | |||||
| JUCE_ARCHITECTURE = armv7l | |||||
| else ifeq ($(DEB_HOST_ARCH),arm64) | |||||
| JUCE_ARCHITECTURE = aarch64 | |||||
| else | |||||
| JUCE_ARCHITECTURE = x86_64 | |||||
| endif | |||||
| export LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/vitling-crypt.sym | export LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/vitling-crypt.sym | ||||
| export LV2LINT_EXTRA_FLAGS = -s lv2_generate_ttl | |||||
| export LV2LINT_EXTRA_FLAGS = -t 'UI*Widget' | |||||
| # FIXME lv2lint gives false positives | |||||
| export LV2LINT_SKIP = y | export LV2LINT_SKIP = y | ||||
| # [FAIL] Plugin Extension Data | |||||
| # lv2:extensionData <http://kxstudio.sf.net/ns/lv2ext/programs#Interface> not valid | |||||
| # seeAlso: <http://lv2plug.in/ns/lv2core#ExtensionData> | |||||
| # [FAIL] UI Toolkit | |||||
| # UI toolkit <http://kxstudio.sf.net/ns/lv2ext/external-ui#Widget> unkown | |||||
| # seeAlso: <http://lv2plug.in/ns/extensions/ui#ui> | |||||
| # <https://github.com/vitling/crypt#ParentUI> | |||||
| # [FAIL] UI Widget | |||||
| # failed to return a valid widget | |||||
| # seeAlso: <http://lv2plug.in/ns/extensions/ui#X11UI> | |||||
| override_dh_auto_configure: | override_dh_auto_configure: | ||||
| dh_auto_configure -- \ | |||||
| -DCMAKE_BUILD_TYPE=Release \ | |||||
| -DJUCE_LINUX_TARGET_ARCHITECTURE=$(JUCE_ARCHITECTURE) | |||||
| dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release | |||||
| override_dh_auto_build: | override_dh_auto_build: | ||||
| DESTDIR=$(CURDIR)/tmp dh_auto_build | |||||
| DESTDIR=$(CURDIR)/tmp dh_auto_build -- -j $(nproc) | |||||
| override_dh_auto_install: | override_dh_auto_install: | ||||
| mv $(CURDIR)/tmp $(CURDIR)/debian/vitling-crypt | mv $(CURDIR)/tmp $(CURDIR)/debian/vitling-crypt | ||||