209.13. love-11.5
Lua 2D game framework, and the runtime that opens a .love game
11.5-1 · Zlib · 1.9 SBU · 5.8 MiB, 10 files · 42_graphics, 103 of 189 · ports/core/game-libs/love
Homepage: https://love2d.org
Depends on: pkgconf, sdl2-compat, luajit, openal-soft, freetype2, libmodplug, libvorbis, libtheora, mpg123, libgme, zlib, librsvg.
Required by: no port names it.
Sources: love-11.5.tar.gz (2.8 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install love'
build.sh:
./configure --prefix=/usr --libdir=/usr/lib --disable-static \
--with-lua=luajit \
--with-luaversion=5.1 \
--enable-mpg123 \
--enable-gme
make
make DESTDIR=$PKG install
rm -f "$PKG/usr/share/pixmaps/love.svg"
rsvg-convert -w 256 -h 256 platform/unix/love.svg \
-o love.png
install -Dm644 love.png "$PKG/usr/share/icons/hicolor/256x256/apps/love.png"
rsvg-convert -w 64 -h 64 platform/unix/application-x-love-game.svg \
-o love-game.png
install -Dm644 love-game.png \
"$PKG/usr/share/icons/hicolor/64x64/mimetypes/application-x-love-game.png"
rm -f "$PKG/usr/share/applications/love.desktop"
cat > "$PKG/usr/share/applications/love.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=LÖVE
Comment=Run a game made with the LÖVE framework
Exec=love %f
Icon=love
Terminal=false
NoDisplay=true
StartupWMClass=love
MimeType=application/x-love-game;
Categories=Game;
DESKTOP
chmod 644 "$PKG/usr/share/applications/love.desktop"
Programs: love.
Libraries: liblove-11.5.so, liblove.so.
Directories: /usr/share/licenses/love.