atk: port to meson
This commit is contained in:
parent
6f69e3c987
commit
a5bc51fa2a
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, perl, glib, libintlOrEmpty, gobjectIntrospection, gnome3 }:
|
{ stdenv, fetchurl, meson, ninja, gettext, pkgconfig, glib, libintlOrEmpty, gobjectIntrospection, gnome3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "atk";
|
pname = "atk";
|
||||||
@ -12,19 +12,27 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1z7laf6qwv5zsqcnj222dm5f43c6f3liil0cgx4s4s62xjk1wfnd";
|
sha256 = "1z7laf6qwv5zsqcnj222dm5f43c6f3liil0cgx4s4s62xjk1wfnd";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
patches = [
|
||||||
|
# darwin linker arguments https://bugzilla.gnome.org/show_bug.cgi?id=794326
|
||||||
|
(fetchurl {
|
||||||
|
url = https://bugzilla.gnome.org/attachment.cgi?id=369680;
|
||||||
|
sha256 = "11v8fhpsbapa04ifb2268cga398vfk1nq8i628441632zjz1diwg";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = libintlOrEmpty;
|
buildInputs = libintlOrEmpty;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig perl gobjectIntrospection ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext gobjectIntrospection ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
# Required by atk.pc
|
# Required by atk.pc
|
||||||
glib
|
glib
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user