fork of https://bitbucket.org/bartbes/love-linux-builder updated to not not work
Find a file
2019-08-04 12:23:50 +00:00
appimage Set correct working directory when running appimage 2018-05-06 11:06:40 +02:00
docker Update docker image to debian jessie 2019-08-04 12:23:50 +00:00
flatpak Don't fail the flatpak build if the export directory doesn't already exist 2017-10-31 09:27:54 +01:00
snap Do full path replacements for executable and icon in desktop file 2017-09-07 15:22:55 +02:00
tarball Add license.txt to tarball if found 2017-09-07 15:34:08 +02:00
.hgignore Add flatpak script 2016-12-03 13:57:47 +01:00
Getting Started.md Add Getting Started, update readme 2018-02-18 14:59:41 +01:00
README.md Add Getting Started, update readme 2018-02-18 14:59:41 +01:00

The script in this git repository can be used (on a sufficiently old linux system) to extract LÓVE binaries, and turn them into a portable build in various different formats.

This project is split up into multiple parts, and each part is responsible for a different build. Note that the tarball build is used as a base for the other builds.

See Getting Started for more information on how to use these scripts.

tarball

tarball contains a build script that extracts the love version currently installed on the system together with its dependencies to form a portable build. It also creates a small wrapper script that does the correct search path manipulations to be able to run the build.

Lastly, it contains the icon and a stubbed desktop file.

snap

snap builds.. well, a snap. Instead of using fancy build tools that try to do everything for you, why not just do it manually?! Seriously though, you can still use snapcraft to build this, but at that point it just acts like a fancy mksquashfs, and an extra dependency at that.

NOTE: Due to nvidia driver issues I haven't been able to test these snaps yet. From what I can tell these issues have been fixed since the last time I tried. Let me know if you get them working so I can remove this note.

appimage

appimage builds AppImages, unsurprisingly. It uses binaries from AppImageKit, though you can build them yourself if you want to. And hey, this actually seems to work, too!

flatpak

flatpak is used to build flatpak "packages". It requires the flatpak command line tool. Of course flatpak has some kind of repo system, so you can't easily distribute a flatpak file. Useful.

docker

docker does not build docker images. Instead it builds a docker image so you can build portable packages yourself!

To build the container, you need to download the relevant SDL2 and LuaJIT source packages (and possibly update the references in the Dockerfile).

To use the container, run it as an application, mounting this repo as /build/love-linux-builder. You can optionally mount love source at /build/love, and if no source is provided it clones the repo and checks out the specified version. Note that the container requires exactly one argument: the version. This can be an arbitrary string, but for cloning to work it needs to be a tag, branch or commit.