Compare commits
No commits in common. "e5fdd2d4aaf007eece063b12972844ea31f6d02c" and "911319576aa1e62286c58cbb85debe0b0356ac1c" have entirely different histories.
e5fdd2d4aa
...
911319576a
8 changed files with 51 additions and 31 deletions
24
.gitignore
vendored
24
.gitignore
vendored
|
@ -1,15 +1,9 @@
|
||||||
snap/love-prepared/
|
^snap/love-prepared/
|
||||||
snap/love_*.snap
|
^snap/love_.*\.snap$
|
||||||
tarball/love-*.tar.gz
|
^tarball/love-.*\.tar\.gz$
|
||||||
appimage/love-prepared/
|
^appimage/love-prepared/
|
||||||
appimage/*.AppImage
|
^appimage/.*\.AppImage$
|
||||||
appimage/AppRun*
|
^appimage/AppRun$
|
||||||
appimage/squashfs-root/
|
^flatpak/repo/
|
||||||
flatpak/repo/
|
^flatpak/files/
|
||||||
flatpak/files/
|
^flatpak/export/
|
||||||
flatpak/export/
|
|
||||||
/game.love
|
|
||||||
/game.desktop.in
|
|
||||||
/game.svg
|
|
||||||
/game.rdns
|
|
||||||
/game.version
|
|
||||||
|
|
|
@ -120,7 +120,6 @@ pre-installed.
|
||||||
The AppImage and Flatpak scripts provide customisation points so you can build
|
The AppImage and Flatpak scripts provide customisation points so you can build
|
||||||
distributions of your game instead. All these files need to go in the root
|
distributions of your game instead. All these files need to go in the root
|
||||||
directory of the repo.
|
directory of the repo.
|
||||||
> Note from lynnesbian: This means that if you cloned this repo to `/home/you/love-linux-builder`, then the files below should *also* be in `/home/you/love-linux-builder`.
|
|
||||||
|
|
||||||
Both AppImage and Flatpak:
|
Both AppImage and Flatpak:
|
||||||
|
|
||||||
|
@ -143,8 +142,6 @@ Flatpak only:
|
||||||
|
|
||||||
- `game.version`: A version number to display in the application metadata.
|
- `game.version`: A version number to display in the application metadata.
|
||||||
|
|
||||||
> Note from lynnesbian: These files are **required** to include your game in the Flatpak - without them, the generated Flatpak will just execute löve without running your game, as if you had executed `love` instead of `love game.love`!
|
|
||||||
|
|
||||||
For Snap users there is no inbuilt customisation at the moment. You can modify `snap/snap.yaml`.
|
For Snap users there is no inbuilt customisation at the moment. You can modify `snap/snap.yaml`.
|
||||||
|
|
||||||
[building portable game distributions]: #markdown-header-building-portable-game-distributions
|
[building portable game distributions]: #markdown-header-building-portable-game-distributions
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -eo >/dev/null
|
set -eo >/dev/null
|
||||||
|
|
||||||
CURRENT_APPIMAGEKIT_RELEASE=12
|
CURRENT_APPIMAGEKIT_RELEASE=9
|
||||||
ARCH="$(uname -m)"
|
ARCH="$(uname -m)"
|
||||||
|
|
||||||
if [[ $# -lt 1 ]]; then
|
if [[ $# -lt 1 ]]; then
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
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 libgl1-mesa-glx libgles2-mesa-dev libxrandr-dev libdbus-1-dev libxi-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libibus-1.0-dev libasound2-dev libpulse-dev libwayland-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-2.0-0 libopenal1
|
||||||
|
|
||||||
# install the new stuff
|
# Now build sdl
|
||||||
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev
|
# ADD SDL2-2.0.10.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/SDL2-2.0.10 && ./configure --prefix=/usr && make all install
|
||||||
|
|
||||||
|
# And build luajit
|
||||||
|
# ADD LuaJIT-2.0.5.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/LuaJIT-2.0.5 && make PREFIX=/usr all install
|
||||||
|
|
||||||
|
# And build a modern openal soft
|
||||||
|
# ADD openal-soft-1.19.1.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/openal-soft-openal-soft-1.19.1/build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make all install
|
||||||
|
|
||||||
# Add the build script
|
# Add the build script
|
||||||
ADD build.sh /build/
|
ADD build.sh /build/
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
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 libgl1-mesa-glx libgles2-mesa-dev libxrandr-dev libdbus-1-dev libxi-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libibus-1.0-dev libasound2-dev libpulse-dev libwayland-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-2.0-0 libopenal1
|
||||||
|
|
||||||
# install the new stuff
|
# Now build sdl
|
||||||
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev
|
# ADD SDL2-2.0.10.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/SDL2-2.0.10 && ./configure --prefix=/usr && make all install
|
||||||
|
|
||||||
|
# And build luajit
|
||||||
|
# ADD LuaJIT-2.0.5.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/LuaJIT-2.0.5 && make PREFIX=/usr all install
|
||||||
|
|
||||||
|
# And build a modern openal soft
|
||||||
|
# ADD openal-soft-1.19.1.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/openal-soft-openal-soft-1.19.1/build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make all install
|
||||||
|
|
||||||
# Add the build script
|
# Add the build script
|
||||||
ADD build.sh /build/
|
ADD build.sh /build/
|
||||||
|
|
|
@ -1,10 +1,19 @@
|
||||||
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 libgl1-mesa-glx libgles2-mesa-dev libxrandr-dev libdbus-1-dev libxi-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libibus-1.0-dev libasound2-dev libpulse-dev libwayland-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-2.0-0 libopenal1
|
||||||
|
|
||||||
# install the new stuff
|
# Now build sdl
|
||||||
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev
|
# ADD SDL2-2.0.10.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/SDL2-2.0.10 && ./configure --prefix=/usr && make all install
|
||||||
|
|
||||||
|
# And build luajit
|
||||||
|
# ADD LuaJIT-2.0.5.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/LuaJIT-2.0.5 && make PREFIX=/usr all install
|
||||||
|
|
||||||
|
# And build a modern openal soft
|
||||||
|
# ADD openal-soft-1.19.1.tar.gz /tmp/
|
||||||
|
# RUN cd /tmp/openal-soft-openal-soft-1.19.1/build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make all install
|
||||||
|
|
||||||
# Add the build script
|
# Add the build script
|
||||||
ADD build.sh /build/
|
ADD build.sh /build/
|
||||||
|
|
|
@ -14,6 +14,9 @@ msg() {
|
||||||
printf "\033[1m· %s\033[0m\n" "$1"
|
printf "\033[1m· %s\033[0m\n" "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# print the linux version being used
|
||||||
|
msg "Building with `lsb_release -ds`"
|
||||||
|
|
||||||
buildlove() {
|
buildlove() {
|
||||||
pushd ../love
|
pushd ../love
|
||||||
|
|
||||||
|
@ -33,7 +36,7 @@ buildlove() {
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
|
||||||
msg "Running make"
|
msg "Running make"
|
||||||
make -j`nproc` all install
|
make all install
|
||||||
|
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,8 +84,7 @@ main()
|
||||||
if test -f "license.txt"; then
|
if test -f "license.txt"; then
|
||||||
cp "license.txt" "$DEST"
|
cp "license.txt" "$DEST"
|
||||||
else
|
else
|
||||||
echo "No license.txt file found, downloading from GitHub"
|
echo "No license.txt file found, skipping"
|
||||||
curl "https://raw.githubusercontent.com/love2d/love/${VERSION}/license.txt" -o "$DEST/license.txt"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue