mate.libmatekbd: fix build

This commit is contained in:
Jan Tojnar 2019-03-25 23:21:01 +01:00
parent f3110db864
commit 6d2201aecf
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, libxklavier }:
{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gtk3, mate, libxklavier }:
stdenv.mkDerivation rec {
name = "libmatekbd-${version}";
@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "1l1zbphs4snswf4bkrwkk6gsmb44bdhymcfgaaspzbrcmw3y7hr1";
};
patches = [
# Fix build with glib 2.60 (TODO: remove after 1.22.0 update)
(fetchpatch {
url = https://github.com/mate-desktop/libmatekbd/commit/dc04e969dd61a2b1f82beae2d3c8ad105447812d.patch;
sha256 = "1ps6mbj6hrm9djn4riya049w2cb0dknghysny8pafmvpkaqvckrb";
})
];
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ gtk3 libxklavier ];