11 echo " The lgi check failed."
12 echo " The Lua GObject introspection package is just a runtime dependency, so it is not"
13 echo " necessary for building awesome. However, awesome needs it to run."
14 echo " Add AWESOME_IGNORE_LGI=1 to your environment to continue."
17 if [ "x$AWESOME_IGNORE_LGI" = "x1" ]
24 # Check if we have lgi
25 lua
-e 'require("lgi")' || die
27 # Check the version number
28 lua
-e 'if tonumber(string.match(require("lgi.version"), "(%d%.%d)")) <= 0.5 then error("lgi too old, need at least version 0.6.1") end' || die
30 # Check for the needed gi files
31 lua
-e 'l = require("lgi") assert(l.cairo, l.Pango, l.PangoCairo)' || die