summaryrefslogtreecommitdiffstats
path: root/src/jack.mk
diff options
context:
space:
mode:
authorHarry Nakos <xnakos@gmail.com>2015-06-15 19:04:06 (GMT)
committerHarry Nakos <xnakos@gmail.com>2015-06-15 19:04:06 (GMT)
commit60b1ecf771634becca778ac256d9d9a72322b267 (patch)
tree9b31ec368aa1721ac888f9e4b8986f52b5cd601e /src/jack.mk
parentafdbc86f354f3df2d98a479d5800bd0846bf1f55 (diff)
downloadmxe-60b1ecf771634becca778ac256d9d9a72322b267.zip
mxe-60b1ecf771634becca778ac256d9d9a72322b267.tar.gz
mxe-60b1ecf771634becca778ac256d9d9a72322b267.tar.bz2
Investigate jack2 support.
Diffstat (limited to 'src/jack.mk')
-rw-r--r--src/jack.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/jack.mk b/src/jack.mk
new file mode 100644
index 0000000..f21e730
--- /dev/null
+++ b/src/jack.mk
@@ -0,0 +1,31 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := jack
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.9.10
+$(PKG)_CHECKSUM := 1177655ae0fbbd8c2229b398a79724115a392941
+$(PKG)_SUBDIR := jack-$($(PKG)_VERSION)
+$(PKG)_FILE := jack-$($(PKG)_VERSION).tar.bz2
+$(PKG)_URL := https://dl.dropboxusercontent.com/u/28869550/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc libsamplerate libgnurx portaudio libsndfile winpthreads
+
+define $(PKG)_UPDATE
+ echo 'TODO: write update script for $(PKG).' >&2;
+ echo $($(PKG)_VERSION)
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && \
+ AR='$(TARGET)-ar' \
+ CC='$(TARGET)-gcc' \
+ CXX='$(TARGET)-g++' \
+ PKGCONFIG='$(TARGET)-pkg-config' \
+ ./waf configure build install \
+ -j '$(JOBS)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --dist-target=mingw \
+
+ # It is not trivial to adjust the installation path for the DLL in the
+ # waf-based build system. Adjust it here. See aubio.mk.
+endef