blob: 1ab2a560fa46351dd63c1d9f19cce85b295a967b (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
script:
# Remove any previous build
- rm -rf $TARGET_APPDIR | true
- mkdir -p $TARGET_APPDIR/usr/share/icons/hicolor/512x512/apps
- mkdir -p $TARGET_APPDIR/usr/share/turbo
- cp -r fonts sound sprites turbo.scm turbo.go $TARGET_APPDIR/usr/share/turbo/
- cp turbo-icon.png $TARGET_APPDIR/usr/share/icons/hicolor/512x512/apps/
- wget http://ftp.gnu.org/gnu/guile-opengl/guile-opengl-0.2.0.tar.gz
- wget https://files.dthompson.us/releases/guile-sdl2/guile-sdl2-0.8.0.tar.gz
- wget https://files.dthompson.us/releases/chickadee/chickadee-0.10.0.tar.gz
- tar -xf guile-opengl-0.2.0.tar.gz
- tar -xf guile-sdl2-0.8.0.tar.gz
- tar -xf chickadee-0.10.0.tar.gz
- cd guile-opengl-0.2.0; ./configure --prefix=$(dirname $(pwd))/AppDir/usr; make; make install
- cd ../guile-sdl2-0.8.0; ./configure --prefix=$(dirname $(pwd))/AppDir/usr; make; make install
- cd ../chickadee-0.10.0; ./configure --prefix=$(dirname $(pwd))/AppDir/usr; make; make install
- cd ..
AppDir:
path: /home/gene/Projects/turbo-racer/AppDir
app_info:
id: net.etenil.Turboracer
name: turbo-racer-3000
icon: turbo-icon
version: latest
exec: usr/bin/guile-3.0
exec_args: --no-debug --no-auto-compile $APPDIR/usr/share/turbo/turbo.scm
runtime:
env:
LD_LIBRARY_PATH: $APPDIR/usr/lib/x86_64-linux-gnu
GUILE_LOAD_PATH: $APPDIR/usr/share/guile/site/3.0:$APPDIR/usr/share/guile/3.0
GUILE_LOAD_COMPILED_PATH: $APPDIR/usr/lib/guile/3.0/site-ccache:$APPDIR/usr/lib/x86_64-linux-gnu/guile/3.0/ccache
CHICKADEE_DATADIR: $APPDIR/usr/share/chickadee
TURBO_DIR: $APPDIR/usr/share/turbo
apt:
arch: amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://ftp.uk.debian.org/debian/ bookworm main non-free-firmware
- sourceline: deb http://security.debian.org/debian-security bookworm-security
main non-free-firmware
- sourceline: deb http://ftp.uk.debian.org/debian/ bookworm-updates main non-free-firmware
include:
- dash
- guile-3.0
- guile-3.0-dev
- libfreetype-dev
- libmpg123-dev
- libopenal-dev
- libreadline-dev
- libvorbis-dev
- libsdl2-dev
- libsdl2-ttf-dev
- libsdl2-mixer-dev
- libsdl2-image-dev
- libturbojpeg0-dev
files:
include: []
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
test:
fedora-30:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
debian-stable:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
archlinux-latest:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
centos-7:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
ubuntu-xenial:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
AppImage:
arch: x86_64
update-information: guess
|