Skip to content

Commit

Permalink
Prepare Timidity++ integration
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmojo committed Jun 5, 2020
1 parent 136dac7 commit 695d6b9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ tools/amigaMXextract
tools/extractpak

opendune.opk
opk/libpulse.so.0
opk/libjson-c.so.2
opk/libpulsecommon-5.0.so
opk/opendune
.vscode
opk2
.vscode
6 changes: 3 additions & 3 deletions build_rg350.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# With SDL2 instead of SDL

# Normal mode
./configure --with-pulse="0" --with-sdl="0" --with-sdl2="1" CC="/opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc" CFLAGS="-D_POSIX_C_SOURCE -D__GCW0__" CFLAGS_BUILD="-D_POSIX_C_SOURCE -D__GCW0__"
./configure --with-sdl2 --with-asound --without-oss --without-pulse --without-munt CC="/opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc" CFLAGS="-D_POSIX_C_SOURCE -D__GCW0__" CFLAGS_BUILD="-D_POSIX_C_SOURCE -D__GCW0__"

# Debug mode
#./configure --with-pulse="0" --with-sdl="0" --with-sdl2="1" CC="/opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc" CFLAGS="-D_POSIX_C_SOURCE -D__GCW0__ -D_DEBUG" CFLAGS_BUILD="-D_POSIX_C_SOURCE -D__GCW0__ -D_DEBUG"
#./configure --with-sdl2 --with-asound --without-oss --without-pulse --without-munt CC="/opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc" CFLAGS="-D_POSIX_C_SOURCE -D__GCW0__ -D_DEBUG" CFLAGS_BUILD="-D_POSIX_C_SOURCE -D__GCW0__ -D_DEBUG"

make all
cp objs/release/opendune opk
rm -f opendune.opk
mksquashfs opk opendune.opk

# lftp -e "cd /apps;put opendune.opk;quit" 10.1.1.2
lftp -e "cd /apps;put opendune.opk;quit" 10.1.1.2
2 changes: 1 addition & 1 deletion opk/default.gcw0.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=OpenDune
Comment=OpenDune for RG350
Exec=opendune
Exec=./opendune.sh
Terminal=false
Type=games
StartupNotify=true
Expand Down
11 changes: 11 additions & 0 deletions opk/opendune.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
cd `dirname $0`

#mkdir -p /usr/local/share/timidity
#cp ./timidity.cfg /usr/local/share/timidity

#./timidity -iA &
./opendune
#killall timidity

0 comments on commit 695d6b9

Please sign in to comment.