Browse Source

Add hamburger

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 1 week ago
parent
commit
7c865de15d
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
8 changed files with 184 additions and 0 deletions
  1. +5
    -0
      sources/plugins/hamburger/debian/changelog
  2. +19
    -0
      sources/plugins/hamburger/debian/control
  3. +3
    -0
      sources/plugins/hamburger/debian/install
  4. +123
    -0
      sources/plugins/hamburger/debian/patches/01_local-vst2-lv2-build.patch
  5. +13
    -0
      sources/plugins/hamburger/debian/patches/02_no-copy-build.patch
  6. +2
    -0
      sources/plugins/hamburger/debian/patches/series
  7. +18
    -0
      sources/plugins/hamburger/debian/rules
  8. +1
    -0
      sources/plugins/hamburger/debian/source/format

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

@@ -0,0 +1,5 @@
hamburger (6:0.5-1kxstudio2) focal; urgency=medium

* Initial package

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

+ 19
- 0
sources/plugins/hamburger/debian/control View File

@@ -0,0 +1,19 @@
Source: hamburger
Section: sound
Priority: optional
Maintainer: falkTX <falktx@falktx.com>
Build-Depends: debhelper-compat (= 13),
kxstudio-audio-plugin-tester (>= 13),
distrho-juce-7.0-dev (>= 6:7.0.12+git2025-09-14-1kxstudio1)
Standards-Version: 4.5.0
Homepage: https://aviaryaudio.com/plugins/hamburgerv2
XSC-KXStudio-VCS: https://github.com/Davit-G/Hamburger
Rules-Requires-Root: no

Package: hamburger
Architecture: amd64 arm64
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: lv2-plugin, vst-plugin, vst3-plugin
Description: distortion on steroids
A distortion and dynamics plugin designed to tastefully saturate any sound.
Also capable of complete sonic destruction.

+ 3
- 0
sources/plugins/hamburger/debian/install View File

@@ -0,0 +1,3 @@
obj-*-linux-gnu/Hamburger_artefacts/Release/LV2/*.* /usr/lib/lv2/
obj-*-linux-gnu/Hamburger_artefacts/Release/VST/*.* /usr/lib/vst/Hamburger.so
obj-*-linux-gnu/Hamburger_artefacts/Release/VST3/*.* /usr/lib/vst3/

+ 123
- 0
sources/plugins/hamburger/debian/patches/01_local-vst2-lv2-build.patch View File

@@ -0,0 +1,123 @@
--- hamburger-0.5.orig/CMakeLists.txt
+++ hamburger-0.5/CMakeLists.txt
@@ -76,23 +76,10 @@ project(Hamburger VERSION "${ProjectVers
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast")
# endif()
-FetchContent_Declare(
- JUCE
- GIT_REPOSITORY https://github.com/juce-framework/JUCE.git
- GIT_TAG 51d11a2be6d5c97ccf12b4e5e827006e19f0555a
- GIT_PROGRESS TRUE
- GIT_SHALLOW 1
-)
-
-FetchContent_MakeAvailable(JUCE)
+find_package(JUCE-7.0.12 REQUIRED)
# set commit hash for use in general idk
-execute_process(
- COMMAND git log -1 --format=%h
- WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
- OUTPUT_VARIABLE GIT_HASH
- OUTPUT_STRIP_TRAILING_WHITESPACE
-)
+set(GIT_HASH "0.5")
if(APPLE)
@@ -128,7 +115,7 @@ juce_add_plugin("${BaseTargetName}"
VST3_COPY_DIR "${outdir}"
VST_COPY_DIR "${outdir}"
AU_COPY_DIR "${outdir}"
- FORMATS VST3 Standalone AU # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
+ FORMATS LV2 VST VST3
VST3_CATEGORIES Fx Distortion Dynamics
)
@@ -192,10 +179,10 @@ juce_add_binary_data("${BaseTargetName}B
)
set_target_properties("${BaseTargetName}BinaryData" PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
-FetchContent_Declare (melatonin_perfetto
- GIT_REPOSITORY https://github.com/sudara/melatonin_perfetto.git
- GIT_SHALLOW 1
- GIT_TAG origin/main)
+# FetchContent_Declare (melatonin_perfetto
+# GIT_REPOSITORY https://github.com/sudara/melatonin_perfetto.git
+# GIT_SHALLOW 1
+# GIT_TAG origin/main)
# FetchContent_Declare (melatonin_inspector
# GIT_REPOSITORY https://github.com/sudara/melatonin_inspector.git
@@ -203,21 +190,21 @@ FetchContent_Declare (melatonin_perfetto
# GIT_TAG origin/main
# SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/melatonin_inspector)
-FetchContent_Declare (clap-juce-extensions
- GIT_REPOSITORY https://github.com/free-audio/clap-juce-extensions.git
- GIT_SHALLOW 1
- GIT_TAG origin/main)
+# FetchContent_Declare (clap-juce-extensions
+# GIT_REPOSITORY https://github.com/free-audio/clap-juce-extensions.git
+# GIT_SHALLOW 1
+# GIT_TAG origin/main)
-FetchContent_MakeAvailable (clap-juce-extensions)
+# FetchContent_MakeAvailable (clap-juce-extensions)
if (PERFETTO)
FetchContent_MakeAvailable (melatonin_perfetto)
endif()
-clap_juce_extensions_plugin(TARGET "${BaseTargetName}"
-CLAP_ID "com.AviaryAudio.${PluginName}"
-CLAP_FEATURES effect "distortion analog compressor" audio-effect)
+# clap_juce_extensions_plugin(TARGET "${BaseTargetName}"
+# CLAP_ID "com.AviaryAudio.${PluginName}"
+# CLAP_FEATURES effect "distortion analog compressor" audio-effect)
target_link_libraries("${BaseTargetName}"
PRIVATE
--- hamburger-0.5.orig/PluginProcessor.h
+++ hamburger-0.5/PluginProcessor.h
@@ -22,11 +22,11 @@
// profiling
// #include <melatonin_perfetto/melatonin_perfetto.h>
-#include "clap-juce-extensions/clap-juce-extensions.h"
+// #include "clap-juce-extensions/clap-juce-extensions.h"
//==============================================================================
-class AudioPluginAudioProcessor : public juce::AudioProcessor, public clap_juce_extensions::clap_properties
+class AudioPluginAudioProcessor : public juce::AudioProcessor
{
public:
@@ -117,4 +117,4 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(AudioPluginAudioProcessor)
-};
\ No newline at end of file
+};
--- hamburger-0.5.orig/gui/PresetPanel.h
+++ hamburger-0.5/gui/PresetPanel.h
@@ -46,7 +46,7 @@ public:
}
const juce::Typeface::Ptr quicksandTypeface = juce::Typeface::createSystemTypefaceFor(BinaryData::QuicksandBold_ttf, BinaryData::QuicksandBold_ttfSize);
- Font quicksandFont = juce::Font(FontOptions(quicksandTypeface));
+ Font quicksandFont = juce::Font(quicksandTypeface);
void initFiles(bool ignoreCollapsedStates = false)
{
@@ -553,4 +553,4 @@ private:
CustomListBoxModel listBoxModel;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(PresetPanel)
-};
\ No newline at end of file
+};

+ 13
- 0
sources/plugins/hamburger/debian/patches/02_no-copy-build.patch View File

@@ -0,0 +1,13 @@
--- hamburger-0.5.orig/CMakeLists.txt
+++ hamburger-0.5/CMakeLists.txt
@@ -111,10 +111,6 @@ juce_add_plugin("${BaseTargetName}"
IS_MIDI_EFFECT FALSE # Is this plugin a MIDI effect?
# EDITOR_WANTS_KEYBOARD_FOCUS TRUE/FALSE # Does the editor need keyboard focus?
- COPY_PLUGIN_AFTER_BUILD TRUE # Should the plugin be installed to a default location after building?
- VST3_COPY_DIR "${outdir}"
- VST_COPY_DIR "${outdir}"
- AU_COPY_DIR "${outdir}"
FORMATS LV2 VST VST3
VST3_CATEGORIES Fx Distortion Dynamics
)

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

@@ -0,0 +1,2 @@
01_local-vst2-lv2-build.patch
02_no-copy-build.patch

+ 18
- 0
sources/plugins/hamburger/debian/rules View File

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

include /usr/share/dpkg/kxstudio-audio-plugin.mk

export LDFLAGS += -Wl,--version-script=$(CURDIR)/debian/hamburger.sym

# many issues
export LV2LINT_SKIP = y

override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release

override_dh_auto_build:
dh_auto_build -- -j $(nproc)
cd obj-*-linux-gnu/Hamburger_artefacts/Release/VST && mv libHamburger.so Hamburger.so

%:
dh $@ -Scmake

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

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

Loading…
Cancel
Save