summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2020-04-19 14:01:14 +1000
committerDamien Zammit <damien@zamaudio.com>2020-04-19 14:01:14 +1000
commitb6b3be3ef6ff67444f7afb7d672785f440069f17 (patch)
tree392490906402199090f8565a26731005f052c89e
parent87fdee6e87dbee75c1088e2327ea59c1ab1522e4 (diff)
WIP: AUv2auv2
-rw-r--r--Makefile4
-rw-r--r--docker-script-au13
m---------dpf0
-rwxr-xr-xmake-au4
-rw-r--r--plugins/ZamTube/Makefile4
5 files changed, 23 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 274d0ec..049a541 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,13 @@
PREFIX ?= /usr/local
LIBDIR ?= lib
BINDIR ?= bin
+HAVE_DGL ?= true
NAME = zam-plugins
VERSION = $(shell cat .version)
-PLUGINS=ZamComp ZamCompX2 ZaMultiComp ZamTube ZamEQ2 ZamAutoSat ZamGEQ31 ZaMultiCompX2 ZamGate ZamGateX2 ZamHeadX2 ZaMaximX2 ZamDelay ZamDynamicEQ ZamPhono ZamVerb ZamGrains
+#PLUGINS=ZamComp ZamCompX2 ZaMultiComp ZamTube ZamEQ2 ZamAutoSat ZamGEQ31 ZaMultiCompX2 ZamGate ZamGateX2 ZamHeadX2 ZaMaximX2 ZamDelay ZamDynamicEQ ZamPhono ZamVerb ZamGrains
+PLUGINS=ZamTube
include dpf/Makefile.base.mk
diff --git a/docker-script-au b/docker-script-au
new file mode 100644
index 0000000..73cb490
--- /dev/null
+++ b/docker-script-au
@@ -0,0 +1,13 @@
+export PATH=/usr/i686-apple-darwin10/bin:$PATH
+
+export CC=i686-apple-darwin10-gcc
+export CXX=i686-apple-darwin10-g++
+export AR=i686-apple-darwin10-ar
+export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
+export CXXFLAGS="-arch i386 -I/opt/local/include"
+export CFLAGS="-arch i386 -I/opt/local/include"
+make clean
+touch dpf/utils/lv2_ttl_generator
+chmod a+x dpf/utils/lv2_ttl_generator
+make MACOS=true MACOS_OLD=true CROSS_COMPILING=true -C dpf -j4
+make MACOS=true MACOS_OLD=true CROSS_COMPILING=true -j4
diff --git a/dpf b/dpf
-Subproject 68b3a57a78d814810972584ed571662fe5cfb8f
+Subproject 5a3261feb9047312ab60e4ccecb98b53bea0350
diff --git a/make-au b/make-au
new file mode 100755
index 0000000..98e7220
--- /dev/null
+++ b/make-au
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -e
+
+docker run -v `pwd`:/tmp/build --entrypoint "/bin/bash" cross-apple-106:latest -c "cd /tmp/build; bash docker-script-au"
diff --git a/plugins/ZamTube/Makefile b/plugins/ZamTube/Makefile
index dec298b..6fa8a0a 100644
--- a/plugins/ZamTube/Makefile
+++ b/plugins/ZamTube/Makefile
@@ -45,6 +45,8 @@ endif
TARGETS += vst
-all: $(TARGETS)
+#all: $(TARGETS)
+
+all: au
# --------------------------------------------------------------