From 94e5dd9ddd359406716e9de04298fa59efa91cc3 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 22 Jun 2025 01:07:37 +0200 Subject: [PATCH] Add odin2 package Signed-off-by: falkTX --- sources/plugins/odin2/debian/changelog | 5 ++++ sources/plugins/odin2/debian/control | 23 ++++++++++++++++ .../debian/patches/01_use-juce-6.1.patch | 13 ++++++++++ sources/plugins/odin2/debian/patches/series | 1 + sources/plugins/odin2/debian/rules | 26 +++++++++++++++++++ sources/plugins/odin2/debian/source/format | 1 + 6 files changed, 69 insertions(+) create mode 100644 sources/plugins/odin2/debian/changelog create mode 100644 sources/plugins/odin2/debian/control create mode 100644 sources/plugins/odin2/debian/patches/01_use-juce-6.1.patch create mode 100644 sources/plugins/odin2/debian/patches/series create mode 100755 sources/plugins/odin2/debian/rules create mode 100644 sources/plugins/odin2/debian/source/format diff --git a/sources/plugins/odin2/debian/changelog b/sources/plugins/odin2/debian/changelog new file mode 100644 index 0000000..19a3526 --- /dev/null +++ b/sources/plugins/odin2/debian/changelog @@ -0,0 +1,5 @@ +odin2 (6:2.4.1+git2025-06-22-1kxstudio1) focal; urgency=medium + + * Initial package + + -- falkTX Sun, 17 Apr 2022 15:05:47 +0100 diff --git a/sources/plugins/odin2/debian/control b/sources/plugins/odin2/debian/control new file mode 100644 index 0000000..b2019f7 --- /dev/null +++ b/sources/plugins/odin2/debian/control @@ -0,0 +1,23 @@ +Source: odin2 +Section: sound +Priority: optional +Maintainer: falkTX +Build-Depends: debhelper-compat (= 13), + kxstudio-audio-plugin-tester (>= 13), + distrho-juce-6.1-dev +Standards-Version: 4.5.0 +Homepage: https://thewavewarden.com/pages/odin-2 +XSC-KXStudio-VCS: https://github.com/DISTRHO-Ports/odin2/ +Rules-Requires-Root: no + +Package: odin2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: lv2-plugin, vst-plugin, vst3-plugin +Description: 24-voice polyphonic synthesizer + Odin 2 is a 24-voice polyphonic powerhouse that will transport you from your studio straight to Valhalla. + Whether you're after earth-shattering basses, soaring leads, or otherworldly FX, Odin 2 delivers it all. + Harness the classic warmth of analog waveforms — or draw custom ones. + High-quality emulations of legendary analog filters, like the Moog Ladder, the Korg 35 and many more let you shape your sound. + Finish it off with five onboard FX or dive into endless modulation possibilities. + There’s a whole world to explore in Odin 2. diff --git a/sources/plugins/odin2/debian/patches/01_use-juce-6.1.patch b/sources/plugins/odin2/debian/patches/01_use-juce-6.1.patch new file mode 100644 index 0000000..bd206a1 --- /dev/null +++ b/sources/plugins/odin2/debian/patches/01_use-juce-6.1.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 73244371..2503ca01 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -5,7 +5,7 @@ project(Odin2 VERSION 2.4.1 LANGUAGES C CXX ASM) + + # ================== CMake Subdirs ====================== + add_subdirectory(libs/clap-juce-extensions EXCLUDE_FROM_ALL) +-find_package(JUCE REQUIRED) ++find_package(JUCE-6.1.6 REQUIRED) + + # ================= Git Commit Hash ===================== + find_package(Git) diff --git a/sources/plugins/odin2/debian/patches/series b/sources/plugins/odin2/debian/patches/series new file mode 100644 index 0000000..24b927c --- /dev/null +++ b/sources/plugins/odin2/debian/patches/series @@ -0,0 +1 @@ +01_use-juce-6.1.patch diff --git a/sources/plugins/odin2/debian/rules b/sources/plugins/odin2/debian/rules new file mode 100755 index 0000000..2992e84 --- /dev/null +++ b/sources/plugins/odin2/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/kxstudio-audio-plugin.mk + +export LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/odin2.sym +export LV2LINT_EXTRA_FLAGS = -t 'UI*Widget' + +export LV2LINT_SKIP = y +# +# [FAIL] UI Widget +# failed to return a valid widget +# seeAlso: + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release + +override_dh_auto_build: + DESTDIR=$(CURDIR)/tmp dh_auto_build -- -j2 + +override_dh_auto_install: + mv $(CURDIR)/tmp $(CURDIR)/debian/odin2 + # has many memory issues + # $(call kxstudio_audio_plugin_test) + +%: + dh $@ -Scmake diff --git a/sources/plugins/odin2/debian/source/format b/sources/plugins/odin2/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/sources/plugins/odin2/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)