libgnomekbd: fix cross and build introspection data
they weren't being built before at all
This commit is contained in:
parent
da9a9a4404
commit
a52d95ac10
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome, gobject-introspection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgnomekbd";
|
||||
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
|
||||
intltool
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
glib
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
# Requires in libgnomekbd.pc
|
||||
@ -25,6 +27,11 @@ stdenv.mkDerivation rec {
|
||||
glib
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace libgnomekbd/Makefile.in \
|
||||
--replace "shell pkg-config" 'shell $(PKG_CONFIG)'
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
|
Loading…
Reference in New Issue
Block a user