[arch-commits] Commit in (6 files)

David Runge dvzrv at archlinux.org
Sun Mar 22 11:50:50 UTC 2020


    Date: Sunday, March 22, 2020 @ 11:50:49
  Author: dvzrv
Revision: 603463

Adding helm-synth (replacing helm, so kubernetes' helm can be moved to the repos).

Added:
  helm-synth/
  helm-synth/repos/
  helm-synth/trunk/
  helm-synth/trunk/PKGBUILD
  helm-synth/trunk/helm-synth-0.9.0-gcc91.patch
  helm-synth/trunk/helm-synth-0.9.0-rename_helm-synth.patch

------------------------------------------+
 PKGBUILD                                 |   50 +++++++
 helm-synth-0.9.0-gcc91.patch             |  140 ++++++++++++++++++++++
 helm-synth-0.9.0-rename_helm-synth.patch |  183 +++++++++++++++++++++++++++++
 3 files changed, 373 insertions(+)

Added: helm-synth/trunk/PKGBUILD
===================================================================
--- helm-synth/trunk/PKGBUILD	                        (rev 0)
+++ helm-synth/trunk/PKGBUILD	2020-03-22 11:50:49 UTC (rev 603463)
@@ -0,0 +1,50 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=helm
+pkgname=helm-synth
+pkgver=0.9.0
+pkgrel=8
+pkgdesc="A cross-platform, polyphonic synthesizer, available standalone and as an LV2 plugin"
+arch=('x86_64')
+url="https://tytel.org/helm/"
+license=('GPL3')
+groups=('pro-audio' 'lv2-plugins' 'vst-plugins')
+depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'libglvnd' 'libx11' 'libxext' 'libxinerama')
+makedepends=('alsa-lib' 'freetype2' 'jack' 'libxcursor' 'lv2')
+conflicts=('helm')
+replaces=('helm')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mtytel/${_name}/archive/v${pkgver}.tar.gz"
+        "${pkgname}-0.9.0-gcc91.patch"
+        "${pkgname}-0.9.0-rename_helm-synth.patch")
+sha512sums=('241c6bf3aec422e9ccaf7c7113eec7e30a11baadd30fe8f05f0abfac9c41d0c8a9fb284f0cae49bcaf0d3d08aa952737f6ff3eb7d48c2b2e22c60932738aeaa4'
+            '4c12575c6a58c6a03644b9c7d560e3a794fa3575ac10eb9301ca911a58a86eb5c721f0e4c8c1c5bfcf81b6efba25ed7bdba2a12fe68ec49eb18581067cec06bb'
+            '99df61242d6fd5629440c72210c541f3ce0e711190ab2472ebc066a9044d79499c657c9554b39570867a95e061da3c32ceefce3706e84fc6b4cb540e59289607')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # gcc > 9.1 fixes:
+  # https://github.com/mtytel/helm/pull/233
+  patch -Np1 -i "../${pkgname}-0.9.0-gcc91.patch"
+  # rename to helm-synth as (kubernetes) helm will be in the repos
+  patch -Np1 -i "../${pkgname}-0.9.0-rename_helm-synth.patch"
+  # prevent from linking against libcurl.so for no reason
+  sed -e 's/libcurl //g' \
+      -i {builds/linux/{LV2,VST},standalone/builds/linux}/Makefile*
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  make CONFIG='Release' \
+       PREFIX="/usr" \
+       standalone lv2 vst
+}
+
+package() {
+  depends+=('libasound.so' 'libfreetype.so')
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir/" \
+       VSTDIR="${pkgdir}/usr/lib/vst" \
+       install_standalone install_lv2 install_vst
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}

Added: helm-synth/trunk/helm-synth-0.9.0-gcc91.patch
===================================================================
--- helm-synth/trunk/helm-synth-0.9.0-gcc91.patch	                        (rev 0)
+++ helm-synth/trunk/helm-synth-0.9.0-gcc91.patch	2020-03-22 11:50:49 UTC (rev 603463)
@@ -0,0 +1,140 @@
+From cb611a80bd5a36d31bfc31212ebbf79aa86c6f08 Mon Sep 17 00:00:00 2001
+From: jikstra <jikstra at disroot.org>
+Date: Tue, 20 Aug 2019 03:00:51 +0200
+Subject: [PATCH] Backport
+ https://github.com/WeAreROLI/JUCE/commit/4e0adb2af8b424c43d22bd431011c9a6c57d36b6
+ to the bundled JUCE framework to make helm compile on gcc 9.1 again
+
+---
+ .../juce_graphics/colour/juce_PixelFormats.h  | 25 +---------
+ .../native/juce_RenderingHelpers.h            | 48 +------------------
+ 2 files changed, 4 insertions(+), 69 deletions(-)
+
+diff --git a/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h b/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h
+index 9be9ba09c..3535eab80 100644
+--- a/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h
++++ b/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h
+@@ -105,23 +105,9 @@ class JUCE_API  PixelARGB
+ 
+     //==============================================================================
+     forcedinline uint8 getAlpha() const noexcept      { return components.a; }
+-    forcedinline uint8 getRed() const noexcept        { return components.r; }
++    forcedinline uint8 getRed()   const noexcept      { return components.r; }
+     forcedinline uint8 getGreen() const noexcept      { return components.g; }
+-    forcedinline uint8 getBlue() const noexcept       { return components.b; }
+-
+-   #if JUCE_GCC
+-    // NB these are here as a workaround because GCC refuses to bind to packed values.
+-    forcedinline uint8& getAlpha() noexcept           { return comps [indexA]; }
+-    forcedinline uint8& getRed() noexcept             { return comps [indexR]; }
+-    forcedinline uint8& getGreen() noexcept           { return comps [indexG]; }
+-    forcedinline uint8& getBlue() noexcept            { return comps [indexB]; }
+-   #else
+-    forcedinline uint8& getAlpha() noexcept           { return components.a; }
+-    forcedinline uint8& getRed() noexcept             { return components.r; }
+-    forcedinline uint8& getGreen() noexcept           { return components.g; }
+-    forcedinline uint8& getBlue() noexcept            { return components.b; }
+-   #endif
+-
++    forcedinline uint8 getBlue()  const noexcept      { return components.b; }
+     //==============================================================================
+     /** Copies another pixel colour over this one.
+ 
+@@ -340,9 +326,6 @@ class JUCE_API  PixelARGB
+     {
+         uint32 internal;
+         Components components;
+-       #if JUCE_GCC
+-        uint8 comps[4];  // helper struct needed because gcc does not allow references to packed union members
+-       #endif
+     };
+ }
+ #ifndef DOXYGEN
+@@ -429,10 +412,6 @@ class JUCE_API  PixelRGB
+     forcedinline uint8 getGreen() const noexcept    { return g; }
+     forcedinline uint8 getBlue() const noexcept     { return b; }
+ 
+-    forcedinline uint8& getRed() noexcept           { return r; }
+-    forcedinline uint8& getGreen() noexcept         { return g; }
+-    forcedinline uint8& getBlue() noexcept          { return b; }
+-
+     //==============================================================================
+     /** Copies another pixel colour over this one.
+ 
+diff --git a/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h b/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h
+index 1c4cd31ef..29519cb5a 100644
+--- a/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h
++++ b/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h
+@@ -581,18 +581,10 @@ namespace EdgeTableFillers
+             : destData (image), sourceColour (colour)
+         {
+             if (sizeof (PixelType) == 3 && destData.pixelStride == sizeof (PixelType))
+-            {
+                 areRGBComponentsEqual = sourceColour.getRed() == sourceColour.getGreen()
+                                             && sourceColour.getGreen() == sourceColour.getBlue();
+-                filler[0].set (sourceColour);
+-                filler[1].set (sourceColour);
+-                filler[2].set (sourceColour);
+-                filler[3].set (sourceColour);
+-            }
+             else
+-            {
+                 areRGBComponentsEqual = false;
+-            }
+         }
+ 
+         forcedinline void setEdgeTableYPos (const int y) noexcept
+@@ -643,7 +635,6 @@ namespace EdgeTableFillers
+         const Image::BitmapData& destData;
+         PixelType* linePixels;
+         PixelARGB sourceColour;
+-        PixelRGB filler [4];
+         bool areRGBComponentsEqual;
+ 
+         forcedinline PixelType* getPixel (const int x) const noexcept
+@@ -658,43 +649,8 @@ namespace EdgeTableFillers
+ 
+         forcedinline void replaceLine (PixelRGB* dest, const PixelARGB colour, int width) const noexcept
+         {
+-            if (destData.pixelStride == sizeof (*dest))
+-            {
+-                if (areRGBComponentsEqual)  // if all the component values are the same, we can cheat..
+-                {
+-                    memset (dest, colour.getRed(), (size_t) width * 3);
+-                }
+-                else
+-                {
+-                    if (width >> 5)
+-                    {
+-                        const int* const intFiller = reinterpret_cast<const int*> (filler);
+-
+-                        while (width > 8 && (((pointer_sized_int) dest) & 7) != 0)
+-                        {
+-                            dest->set (colour);
+-                            ++dest;
+-                            --width;
+-                        }
+-
+-                        while (width > 4)
+-                        {
+-                            int* d = reinterpret_cast<int*> (dest);
+-                            *d++ = intFiller[0];
+-                            *d++ = intFiller[1];
+-                            *d++ = intFiller[2];
+-                            dest = reinterpret_cast<PixelRGB*> (d);
+-                            width -= 4;
+-                        }
+-                    }
+-
+-                    while (--width >= 0)
+-                    {
+-                        dest->set (colour);
+-                        ++dest;
+-                    }
+-                }
+-            }
++            if ((size_t) destData.pixelStride == sizeof (*dest) && areRGBComponentsEqual)
++                memset ((void*) dest, colour.getRed(), (size_t) width * 3);   // if all the component values are the same, we can cheat..
+             else
+             {
+                 JUCE_PERFORM_PIXEL_OP_LOOP (set (colour))

Added: helm-synth/trunk/helm-synth-0.9.0-rename_helm-synth.patch
===================================================================
--- helm-synth/trunk/helm-synth-0.9.0-rename_helm-synth.patch	                        (rev 0)
+++ helm-synth/trunk/helm-synth-0.9.0-rename_helm-synth.patch	2020-03-22 11:50:49 UTC (rev 603463)
@@ -0,0 +1,183 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile	2017-07-08 23:40:42.000000000 +0200
++++ b/Makefile	2020-03-22 10:09:05.182126736 +0100
+@@ -30,7 +30,7 @@
+ endif
+ 
+ 
+-PROGRAM = helm
++PROGRAM = helm-synth
+ BIN     = $(DESTDIR)/usr/bin
+ BINFILE = $(BIN)/$(PROGRAM)
+ LV2     = $(DESTDIR)/$(LIBDIR)/lv2/$(PROGRAM).lv2
+@@ -98,22 +98,22 @@
+ install_standalone: standalone install_patches install_icons
+ 	install -d $(BIN) $(IMAGES) $(MAN) $(CHANGES) $(DESKTOP)
+ 	install standalone/builds/linux/build/$(PROGRAM) $(BIN)
+-	install -m644 standalone/helm.desktop $(DESKTOP)/helm.desktop
++	install -m644 standalone/helm.desktop $(DESKTOP)/helm-synth.desktop
+ 	install -m644 images/* $(IMAGES)
+ 	cp changelog changes
+ 	gzip -n -9 changelog
+ 	mv changes changelog
+ 	mv changelog.gz $(CHANGES)/changelog.gz
+-	cp docs/helm.1.gz $(MAN)
++	mv docs/helm.1.gz $(MAN)/helm-synth.1.gz
+ 
+ install_lv2: lv2 install_patches
+ 	install -d $(PATCHES) $(LV2)
+-	install -m644 builds/linux/LV2/helm.lv2/* $(LV2)
++	install -m644 builds/linux/LV2/helm-synth.lv2/* $(LV2)
+ 	cp -rf patches/* $(PATCHES)
+ 
+ install_vst: vst install_patches
+ 	install -d $(PATCHES) $(VSTDIR)
+-	install builds/linux/VST/build/helm.so $(VST)
++	install builds/linux/VST/build/helm-synth.so $(VST)
+ 	cp -rf patches/* $(PATCHES)
+ 
+ thank_you:
+diff -ruN a/builds/linux/LV2/Makefile b/builds/linux/LV2/Makefile
+--- a/builds/linux/LV2/Makefile	2017-07-08 23:40:42.000000000 +0200
++++ b/builds/linux/LV2/Makefile	2020-03-21 23:19:20.419513279 +0100
+@@ -11,13 +11,13 @@
+ 	$(MAKE) -f Makefile.ttl_generator CONFIG=$(CONFIG)
+ 
+ lv2: ttl_generator binary
+-	./lv2_ttl_generator build/helm.so
+-	mkdir -p helm.lv2
+-	cp build/helm.so helm.lv2
+-	mv *.ttl helm.lv2
++	./lv2_ttl_generator build/helm-synth.so
++	mkdir -p helm-synth.lv2
++	cp build/helm-synth.so helm-synth.lv2
++	mv *.ttl helm-synth.lv2
+ 
+ clean:
+ 	$(MAKE) clean CONFIG=$(CONFIG) -f Makefile.binary
+ 	$(MAKE) clean CONFIG=$(CONFIG) -f Makefile.ttl_generator
+ 	rm -rf build
+-	rm -rf helm.lv2
++	rm -rf helm-synth.lv2
+diff -ruN a/builds/linux/LV2/Makefile.binary b/builds/linux/LV2/Makefile.binary
+--- a/builds/linux/LV2/Makefile.binary	2017-07-08 23:40:42.000000000 +0200
++++ b/builds/linux/LV2/Makefile.binary	2020-03-21 23:26:19.495820547 +0100
+@@ -38,10 +38,10 @@
+   JUCE_CPPFLAGS_VST := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
+   JUCE_CFLAGS_VST := -fPIC
+   JUCE_LDFLAGS_VST := -shared -Wl,--no-undefined
+-  JUCE_TARGET_VST := helm.so
++  JUCE_TARGET_VST := helm-synth.so
+ 
+   JUCE_CPPFLAGS_SHARED_CODE := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJUCE_SHARED_CODE=1
+-  JUCE_TARGET_SHARED_CODE := helm.a
++  JUCE_TARGET_SHARED_CODE := helm-synth.a
+ 
+   JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -fPIC -g -ggdb -O0 $(DEBCXXFLAGS) -ffast-math $(SIMDFLAGS) $(CFLAGS)
+   JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
+@@ -65,10 +65,10 @@
+   JUCE_CPPFLAGS_VST := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
+   JUCE_CFLAGS_VST := -fPIC
+   JUCE_LDFLAGS_VST := -shared -Wl,--no-undefined
+-  JUCE_TARGET_VST := helm.so
++  JUCE_TARGET_VST := helm-synth.so
+ 
+   JUCE_CPPFLAGS_SHARED_CODE := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJUCE_SHARED_CODE=1
+-  JUCE_TARGET_SHARED_CODE := helm.a
++  JUCE_TARGET_SHARED_CODE := helm-synth.a
+ 
+   JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -fPIC -O3 $(DEBCXXFLAGS) -ffast-math $(SIMDFLAGS) $(CFLAGS)
+   JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
+diff -ruN a/builds/linux/VST/Makefile b/builds/linux/VST/Makefile
+--- a/builds/linux/VST/Makefile	2017-07-08 23:40:42.000000000 +0200
++++ b/builds/linux/VST/Makefile	2020-03-21 23:19:55.625858511 +0100
+@@ -38,10 +38,10 @@
+   JUCE_CPPFLAGS_VST := -DJucePlugin_Build_VST=1 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
+   JUCE_CFLAGS_VST := -fPIC
+   JUCE_LDFLAGS_VST := -shared -Wl,--no-undefined
+-  JUCE_TARGET_VST := helm.so
++  JUCE_TARGET_VST := helm-synth.so
+ 
+   JUCE_CPPFLAGS_SHARED_CODE := -DJucePlugin_Build_VST=1 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJUCE_SHARED_CODE=1
+-  JUCE_TARGET_SHARED_CODE := helm.a
++  JUCE_TARGET_SHARED_CODE := helm-synth.a
+ 
+   JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -fPIC -g -ggdb -O0 $(DEBCXXFLAGS) -ffast-math $(SIMDFLAGS) -ftree-vectorize -ftree-slp-vectorize $(CFLAGS)
+   JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
+@@ -65,10 +65,10 @@
+   JUCE_CPPFLAGS_VST := -DJucePlugin_Build_VST=1 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
+   JUCE_CFLAGS_VST := -fPIC
+   JUCE_LDFLAGS_VST := -shared -Wl,--no-undefined
+-  JUCE_TARGET_VST := helm.so
++  JUCE_TARGET_VST := helm-synth.so
+ 
+   JUCE_CPPFLAGS_SHARED_CODE := -DJucePlugin_Build_VST=1 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJUCE_SHARED_CODE=1
+-  JUCE_TARGET_SHARED_CODE := helm.a
++  JUCE_TARGET_SHARED_CODE := helm-synth.a
+ 
+   JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -fPIC -O3 $(DEBCXXFLAGS) -ffast-math $(SIMDFLAGS) -ftree-vectorize -ftree-slp-vectorize $(CFLAGS)
+   JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
+diff -ruN a/src/common/load_save.cpp b/src/common/load_save.cpp
+--- a/src/common/load_save.cpp	2017-07-08 23:40:42.000000000 +0200
++++ b/src/common/load_save.cpp	2020-03-21 23:10:52.487485751 +0100
+@@ -20,9 +20,9 @@
+ #include "midi_manager.h"
+ #include "synth_base.h"
+ 
+-#define LINUX_FACTORY_PATCH_DIRECTORY "/usr/share/helm/patches"
++#define LINUX_FACTORY_PATCH_DIRECTORY "/usr/share/helm-synth/patches"
+ #define USER_BANK_NAME "User Patches"
+-#define LINUX_BANK_DIRECTORY "~/.helm/patches"
++#define LINUX_BANK_DIRECTORY "~/.helm-synth/patches"
+ #define EXPORTED_BANK_EXTENSION "helmbank"
+ #define DID_PAY_FILE "thank_you.txt"
+ #define PAY_WAIT_DAYS 4
+diff -ruN a/src/editor_sections/patch_browser.cpp b/src/editor_sections/patch_browser.cpp
+--- a/src/editor_sections/patch_browser.cpp	2017-07-08 23:40:42.000000000 +0200
++++ b/src/editor_sections/patch_browser.cpp	2020-03-21 23:10:25.127735768 +0100
+@@ -28,8 +28,8 @@
+ #define PATCHES_WIDTH_PERCENT 0.285
+ #define PATCH_INFO_WIDTH_PERCENT 0.285
+ #define TEXT_PADDING 4.0f
+-#define LINUX_SYSTEM_PATCH_DIRECTORY "/usr/share/helm/patches"
+-#define LINUX_USER_PATCH_DIRECTORY "~/.helm/User Patches"
++#define LINUX_SYSTEM_PATCH_DIRECTORY "/usr/share/helm-synth/patches"
++#define LINUX_USER_PATCH_DIRECTORY "~/.helm-synth/User Patches"
+ #define BROWSING_HEIGHT 430.0f
+ #define BROWSE_PADDING 8.0f
+ #define BUTTON_HEIGHT 30.0f
+diff -ruN a/standalone/builds/linux/Makefile b/standalone/builds/linux/Makefile
+--- a/standalone/builds/linux/Makefile	2017-07-08 23:40:42.000000000 +0200
++++ b/standalone/builds/linux/Makefile	2020-03-21 23:57:18.385773158 +0100
+@@ -35,7 +35,7 @@
+ 
+   JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DDEBUG=1 -D_DEBUG=1 -DJUCE_JACK_CLIENT_NAME=\"Helm\" -DJUCE_ALSA_MIDI_INPUT_NAME=\"Helm\" -DJUCE_ALSA_MIDI_OUTPUT_NAME=\"Helm\" -DJUCE_USE_XRANDR=0 -DJUCER_LINUX_MAKE_6B3E762A=1 -DJUCE_APP_VERSION=0.9.0 -DJUCE_APP_VERSION_HEX=0x900 $(shell pkg-config --cflags alsa freetype2 libcurl x11 xext xinerama) -pthread -I../../JuceLibraryCode -I../../../JUCE/modules -I../../../concurrentqueue -I../../../mopo/src -I../../../src -I../../../src/common -I../../../src/editor_components -I../../../src/editor_sections -I../../../src/look_and_feel -I../../../src/standalone -I../../../src/synthesis $(CPPFLAGS)
+   JUCE_CPPFLAGS_APP := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
+-  JUCE_TARGET_APP := helm
++  JUCE_TARGET_APP := helm-synth
+ 
+   JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -g -ggdb -O0 $(DEBCXXFLAGS) -ffast-math $(SIMDFLAGS) -ftree-vectorize -ftree-slp-vectorize $(CFLAGS)
+   JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
+@@ -56,7 +56,7 @@
+ 
+   JUCE_CPPFLAGS := $(DEPFLAGS) -DLINUX=1 -DNDEBUG=1 -DJUCE_JACK_CLIENT_NAME=\"Helm\" -DJUCE_ALSA_MIDI_INPUT_NAME=\"Helm\" -DJUCE_ALSA_MIDI_OUTPUT_NAME=\"Helm\" -DJUCE_USE_XRANDR=0 -DJUCER_LINUX_MAKE_6B3E762A=1 -DJUCE_APP_VERSION=0.9.0 -DJUCE_APP_VERSION_HEX=0x900 $(shell pkg-config --cflags alsa freetype2 libcurl x11 xext xinerama) -pthread -I../../JuceLibraryCode -I../../../JUCE/modules -I../../../concurrentqueue -I../../../mopo/src -I../../../src -I../../../src/common -I../../../src/editor_components -I../../../src/editor_sections -I../../../src/look_and_feel -I../../../src/standalone -I../../../src/synthesis $(CPPFLAGS)
+   JUCE_CPPFLAGS_APP := -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0
+-  JUCE_TARGET_APP := helm
++  JUCE_TARGET_APP := helm-synth
+ 
+   JUCE_CFLAGS += $(JUCE_CPPFLAGS) $(TARGET_ARCH) -O3 $(DEBCXXFLAGS) -ffast-math $(SIMDFLAGS) -ftree-vectorize -ftree-slp-vectorize $(CFLAGS)
+   JUCE_CXXFLAGS += $(CXXFLAGS) $(JUCE_CFLAGS) -std=c++11 $(CXXFLAGS)
+diff -ruN a/standalone/helm.desktop b/standalone/helm.desktop
+--- a/standalone/helm.desktop	2017-07-08 23:40:42.000000000 +0200
++++ b/standalone/helm.desktop	2020-03-22 10:15:54.648179521 +0100
+@@ -4,8 +4,8 @@
+ Comment[fr]=Un synthétiseur polyphonique libre avec un tas de module
+ GenericName=Synth
+ GenericName[fr]=Synthétiseur
+-Exec=helm
+-Icon=helm
++Exec=helm-synth
++Icon=helm-synth
+ Terminal=false
+ Type=Application
+ Categories=Audio;AudioVideo;



More information about the arch-commits mailing list