gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Merged in freebsd-tweaks (pull request #25)
develop
2019-07-19, Gary Kramlich
0db134500cad
Merged in freebsd-tweaks (pull request #25)
Freebsd only has lgi for lua 5.2, but it's .pc file is named lua-5.2.pc so this checks that one too
Approved-by: Elliott Sales de Andrade
There
are
a
few
notes
about
building
on
OSX
.
First
off
,
building
has
*
ONLY
*
been
tested
against
homebrew
.
If
you
want
to
support
fink
or
macports
,
please
let
me
know
and
I
will
merge
your
pull
request
.
Both
the
Lua
and
Python
loaders
are
currently
broken
as
we
can
't build the
gobject
-
introspection
targets
.
Currently
the
only
way
to
build
is
with
:
```
export
PKG_CONFIG_PATH
=
"/usr/local/lib/pkgconfig:$(brew --prefix libffi)/lib/pkgconfig"
meson
-
Dlua
=
false
-
Dpython
=
false
-
Dgobject
-
introspection
=
false
build
cd
build
ninja
```
Lua
===
For
the
Lua
loader
to
work
,
you
need
to
install
lgi
from
luarocks
either
systemwide
or
to
a
virtual
environment
created
by
LuaDist
,
vert
,
or
something
along
those
lines
.
When
you
're building lgi against homebrew you'
ll
have
to
set
the
PKG_CONFIG_PATH
environment
variable
since
homebrew
does
not
install
libffi
systemwide
.
This
is
easily
done
via
:
export
PKG_CONFIG_PATH
=$
(
brew
--
prefix
libffi
)
/
lib
/
pkgconfig
and
then
running
"luarocks install lgi"
PYTHON
======
If
you
're using homebrew, you need to install pygobject3 with
brew
install
pygobject3
--
with
-
python3