mate.libmatekbd: fix build
This commit is contained in:
parent
f3110db864
commit
6d2201aecf
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user