summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarcell Meszaros2022-07-05 18:49:11 +0200
committerMarcell Meszaros2022-07-05 19:34:22 +0200
commit90001a6fc137a0287db3b994da0b8ebb041dcff6 (patch)
treeaec38e789775f13b62f2ae8a372d4d4103db6c1d /PKGBUILD
parent69e1e0500ada03c6879b6e7cb0058be648549d26 (diff)
downloadaur-love07.tar.gz
0.7.2-9: glu is only a makedepend + reenable check for it in configure
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d65e15becc3a..6cedb35b3cc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,12 +9,13 @@
pkgname=love07
pkgver=0.7.2
-pkgrel=8
+pkgrel=9
pkgdesc="An open-source 2D game engine using Lua scripting language (legacy 0.7.x version)"
arch=('i686' 'x86_64')
url="http://love2d.org/"
license=('zlib')
-depends=('devil' 'freetype2' 'hicolor-icon-theme' 'libmodplug' 'libvorbis' 'lua51' 'mpg123' 'openal' 'physfs' 'sdl' 'libgl' 'glu')
+depends=('devil' 'freetype2' 'hicolor-icon-theme' 'libmodplug' 'libvorbis' 'lua51' 'mpg123' 'openal' 'physfs' 'sdl' 'libgl')
+makedepends=('glu')
source=("https://github.com/love2d/love/releases/download/0.7.2/love-0.7.2-linux-src.tar.gz"
"https://raw.githubusercontent.com/love2d/love/0.7.2/license.txt"
"${pkgname}.svg::https://raw.githubusercontent.com/love2d/love/0.7.2/platform/unix/app.svg"
@@ -44,8 +45,11 @@ prepare() {
sed -i '70itypedef XID GLXContextID;' "src/modules/graphics/opengl/GLee.h"
echo
- echo "Editing 'configure.in': removing MNG dependency (not needed by 'devil')"
+ echo "Editing 'configure.in':"
+ echo "-- removing MNG dependency (not needed by 'devil')"
+ echo "-- reenabling check for GLU: needed during build so better let 'configure' verify it"
sed -e '/mng_initialize/d' \
+ -e '/gluOrtho2D/s/^#//' \
-i 'configure.in'
echo "Regenerating autoconf scripts after changing 'configure.in'..."