LGI is gobject-introspection based dynamic Lua binding to GObject based libraries. It allows using GObject-based libraries directly from Lua. You will need to manually load the pthread shared libary setting "LD_PRELOAD=/usr/lib/libpthread.so" in the environment if you encounter any errors like the following: "lua52: error loading module 'lgi.corelgilua52' from file ...."
WWW: https://github.com/pavouk/lgi