gem-config: Add missing dependencies for gio and gtk2

This commit is contained in:
midchildan 2018-11-14 12:12:30 +09:00 committed by Jan Tojnar
parent 7ee05feb4e
commit 6fa5ea6e6b
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -23,6 +23,7 @@
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
, cairo, re2, rake, gobjectIntrospection, gdk_pixbuf, zeromq, graphicsmagick, libcxx, file
, libselinux ? null, libsepol ? null
}@args:
let
@ -156,7 +157,7 @@ in
gio2 = attrs: {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 pcre gobjectIntrospection ];
buildInputs = [ gtk2 pcre gobjectIntrospection ] ++ lib.optionals stdenv.isLinux [ utillinux libselinux libsepol ];
};
gitlab-markup = attrs: { meta.priority = 1; };
@ -167,7 +168,7 @@ in
};
gtk2 = attrs: {
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig ] ++ lib.optionals stdenv.isLinux [ utillinux libselinux libsepol ];
buildInputs = [ gtk2 pcre xorg.libpthreadstubs xorg.libXdmcp];
# CFLAGS must be set for this gem to detect gdkkeysyms.h correctly
CFLAGS = "-I${gtk2.dev}/include/gtk-2.0 -I/non-existent-path";