BSD Ports

devel/lua-lgi 0.9.2p1 OpenBSD

lua bindings to libraries using GObject-Introspection

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/lua

Description

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 ...."

In the other systems

SystemPortVersion
OpenBSDdevel/lua-lgi0.9.2p1
FreeBSDdevel/lua-lgi0.9.2_4
DragonFlydevel/lua-lgi0.9.2_3
MidnightBSDdevel/lua-lgi0.9.2_3

Install

Binary package:

pkg_add lua-lgi

From the ports tree:

cd /usr/ports/devel/lua-lgi && make install

Dependencies

Build dependencies 2
Run dependencies 2