Browse Source

Some more plugins, move incomplete to todo

tags/v1.0
falkTX 4 years ago
parent
commit
a3748e5502
18 changed files with 259 additions and 9 deletions
  1. +24
    -0
      patches/abGate/01_lv2core_to_lv2.patch
  2. +15
    -0
      patches/abGate/02_makefile-use-cxxflags.patch
  3. +60
    -0
      patches/abGate/03_no-desktop-ui.patch
  4. +24
    -0
      patches/abGate/04_cross-compile.patch
  5. +26
    -0
      patches/blop-lv2/01_fix-wavedata-prototype.patch
  6. +8
    -0
      plugins-todo/blop-lv2.json
  7. +21
    -0
      plugins-todo/dpf-plugins.json
  8. +12
    -0
      plugins-todo/mod-distortion.json
  9. +2
    -1
      plugins-todo/noise-repellent.json
  10. +2
    -1
      plugins-todo/regrader.json
  11. +12
    -0
      plugins-todo/sooperlooper-lv2.json
  12. +29
    -0
      plugins-todo/tap-lv2.json
  13. +7
    -0
      plugins/abgate.json
  14. +0
    -0
      plugins/caps.json
  15. +0
    -6
      plugins/dpf-plugins.json
  16. +8
    -0
      plugins/fomp.json
  17. +8
    -0
      plugins/mda.json
  18. +1
    -1
      setup/functions.sh

+ 24
- 0
patches/abGate/01_lv2core_to_lv2.patch View File

@@ -0,0 +1,24 @@
Description: Port to LV2's new release.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: Antanas Bružas <antanas@hippie.lt>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: abgate/Makefile
===================================================================
--- abgate.orig/Makefile 2014-02-01 21:48:06.998316241 +0100
+++ abgate/Makefile 2014-02-01 21:48:06.994316226 +0100
@@ -13,10 +13,10 @@
cd abGateQt; qmake-qt4; make
gate.so: gate.cpp
- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2core` -o gate.so
+ g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h preset.cpp preset.h gate_const.h ui.h plugin_configuration.h
- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2core gthread-2.0` -o gate_gui.so
+ g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
install: $(BUNDLE)
mkdir -p $(INSTALL_DIR)

+ 15
- 0
patches/abGate/02_makefile-use-cxxflags.patch View File

@@ -0,0 +1,15 @@
--- abgate-1.1.7.orig/Makefile
+++ abgate-1.1.7/Makefile
@@ -13,10 +13,10 @@ abGateQt/libabGateQt.so:
cd abGateQt; qmake-qt4; make
gate.so: gate.cpp
- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
+ g++ $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h preset.cpp preset.h gate_const.h ui.h plugin_configuration.h
- g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
+ g++ $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
install: $(BUNDLE)
mkdir -p $(INSTALL_DIR)

+ 60
- 0
patches/abGate/03_no-desktop-ui.patch View File

@@ -0,0 +1,60 @@
diff -U 3 -H -w -E -d -r -N -- abGate-1.1.7.orig/Makefile abGate-1.1.7/Makefile
--- abGate-1.1.7.orig/Makefile 2014-01-13 10:17:05.000000000 +0100
+++ abGate-1.1.7/Makefile 2015-07-16 18:29:32.863103572 +0200
@@ -4,7 +4,7 @@
PREFIX = /usr
INSTALL_DIR = $(DESTDIR)$(PREFIX)/lib/lv2
-$(BUNDLE): manifest.ttl gate.ttl gate.so gate_gui.so bypass_on.png bypass_off.png knob.png background.png abGateQt/libabGateQt.so
+$(BUNDLE): manifest.ttl gate.ttl gate.so
rm -rf $(BUNDLE)
mkdir $(BUNDLE)
cp $^ $(BUNDLE)
diff -U 3 -H -w -E -d -r -N -- abGate-1.1.7.orig/gate.ttl abGate-1.1.7/gate.ttl
--- abGate-1.1.7.orig/gate.ttl 2012-04-21 07:18:24.000000000 +0200
+++ abGate-1.1.7/gate.ttl 2015-07-16 18:28:50.579702673 +0200
@@ -6,16 +6,6 @@
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
-<http://hippie.lt/lv2/gate/guiQt4>
- a ui:Qt4UI;
- ui:requiredFeature ui:makeResident;
- ui:optionalFeature ui:noUserResize.
-
-<http://hippie.lt/lv2/gate/gui>
- a ui:GtkUI;
- ui:requiredFeature ui:makeResident;
- ui:optionalFeature ui:noUserResize.
-
<http://hippie.lt/lv2/gate>
a lv2:Plugin, lv2:GatePlugin;
lv2:binary <gate.so>;
@@ -37,9 +27,6 @@
doap:license <http://usefulinc.com/doap/licenses/lgpl>;
- ui:ui <http://hippie.lt/lv2/gate/guiQt4>;
- ui:ui <http://hippie.lt/lv2/gate/gui>;
-
lv2:port [
a lv2:AudioPort, lv2:OutputPort;
lv2:index 0;
diff -U 3 -H -w -E -d -r -N -- abGate-1.1.7.orig/manifest.ttl abGate-1.1.7/manifest.ttl
--- abGate-1.1.7.orig/manifest.ttl 2012-04-21 07:16:31.000000000 +0200
+++ abGate-1.1.7/manifest.ttl 2015-07-16 18:32:13.342625579 +0200
@@ -6,14 +6,3 @@
a lv2:Plugin, lv2:GatePlugin;
lv2:binary <gate.so>;
rdfs:seeAlso <gate.ttl>.
-
-<http://hippie.lt/lv2/gate/guiQt4>
- a ui:Qt4UI;
- ui:binary <libabGateQt.so>;
- rdfs:seeAlso <gate.ttl>.
-
-<http://hippie.lt/lv2/gate/gui>
- a ui:GtkUI;
- ui:binary <gate_gui.so>;
- rdfs:seeAlso <gate.ttl>.
-

+ 24
- 0
patches/abGate/04_cross-compile.patch View File

@@ -0,0 +1,24 @@
--- abgate-1.1.7.orig/Makefile
+++ abgate-1.1.7/Makefile
@@ -4,6 +4,8 @@ BUNDLE = abGate.lv2
PREFIX = /usr
INSTALL_DIR = $(DESTDIR)$(PREFIX)/lib/lv2
+CXX ?= g++
+
$(BUNDLE): manifest.ttl gate.ttl gate.so
rm -rf $(BUNDLE)
mkdir $(BUNDLE)
@@ -13,10 +15,10 @@ abGateQt/libabGateQt.so:
cd abGateQt; qmake-qt4; make
gate.so: gate.cpp
- g++ $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h preset.cpp preset.h gate_const.h ui.h plugin_configuration.h
- g++ $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
install: $(BUNDLE)
mkdir -p $(INSTALL_DIR)

+ 26
- 0
patches/blop-lv2/01_fix-wavedata-prototype.patch View File

@@ -0,0 +1,26 @@
diff --git a/src/wavedata.c b/src/wavedata.c
index e574903..8ec3783 100644
--- a/src/wavedata.c
+++ b/src/wavedata.c
@@ -58,7 +58,7 @@ wavedata_load(Wavedata* w,
typedef int (*DescFunc)(Wavedata*, unsigned long);
DescFunc desc_func = (DescFunc)dlsym(handle, wdat_descriptor_name);
if (desc_func) {
- retval = desc_func(w, sample_rate);
+ retval = desc_func(w, (unsigned long)sample_rate);
w->data_handle = handle;
return retval;
}
diff --git a/src/wdatutil.c b/src/wdatutil.c
index b3bf84e..86b5fb0 100644
--- a/src/wdatutil.c
+++ b/src/wdatutil.c
@@ -249,7 +249,7 @@ wavedata_write_prototype(FILE* wdat_fp,
fprintf(wdat_fp, "int\n");
fprintf(
wdat_fp,
- "blop_get_%s (Wavedata * w, double sample_rate, const char* bundle_path, const LV2_Feature* const* features)",
+ "blop_get_%s (Wavedata * w, unsigned long sample_rate)",
data_name);
}

+ 8
- 0
plugins-todo/blop-lv2.json View File

@@ -0,0 +1,8 @@
{
"name": "blop-lv2",
"lv2bundles": ["blop.lv2"],
"version": "1.0.0",
"dlbaseurl": "http://download.drobilla.net",
"dlext": "tar.bz2",
"buildtype": "waf"
}

+ 21
- 0
plugins-todo/dpf-plugins.json View File

@@ -0,0 +1,21 @@
{
"name": "dpf-plugins",
"lv2bundles": [
"3BandEQ.lv2",
"3BandSplitter.lv2",
"AmplitudeImposer.lv2",
"CycleShifter.lv2",
"Kars.lv2",
"MaBitcrush.lv2",
"MaFreeverb.lv2",
"MaGigaverb.lv2",
"MaPitchshift.lv2",
"MVerb.lv2",
"Nekobi.lv2",
"PingPongPan.lv2",
"SoulForce.lv2"
],
"version": "1.3",
"dlbaseurl": "https://github.com/DISTRHO/DPF-Plugins/archive",
"buildtype": "make"
}

+ 12
- 0
plugins-todo/mod-distortion.json View File

@@ -0,0 +1,12 @@
{
"name": "mod-distortion",
"lv2bundles": [
"mod-bigmuff.lv2",
"mod-ds1.lv2"
],
"version": "3622901c643570087b9d26fec2fd878384eaa98e",
"dlbaseurl": "https://github.com/moddevices/mod-distortion.git",
"dlmethod": "git",
"buildtype": "make",
"buildargs": "INSTALL_PATH=/usr/lib/lv2"
}

plugins/noise-repellent.json → plugins-todo/noise-repellent.json View File

@@ -1,6 +1,7 @@
{
"name": "noise-repellent",
"version": "87b4380eae2b69b09bba8a8b181f24153079100d",
"lv2bundles": ["nrepel.lv2"],
"version": "7f5a8fbef48fed75b9168509a4e3f985ae878988",
"dlbaseurl": "https://github.com/lucianodato/noise-repellent.git",
"dlmethod": "git",
"buildtype": "meson"

plugins/regrader.json → plugins-todo/regrader.json View File

@@ -1,6 +1,7 @@
{
"name": "regrader-port",
"version": "412e475cef1025d955fae4229b6bc94596f36fd4",
"lv2bundles": ["regrader.lv2"],
"version": "9154881ad6553537cc7f2a743541f6b47de2a207",
"dlbaseurl": "https://github.com/linuxmao-org/regrader-port.git",
"dlmethod": "git",
"buildtype": "make"

+ 12
- 0
plugins-todo/sooperlooper-lv2.json View File

@@ -0,0 +1,12 @@
{
"name": "tap-lv2",
"lv2bundles": [
"sooperlooper.lv2",
"sooperlooper-2x2.lv2"
],
"version": "d3e80029ce4f6ef62b3758e95c5b889cab1db740",
"dlbaseurl": "https://github.com/moddevices/sooperlooper-lv2-plugin.git",
"dlmethod": "git",
"buildtype": "make",
"buildargs": "INSTALL_PATH=/usr/lib/lv2"
}

+ 29
- 0
plugins-todo/tap-lv2.json View File

@@ -0,0 +1,29 @@
{
"name": "tap-lv2",
"lv2bundles": [
"tap-autopan.lv2",
"tap-chorusflanger.lv2",
"tap-deesser.lv2",
"tap-doubler.lv2",
"tap-dynamics.lv2",
"tap-dynamics-st.lv2",
"tap-echo.lv2",
"tap-eqbw.lv2",
"tap-eq.lv2",
"tap-limiter.lv2",
"tap-pinknoise.lv2",
"tap-pitch.lv2",
"tap-reflector.lv2",
"tap-reverb.lv2",
"tap-rotspeak.lv2",
"tap-sigmoid.lv2",
"tap-tremolo.lv2",
"tap-tubewarmth.lv2",
"tap-vibrato.lv2"
],
"version": "cab6e0dfb2ce20e4ad34b067d1281ec0b193598a",
"dlbaseurl": "https://github.com/moddevices/tap-lv2.git",
"dlmethod": "git",
"buildtype": "make",
"buildargs": "INSTALL_PATH=/usr/lib/lv2"
}

+ 7
- 0
plugins/abgate.json View File

@@ -0,0 +1,7 @@
{
"name": "abGate",
"lv2bundles": ["abGate.lv2"],
"version": "1.1.7",
"dlbaseurl": "http://download.sourceforge.net/abgate",
"buildtype": "make"
}

plugins/caps-lv2.json → plugins/caps.json View File


+ 0
- 6
plugins/dpf-plugins.json View File

@@ -1,6 +0,0 @@
{
"name": "dpf-plugins",
"version": "1.3",
"dlbaseurl": "https://github.com/DISTRHO/DPF-Plugins/archive",
"buildtype": "make"
}

+ 8
- 0
plugins/fomp.json View File

@@ -0,0 +1,8 @@
{
"name": "fomp",
"lv2bundles": ["fomp.lv2"],
"version": "1.2.0",
"dlbaseurl": "http://download.drobilla.net",
"dlext": "tar.bz2",
"buildtype": "waf"
}

+ 8
- 0
plugins/mda.json View File

@@ -0,0 +1,8 @@
{
"name": "mda-lv2",
"lv2bundles": ["mda.lv2"],
"version": "1.2.4",
"dlbaseurl": "http://download.drobilla.net",
"dlext": "tar.bz2",
"buildtype": "waf"
}

+ 1
- 1
setup/functions.sh View File

@@ -293,7 +293,7 @@ function build_make() {

if [ ! -f "${pkgdir}/.stamp_installed" ]; then
pushd "${pkgdir}"
make PREFIX="${PAWPAW_PREFIX}" PKG_CONFIG="${TARGET_PKG_CONFIG}" ${MAKE_ARGS} -j 1 install
make PREFIX="${PAWPAW_PREFIX}" PKG_CONFIG="${TARGET_PKG_CONFIG}" ${MAKE_ARGS} ${extraconfrules} -j 1 install
touch .stamp_installed
popd
fi


Loading…
Cancel
Save