Converted to autovala, so cmake is required.
on hiatus until Gnome can be more positive about the future of Vala https://mail.gnome.org/archives/vala-list/2016-September/msg00001.html
Install dependancies,
$ cd ~/Downloads
$ sudo apt-get install libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-net-dev
$ git clone https://github.com/sdl2-vapi/sdl2-vapi
$ cd sdl2-vapi
$ sudo cp ./*.{vapi,deps} /usr/share/vala/vapi/ -R --force
Now the application
$ cd ~/Applications
$ git clone git@github.com:darkoverlordofdata/shmupwarz-vala.git
$ cd shmupwarz-vala
$ mkdir install
$ cd install
$ cmake ..
$ make
$ sudo make install
For windows, I manually downloaded all the bits from https://www.libsdl.org/, and copied the dlls, libs, inludes, etc to the appropriate folder in C:\Program Files\Vala for Windows\local
I use vscode ren .vscode/tasks.windows.json .vscode/tasks.json ren .vscode/launch.windows.json .vscode/launch.json Use ctrl-b to build, f5 to run
- sdl2-mixer.vapi patched to play sound effect *.wav
- Use vscode ctrl-b to build, f5 to run
git clone git@github.com:darkoverlordofdata/shmupwarz-vala.git cd shmupwarz-vala npm install entitas-cli npm run entitas -- generate -p gs -t src/template rm -rf install mkdir install autovala clear autovala refresh sed -i 's/*vala_check_package: [Bb]osco//g' shmupwarz-vala.avprj autovala cmake cd install cmake .. make sudo make install