updated readme and enabled flatpak builds

This commit is contained in:
Lynne Megido 2020-04-09 02:36:34 +10:00
parent e5fdd2d4aa
commit 0adf231d66
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
6 changed files with 7 additions and 10 deletions

1
.gitignore vendored
View file

@ -8,6 +8,7 @@ appimage/squashfs-root/
flatpak/repo/ flatpak/repo/
flatpak/files/ flatpak/files/
flatpak/export/ flatpak/export/
flatpak/*.flatpak
/game.love /game.love
/game.desktop.in /game.desktop.in
/game.svg /game.svg

View file

@ -1,5 +1,5 @@
love-linux-git love-linux-git
--- ===
## This is a fork! ## This is a fork!
This project was forked from [the original BitBucket repo](https://bitbucket.org/bartbes/love-linux-builder/), which hasn't been updated in some time. Currently, the Docker image provided by that repo fails to build, as the Mercurial version that it tries to use dies when connecting to bitbucket.org because it can't complete the SSLv3 handshake (which is a good thing). I've fixed this by updating the Dockerfile to use [Debian OldStable](https://wiki.debian.org/DebianOldStable) instead of [Debian Jessie](https://wiki.debian.org/LTS/Jessie). As of the time of writing, Debian OldStable is [Debian Stretch](https://wiki.debian.org/DebianStretch). Debian Stretch was originally released 3 years ago, and uses Linux kernel version 4.9, meaning that any Löve binaries created should be compatible with any Linux system that was updated within the last 3 or so years. This project was forked from [the original BitBucket repo](https://bitbucket.org/bartbes/love-linux-builder/), which hasn't been updated in some time. Currently, the Docker image provided by that repo fails to build, as the Mercurial version that it tries to use dies when connecting to bitbucket.org because it can't complete the SSLv3 handshake (which is a good thing). I've fixed this by updating the Dockerfile to use [Debian OldStable](https://wiki.debian.org/DebianOldStable) instead of [Debian Jessie](https://wiki.debian.org/LTS/Jessie). As of the time of writing, Debian OldStable is [Debian Stretch](https://wiki.debian.org/DebianStretch). Debian Stretch was originally released 3 years ago, and uses Linux kernel version 4.9, meaning that any Löve binaries created should be compatible with any Linux system that was updated within the last 3 or so years.
@ -15,6 +15,8 @@ LOVE_VERSION=11.3 # the löve version you want to use
docker run --rm -v $REPO_PATH:/build/love-linux-builder lynnesbian/love-linux-builder:$TARGET_ARCH $LOVE_VERSION docker run --rm -v $REPO_PATH:/build/love-linux-builder lynnesbian/love-linux-builder:$TARGET_ARCH $LOVE_VERSION
``` ```
If you want to build your game's `.love` file in the resulting builds, include `game.love` in the root of the repo. There's also some other files you should include (`game.desktop.in`, `game.svg`...) - you can learn about those files the [Getting Started][] document.
A list of available löve versions can be found [on the love2d wiki](https://love2d.org/wiki/Version_History). A list of available löve versions can be found [on the love2d wiki](https://love2d.org/wiki/Version_History).
## License ## License

View file

@ -1,7 +1,7 @@
FROM arm32v7/debian:jessie FROM arm32v7/debian:jessie
# Install all sdl, love (build) deps and love-linux-builder deps # Install all sdl, love (build) deps and love-linux-builder deps
RUN apt-get update && apt-get install -y build-essential cmake libibus-1.0-dev libasound2-dev libpulse-dev libfreetype6-dev libopenal-dev libmodplug-dev libvorbis-dev libtheora-dev libphysfs-dev libmpg123-dev squashfs-tools curl mercurial libfuse2 autotools-dev automake libtool pkg-config libdevil-dev RUN apt-get update && apt-get install -y build-essential cmake libibus-1.0-dev libasound2-dev libpulse-dev libfreetype6-dev libopenal-dev libmodplug-dev libvorbis-dev libtheora-dev libphysfs-dev libmpg123-dev squashfs-tools curl mercurial libfuse2 autotools-dev automake libtool pkg-config libdevil-dev luajit libsdl2-dev libopenal1 libluajit-5.1-dev flatpak
# install the new stuff # install the new stuff
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev

View file

@ -1,10 +1,7 @@
FROM i386/debian:jessie FROM i386/debian:jessie
# Install all sdl, love (build) deps and love-linux-builder deps # Install all sdl, love (build) deps and love-linux-builder deps
RUN apt-get update && apt-get install -y build-essential cmake libibus-1.0-dev libasound2-dev libpulse-dev libfreetype6-dev libopenal-dev libmodplug-dev libvorbis-dev libtheora-dev libphysfs-dev libmpg123-dev squashfs-tools curl mercurial libfuse2 autotools-dev automake libtool pkg-config libdevil-dev RUN apt-get update && apt-get install -y build-essential cmake libibus-1.0-dev libasound2-dev libpulse-dev libfreetype6-dev libopenal-dev libmodplug-dev libvorbis-dev libtheora-dev libphysfs-dev libmpg123-dev squashfs-tools curl mercurial libfuse2 autotools-dev automake libtool pkg-config libdevil-dev luajit libsdl2-dev libopenal1 libluajit-5.1-dev flatpak
# install the new stuff
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev
# Add the build script # Add the build script
ADD build.sh /build/ ADD build.sh /build/

View file

@ -1,7 +1,7 @@
FROM amd64/debian:oldstable FROM amd64/debian:oldstable
# Install all sdl, love (build) deps and love-linux-builder deps # Install all sdl, love (build) deps and love-linux-builder deps
RUN apt-get update && apt-get install -y build-essential cmake libibus-1.0-dev libasound2-dev libpulse-dev libfreetype6-dev libopenal-dev libmodplug-dev libvorbis-dev libtheora-dev libphysfs-dev libmpg123-dev squashfs-tools curl mercurial libfuse2 autotools-dev automake libtool pkg-config libdevil-dev RUN apt-get update && apt-get install -y build-essential cmake libibus-1.0-dev libasound2-dev libpulse-dev libfreetype6-dev libopenal-dev libmodplug-dev libvorbis-dev libtheora-dev libphysfs-dev libmpg123-dev squashfs-tools curl mercurial libfuse2 autotools-dev automake libtool pkg-config libdevil-dev luajit libsdl2-dev libopenal1 libluajit-5.1-dev flatpak
# install the new stuff # install the new stuff
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev

View file

@ -69,9 +69,6 @@ buildflatpak() {
./build.sh "${VERSION}" ./build.sh "${VERSION}"
msg "Flatpak is not supported at the moment (oops)"
msg " It does not build on this old version of debian"
popd popd
} }