Merge #34584: lgi: Fix cairo bindings search path
This commit is contained in:
commit
cc0f942aec
|
@ -9,7 +9,7 @@
|
||||||
, pcre, oniguruma, gnulib, tre, glibc, sqlite, openssl, expat, cairo
|
, pcre, oniguruma, gnulib, tre, glibc, sqlite, openssl, expat, cairo
|
||||||
, perl, gtk2, python, glib, gobjectIntrospection, libevent, zlib, autoreconfHook
|
, perl, gtk2, python, glib, gobjectIntrospection, libevent, zlib, autoreconfHook
|
||||||
, mysql, postgresql, cyrus_sasl
|
, mysql, postgresql, cyrus_sasl
|
||||||
, fetchFromGitHub, libmpack, which
|
, fetchFromGitHub, libmpack, which, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -671,6 +671,14 @@ let
|
||||||
sed -i "s|/usr/local|$out|" lgi/Makefile
|
sed -i "s|/usr/local|$out|" lgi/Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "lgi-find-cairo-through-typelib.patch";
|
||||||
|
url = "https://github.com/psychon/lgi/commit/46a163d9925e7877faf8a4f73996a20d7cf9202a.patch";
|
||||||
|
sha256 = "0gfvvbri9kyzhvq3bvdbj2l6mwvlz040dk4mrd5m9gz79f7w109c";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "GObject-introspection based dynamic Lua binding to GObject based libraries";
|
description = "GObject-introspection based dynamic Lua binding to GObject based libraries";
|
||||||
homepage = https://github.com/pavouk/lgi;
|
homepage = https://github.com/pavouk/lgi;
|
||||||
|
|
Loading…
Reference in New Issue