summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcell Meszaros2022-07-05 18:49:11 +0200
committerMarcell Meszaros2022-07-05 19:34:22 +0200
commit90001a6fc137a0287db3b994da0b8ebb041dcff6 (patch)
treeaec38e789775f13b62f2ae8a372d4d4103db6c1d
parent69e1e0500ada03c6879b6e7cb0058be648549d26 (diff)
downloadaur-love07.tar.gz
0.7.2-9: glu is only a makedepend + reenable check for it in configure
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 77058758c194..d21b65d1d3f4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = love07
pkgdesc = An open-source 2D game engine using Lua scripting language (legacy 0.7.x version)
pkgver = 0.7.2
- pkgrel = 8
+ pkgrel = 9
url = http://love2d.org/
arch = i686
arch = x86_64
license = zlib
+ makedepends = glu
depends = devil
depends = freetype2
depends = hicolor-icon-theme
@@ -17,7 +18,6 @@ pkgbase = love07
depends = physfs
depends = sdl
depends = libgl
- depends = glu
source = https://github.com/love2d/love/releases/download/0.7.2/love-0.7.2-linux-src.tar.gz
source = https://raw.githubusercontent.com/love2d/love/0.7.2/license.txt
source = love07.svg::https://raw.githubusercontent.com/love2d/love/0.7.2/platform/unix/app.svg
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'..."