gsound: support cross-compilation
Disables vala and introspection, making it less usable in general. It helps moving forward and fixing other packages, though.
This commit is contained in:
parent
a2aaaee3d9
commit
2892b0c60c
|
@ -9,9 +9,16 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa";
|
sha256 = "06l80xgykj7x1kqkjvcq06pwj2rmca458zvs053qc55x3sg06bfa";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
depsBuildBuild = [ pkg-config ];
|
||||||
nativeBuildInputs = [ pkg-config meson ninja gobject-introspection libtool vala ];
|
nativeBuildInputs = [ pkg-config meson ninja gobject-introspection libtool vala ];
|
||||||
buildInputs = [ glib libcanberra ];
|
buildInputs = [ glib libcanberra ];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
|
||||||
|
"-Denable_vala=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}"
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript {
|
updateScript = gnome.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
|
Loading…
Reference in a new issue