diff options
Diffstat (limited to 'AppImageBuilder.yml')
-rw-r--r-- | AppImageBuilder.yml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml new file mode 100644 index 0000000..1ab2a56 --- /dev/null +++ b/AppImageBuilder.yml @@ -0,0 +1,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 |