-Updated Tupfile, run.sh script

main
Harry van Haaren 2013-08-22 04:45:24 +01:00
parent e3fe30085f
commit 5f34e93b4d
4 changed files with 69 additions and 7 deletions

62
.ajsnapshot Normal file
View File

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<alsa>
<client name="System">
<port id="0" />
<port id="1" />
</client>
<client name="Midi Through">
<port id="0" />
</client>
<client name="Hammerfall DSP">
<port id="0" />
</client>
<client name="Akai APC40">
<port id="0" />
</client>
<client name="Client-128" />
<client name="jack_midi" />
</alsa>
<jack>
<client name="system">
<port name="capture_1">
<connection port="Luppp:master_in" />
</port>
<port name="capture_2" />
<port name="capture_3" />
<port name="capture_4" />
<port name="capture_5" />
<port name="capture_6" />
<port name="capture_7" />
<port name="capture_8" />
<port name="capture_9" />
<port name="capture_10" />
<port name="capture_11" />
<port name="capture_12" />
<port name="capture_13" />
<port name="capture_14" />
<port name="capture_15" />
<port name="capture_16" />
<port name="capture_17" />
<port name="capture_18" />
</client>
<client name="alsa_pcm">
<port name="Midi-Through/midi_capture_1" />
<port name="Hammerfall-DSP/midi_capture_1" />
</client>
<client name="Luppp">
<port name="master_left">
<connection port="system:playback_1" />
</port>
<port name="master_right">
<connection port="system:playback_2" />
</port>
<port name="apc_out">
<connection port="alsa_pcm:Akai-APC40/midi_playback_1" />
</port>
</client>
<client name="alsa_pcm">
<port name="Akai-APC40/midi_capture_1">
<connection port="Luppp:midi_in" />
</port>
</client>
</jack>

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ planning/*
*.o
.tup/*
/luppp

View File

@ -1,9 +1,9 @@
# Tup build file for Luppp
#INCLUDES +=
#LDFLAGS += `pkg-config --libs jack sndfile cairomm-1.0 ntk ntk_images`
INCLUDES += `pkg-config --cflags jack sndfile cairomm-1.0 ntk ntk_images`
LDFLAGS += `pkg-config --libs jack sndfile cairomm-1.0 ntk ntk_images`
: foreach src/*.cxx src/observer/*.cxx src/dsp/*.cxx src/controller/*.cxx |> g++ -Wall -c %f -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/ntk -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -o %o |> %B.o
: foreach src/*.cxx src/observer/*.cxx src/dsp/*.cxx src/controller/*.cxx |> g++ -Wall -c %f $(INCLUDES) -o %o |> %B.o
: *.o |> g++ %f -ljack -lpthread -lrt -lsndfile -lcairomm-1.0 -lsigc-2.0 -lntk -lntk_images -lntk -lcairo -o %o |> lup
: *.o |> g++ %f $(LDFLAGS) -o %o |> luppp

5
run.sh
View File

@ -1,7 +1,6 @@
#!/bin/bash
cd .build/
xterm -e "sleep 1 && aj-snapshot -r .ajsnapshot" &
#xterm -e "sleep 1 && aj-snapshot -r luppp5apc.ajs" &
./luppp
./luppp5