Skip to content

Instantly share code, notes, and snippets.

@Alwinfy
Last active July 17, 2019 01:47
Show Gist options
  • Save Alwinfy/2dfc31254be2e7d54a537ca4666286b5 to your computer and use it in GitHub Desktop.
Save Alwinfy/2dfc31254be2e7d54a537ca4666286b5 to your computer and use it in GitHub Desktop.
Install LÖVE 7.2, tested on Ubuntu 19.04
#!/bin/sh
set -e
sudo apt-get install -y curl make gcc libglvnd-dev libsdl1.2-dev libopenal-dev liblua5.1-0-dev libdevil-dev libmng-dev libtiff-dev libfreetype6-dev libphysfs-dev libmodplug-dev libmpg123-dev libvorbis-dev
cd $(mktemp -d)
curl -L https://bitbucket.org/rude/love/downloads/love-0.7.2-linux-src.tar.gz |tar zxvf -
cd love-HEAD
./configure --prefix=/usr/local --program-suffix=7.2
sed -i '38i#define GL_GLEXT_PROTOTYPES' src/modules/graphics/opengl/GLee.h
make -l 2.5
sudo make install
cd ..
rm -rf love-HEAD
echo "Finished successfully."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment