-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathhowto
31 lines (23 loc) · 923 Bytes
/
howto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# get sdl-nacl, sdl_mixer-nacl, jumpnbump-nacl and nacl-sdk
# set $SDL_PREFIX (to some temporary location) and $NACL_SDK_ROOT
# Go to libmikmod dir
CC=$NACL_SDK_ROOT/toolchain/linux_x86/bin/nacl64-gcc ./configure --host=nacl64 --prefix=$SDL_PREFIX --enable-esd=no
make
make install
# Go to SDL dir
./autogen
CC=$NACL_SDK_ROOT/toolchain/linux_x86/bin/nacl64-gcc ./configure --host=nacl64 --disable-assembly --prefix=$SDL_PREFIX
make
make install
# Go to SDL_mixer dir
./autogen
CFLAGS=-I$SDL_PREFIX/include CC=$NACL_SDK_ROOT/toolchain/linux_x86/bin/nacl64-gcc ./configure --host=nacl64 --enable-shared=no \
--with-sdl-prefix=$SDL_PREFIX --enable-music-mod=yes --enable-music-mod-shared=no --enable-music-mp3=no --prefix=$SDL_PREFIX
make
make install
# Go to jumpnbump dir
make data
make install
python httpd.py
# In another tab, start the browser
google-chrome --enable-nacl http://localhost:5103/jumpnbump.html